forked from biosimulators/Biosimulators_simulator_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (44 loc) · 1.49 KB
/
setup.py
File metadata and controls
47 lines (44 loc) · 1.49 KB
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
import setuptools
try:
import pkg_utils
except ImportError:
import subprocess
import sys
subprocess.check_call(
[sys.executable, "-m", "pip", "install", "pkg_utils"])
import pkg_utils
import os
name = '<my_simulator>'
dirname = os.path.dirname(__file__)
# get package metadata
md = pkg_utils.get_package_metadata(dirname, name)
# install package
setuptools.setup(
name=name,
version=md.version,
description=("BioSimulations-compliant command-line interface to "
"the <MySimulator> simulation program <https://url.for.my.simulator>."),
long_description=md.long_description,
url="https://github.com/<organization>/<repository>",
download_url="https://github.com/<organization>/<repository>",
author='<Authors of MySimulator>',
author_email="<authors@url.for.my.simulator>",
license="<License, e.g., MIT>",
keywords='<space separated list of key words>',
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
install_requires=md.install_requires,
extras_require=md.extras_require,
tests_require=md.tests_require,
dependency_links=md.dependency_links,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
entry_points={
'console_scripts': [
'<my-simulator> = <my_simulator>.__main__:main',
],
},
)