forked from hplgit/odespy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (23 loc) · 888 Bytes
/
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
#!/usr/bin/env python
from os.path import join
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_package, top_path)
config.set_options(ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True)
config.add_subpackage('odespy')
config.get_version(join('odespy', 'version.py'))
return config
if __name__ == '__main__':
from numpy.distutils.core import setup
#setup(**configuration(top_path='').todict())
setup(
name='odespy',
url='...',
download_url='...',
license='GPL',
author='Liwei Wang and Hans Petter Langtangen',
author_email='[email protected]',
configuration=configuration)