-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
40 lines (30 loc) · 1.16 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
#!/usr/local/bin/python
import os,sys
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('pyOpt',parent_package,top_path)
# need: auto add_subpackage from source availability
config.add_subpackage('pyALHSO')
config.add_subpackage('pyALPSO')
config.add_subpackage('pyCOBYLA')
config.add_subpackage('pyCONMIN')
config.add_subpackage('pyFSQP')
config.add_subpackage('pyGCMMA')
config.add_subpackage('pyKSOPT')
config.add_subpackage('pyMIDACO')
config.add_subpackage('pyMMA')
config.add_subpackage('pyMMFD')
#config.add_subpackage('pyNEWSUMT')
config.add_subpackage('pyNLPQL')
#config.add_subpackage('pyNSGA2')
config.add_subpackage('pyPSQP')
config.add_subpackage('pySLSQP')
config.add_subpackage('pySNOPT')
config.add_subpackage('pySOLVOPT')
config.add_subpackage('pyIPOPT')
#config.add_subpackage('pyVMACO')
config.add_data_files('LICENSE','README')
return config
if __name__ == '__main__':
from numpy.distutils.core import setup
setup(**configuration(top_path='').todict())