-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
64 lines (57 loc) · 1.9 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from setuptools import Extension, find_packages, setup
# from Cython.Build import cythonize
def readme():
with open("README.md") as f:
return f.read()
# cythonize awesomeness
# ext_modules = ["cana/cutils.pyx", "cana/canalization/cboolean_canalization.pyx"]
extensions = [
Extension("cana.cutils", ["cana/cutils.c"]),
Extension(
"cana.canalization.cboolean_canalization",
["cana/canalization/cboolean_canalization.c"],
),
]
__package__ = "cana"
__description__ = "This package implements a series of methods used to study control, canalization and redundancy in Boolean networks."
__version__ = "1.0.0"
setup(
name=__package__,
version=__version__,
description=__description__,
long_description=__description__,
long_description_content_type="text/plain",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
],
keywords="boolean networks canalization redundancy dynamical systems computational biology",
url="http://github.com/rionbr/CANA",
author="Alex Gates & Rion Brattig Correia",
author_email="rionbr@gmail.com",
license="MIT",
packages=find_packages(),
package_data={
"datasets": [
"cana.datasets/*.txt",
"cana.datasets/bns/*.cnet",
"cana.datasets/cell_collective/*.txt",
],
},
install_requires=[
"numpy",
"scipy",
"networkx",
"pandas",
"matplotlib",
"schematodes>=1.0.0",
# 'Cython'
],
include_package_data=True,
zip_safe=False,
# ext_modules=cythonize(ext_modules, include_path=[''], compiler_directives={'language_level': '3'}) # cython awesomeness
ext_modules=extensions,
)