-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
58 lines (56 loc) · 2.03 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
# -*- coding: utf-8 -*-
u"""rsopt setup script
:copyright: Copyright (c) 2020 RadiaSoft LLC. All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from pykern import pksetup
pksetup.setup(
name='rsopt',
author='RadiaSoft LLC',
author_email='[email protected]',
description='A Python library with tools for optimization problems',
install_requires=[
'pykern',
'libEnsemble',
'numpy',
'nlopt',
'mpmath',
'jinja2>=3.0.1'
],
extras_require={
'nersc': ['rsbeams@git+https://github.com/radiasoft/rsbeams',
'lume-genesis@git+https://github.com/cchall/lume-genesis',
# Inherited from sirepo
# sirepo binary build fails so it needs to be installed with --no-deps
'numconv',
'flask',
'user-agents',
'aenum',
'SQLAlchemy',
'dnspython'
],
'full': [
'rsbeams@git+https://github.com/radiasoft/rsbeams',
'sirepo@git+https://github.com/radiasoft/sirepo',
'lume-genesis@git+https://github.com/cchall/lume-genesis',
'DFO-LS', # If using dfols optimizer
'pandas', # Needed for some post-processing utilities
'xopt', # If using MOBO algorithm for optimization
'pymoo', # Used by some MOBO examples
'deap' # Used for NSGA-II algorithm implementation
]
},
license='http://www.apache.org/licenses/LICENSE-2.0.html',
url='https://github.com/radiasoft/rsopt',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python',
'Topic :: Utilities',
],
)