-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (42 loc) · 1.5 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
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# get the version
exec(open('simupy/version.py').read())
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
long_description = long_description.replace(
"https://simupy.readthedocs.io/en/latest/",
"https://simupy.readthedocs.io/en/simupy-{}/".format(
'.'.join(__version__.split('.')[:3])
)
)
setup(
name='simupy',
version=__version__,
description='A framework for modeling and simulating dynamical systems.',
long_description=long_description,
packages=find_packages(),
author='Benjamin Margolis',
author_email='[email protected]',
url='https://github.com/simupy/simupy',
license="BSD 2-clause \"Simplified\" License",
python_requires='>=3',
install_requires=['numpy>=1.11.3', 'scipy>=0.18.1'],
extras_require={
'symbolic': ['sympy>=1.0'],
'doc': ['sphinx>=1.6.3', 'sympy>=1.0'],
'examples': ['matplotlib>=2.0', 'sympy>=1.0'],
},
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Mathematics',
],
)