forked from bmcage/odes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (37 loc) · 1.19 KB
/
Copy pathsetup.py
File metadata and controls
45 lines (37 loc) · 1.19 KB
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
#! /usr/bin/env python
"""
Odes is a scikit toolkit for scipy to add some extra ode solvers.
At present it provides dae solvers you can use, extending the capabilities
offered in scipy.integrade.ode.
LICENSE: the license of odes is the same as scipy, new BSD.
"""
import os
import sys
import setuptools
from common import *
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_package, top_path,
license = LICENSE,
download_url = DOWNLOAD_URL,
long_description = LONG_DESCRIPTION,
namespace_packages=['scikits'])
config.add_subpackage(DISTNAME)
config.add_data_files('scikits/__init__.py')
return config
def setup_package():
from numpy.distutils.core import setup
setup(name=DISTNAME, packages=['scikits'],
version = VERSION,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
description = DESCRIPTION,
url = URL,
license = LICENSE,
configuration = configuration,
install_requires = 'scipy',
zip_safe = False
)
return
if __name__ == '__main__':
setup_package()