-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (41 loc) · 1.5 KB
/
Copy pathsetup.py
File metadata and controls
46 lines (41 loc) · 1.5 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
import setuptools
__packagename__ = 'pyfoomb'
def get_version():
import os
import re
VERSIONFILE = os.path.join(__packagename__, '__init__.py')
initfile_lines = open(VERSIONFILE, 'rt').readlines()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
for line in initfile_lines:
mo = re.search(VSRE, line, re.M)
if mo:
return mo.group(1)
raise RuntimeError('Unable to find version string in %s.' % (VERSIONFILE,))
__version__ = get_version()
setuptools.setup(name = __packagename__,
packages = setuptools.find_packages(exclude=['examples', '*test*']),
version=__version__,
zip_safe=False,
description='Package for handling systems of ordinary differential equations (ODEs) with discontinuities. Relies on assimulo package for ODE integration and pygmo package for optimization.',
author='Johannes Hemmerich',
author_email='hemmerich@outlook.com',
url='https://github.com/MicroPhen/pyFOOMB',
license='MIT',
classifiers= [
'Programming Language :: Python :: 3 :: Only',
'Operating System :: OS Independent',
'Intended Audience :: Developers'
],
python_requires='>=3.7',
install_requires=[
'numpy',
'scipy',
'pandas>=0.24',
'openpyxl',
'joblib',
'matplotlib',
'seaborn',
'assimulo',
'psutil',
]
)