-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
74 lines (64 loc) · 2.47 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
65
66
67
68
69
70
71
72
73
74
from setuptools import find_packages, setup
import os
import sys
dir_setup = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(dir_setup, 'beluga', 'release.py')) as f:
exec(f.read())
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with open('requirements_dev.txt') as f:
requirements_dev = f.read().splitlines()
long_description = '''beluga is a general purpose indirect trajectory optimization framework.'''
modules = ['beluga.continuation',
'beluga.numeric',
'beluga.numeric.bvp_solvers',
'beluga.numeric.compilation',
'beluga.numeric.data_classes',
'beluga.numeric.ivp_solvers',
'beluga.numeric.numerical_derivatives',
'beluga.symbolic',
'beluga.symbolic.data_classes',
'beluga.symbolic.differential_geometry',
'beluga.symbolic.special_functions',
'beluga.utils']
# tests = ['beluga.bvp_solvers.tests',
# 'beluga.ivp_solvers.tests',
# 'beluga.optimlib.tests']
tests = []
dir_setup = os.path.dirname(os.path.realpath(__file__))
setup(name="beluga",
version=__version__,
description="A general purpose indirect trajectory optimization framework.",
long_description=long_description,
author="Sean Nolan",
author_email='[email protected]',
platforms=["any"], # or more specific, e.g. "win32", "cygwin", "osx"
python_requires='>3.7',
license="MIT",
url="https://github.com/Rapid-Design-of-Systems-Laboratory/beluga",
py_modules=['beluga'],
packages=['beluga'] + modules + tests,
# scripts=['bin/beluga'],
entry_points={
'console_scripts': [
'beluga = beluga.__main__:main'
]
},
install_requires=requirements,
extras_require={'dev': requirements_dev},
include_package_data=True,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics'
]
)