-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
55 lines (50 loc) · 2.07 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
import glob
import os
from setuptools import setup, find_packages, Extension
cloneroot = os.path.dirname(__file__)
with open('requirements.txt', 'r') as f:
requirements = [line.strip() for line in f.readlines() if not line.startswith("#")]
setup(
name = "covid19sim",
version = "0.0.0.dev0",
url = "https://github.com/mila-iqia/COVI-AgentSim",
description = "Simulation of COVID-19 spread.",
long_description = "Simulation of COVID-19 spread.",
classifiers = [
"Development Status :: 1 - Planning",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
zip_safe = False,
python_requires = '>=3.7.4',
install_requires = requirements,
extras_require = {
"ctt": [
"ctt @ git+https://github.com/mila-iqia/COVI-ML@bunchacrunch#egg=ctt",
],
"ctt-tf": [
"ctt[tensorflow] @ git+https://github.com/mila-iqia/COVI-ML@master#egg=ctt"
],
},
packages = find_packages("src"),
package_dir = {'': 'src'},
ext_modules = [
Extension("covid19sim.native._native",
glob.glob(os.path.join(cloneroot, "src", "covid19sim", "native", "**", "*.c"),
recursive=True),
include_dirs=[os.path.join(cloneroot, "src", "covid19sim", "native")],
define_macros=[("PY_SSIZE_T_CLEAN", None),],
),
],
)