-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
45 lines (36 loc) · 1.2 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
import setuptools
subpackage = 'umfpack'
version = '5.1.0'
def configuration(parent_package = '', top_path = None):
from numpy.distutils.misc_util import Configuration
from numpy.distutils.system_info import get_info, dict_append
config = Configuration( None, parent_package, top_path,
namespace_packages = ['scikits'] )
config.set_options(
ignore_setup_xxx_py = True,
assume_default_configuration = True,
delegate_options_to_subpackages = True,
quiet = True,
)
config.add_subpackage('scikits.umfpack')
config.add_data_files('scikits/__init__.py')
return config
def setup_package():
from numpy.distutils.core import setup
setup(
name = 'scikits.' + subpackage,
version = version,
maintainer = "Robert Cimrman",
maintainer_email = "[email protected]",
description = "Python interface to the UMFPACK sparse linear solver.",
url = "http://www.scipy.org",
license = 'BSD',
configuration = configuration,
install_requires = [
'numpy',
'scipy',
],
)
return
if __name__ == '__main__':
setup_package()