-
Notifications
You must be signed in to change notification settings - Fork 46
/
setup.py
executable file
·44 lines (32 loc) · 1.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
#!/usr/bin/env python
VERSION = '0.9'
import os
import sys
from glob import glob
import numpy as np
def configuration(parent_package='', top_path=None):
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
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('supreme')
return config
if __name__ == '__main__':
from numpy.distutils.core import setup
setup(
name = 'supreme',
version = VERSION,
configuration = configuration,
package_data = {
'': ['*.txt', '*.png', '*.jpg', '*.pgm'],
},
author = "Stefan van der Walt",
author_email = "<stefan.no-spam(at)mentat.za.net>",
description = "SUper REsolution MEthods",
url = "http://mentat.za.net",
license = "BSD3",
)