/
setup.py
52 lines (48 loc) · 1.52 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
import os
import runpy
from setuptools import setup, find_packages
# Get version
cwd = os.path.abspath(os.path.dirname(__file__))
versionpath = os.path.join(cwd, 'fpsim', 'version.py')
version = runpy.run_path(versionpath)['__version__']
# Get the documentation
with open(os.path.join(cwd, 'README.rst'), "r") as f:
long_description = f.read()
CLASSIFIERS = [
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.9",
]
setup(
name="fpsim",
version=version,
author="Michelle O'Brien, Annie Valente, Cliff Kerr, Sam Buxton, Daniel Klein, Marita Zimmermann",
author_email="info@fpsim.org",
description="FPsim: Family Planning Simulator",
long_description=long_description,
long_description_content_type="text/x-rst",
url='http://fpsim.org',
keywords=["family planning", "women's health", "agent-based model", "simulation"],
platforms=["OS Independent"],
classifiers=CLASSIFIERS,
packages=find_packages(),
include_package_data=True,
install_requires=[
'numpy',
'numba',
'scipy',
'pandas>=1.3',
'sciris>=2.0.3',
'matplotlib>=3.5.0',
'seaborn>=0.9',
'optuna',
'plotnine',
'pyarrow',
'pyyaml',
],
)