forked from biopython/biopython
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (36 loc) · 1.06 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import numpy as np
from Cython.Build import cythonize
from setuptools import Extension, setup
def read_md(file):
with open(file) as fin:
return fin.read()
PACKAGES = [
"kmbio",
"kmbio.PDB",
"kmbio.PDB.core",
"kmbio.PDB.io",
"kmbio.PDB.parsers",
"kmbio.PDB.tools",
"kmbio.PDB.tools.QCPSuperimposer",
"kmbio.SVDSuperimposer",
]
EXTENSIONS = [
Extension(
"kmbio.PDB.tools.QCPSuperimposer.qcprotmodule",
["kmbio/PDB/tools/QCPSuperimposer/qcprotmodule.c"],
include_dirs=[np.get_include()],
)
] + cythonize([Extension("*", ["kmbio/PDB/parsers/*.pyx"])])
setup(
name="kmbio",
version="2.1.1",
author="The Biopython Contributors + KimLab",
author_email="[email protected]",
url="https://github.com/kimlaborg/kmbio",
description="Freely available tools for computational molecular biology.",
long_description=read_md("README.md"),
download_url="https://github.com/kimlaborg/kmbortio/release/",
packages=PACKAGES,
ext_modules=EXTENSIONS,
package_data={},
)