-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (56 loc) · 2.11 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
import re
import setuptools
import subprocess
import sys
import os
# set dirs
name = 'biosimulators_smoldyn'
dirname = os.path.dirname(__file__)
# set descriptions
with open("README.md", "r") as readme:
description = readme.read()
# Patch the relative links to absolute URLs that will work on PyPI.
description2 = re.sub(
r']\(([\w/.-]+\.png)\)',
r'](https://github.com/biosimulators/Biosimulators_smoldyn/raw/main/\1)',
description)
long_description = re.sub(
r']\(([\w/.-]+)\)',
r'](https://github.com/biosimulators/Biosimulators_smoldyn/blob/main/\1)',
description2)
# get version
with open(os.path.join(dirname, 'biosimulators_smoldyn', '_VERSION'), 'r') as version_file:
__version__ = version_file.read().strip()
# install package
setuptools.setup(
name=name,
version=__version__,
description=("BioSimulators-compliant command-line interface to the Smoldyn simulation program <https://github.com/ssandrews/Smoldyn>."),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/biosimulators/Biosimulators_Smoldynå",
download_url="https://github.com/biosimulators/Biosimulators_Smoldyn",
author='Center for Reproducible Biomedical Modeling',
author_email="[email protected]",
license="MIT",
keywords=['BioSimulators', 'systems biology', 'computational biology', 'mathematical model',
'kinetic model', 'simulation', 'stochastic', 'spatial', 'SED-ML', 'COMBINE', 'OMEX'],
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
install_requires=[
"smoldyn>=2.73",
"biosimulators-utils[logging]>=0.1.188",
"simulariumio>=1.11.0",
"pkg-utils"
],
entry_points={
'console_scripts': [
'biosimulators-amici = biosimulators_smoldyn.__main__:main',
],
},
)