-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (43 loc) · 1.46 KB
/
setup.py
File metadata and controls
52 lines (43 loc) · 1.46 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
46
47
48
49
50
51
'''
wrftools ...
'''
classifiers = '''
Development Status :: alpha
Environment :: Console
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: GNU
Operating System :: OS Independent
Programming Language :: Python
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries :: Python Modules
'''
from numpy.distutils.core import Extension
from numpy.distutils.command.install import install
from glob import glob
class my_install(install):
def run(self):
install.run(self)
print '''
enjoy wrftools
'''
doclines = __doc__.split("\n")
if __name__ == '__main__':
from numpy.distutils.core import setup
setup(name='wrftools',
version=0,
description=doclines[0],
long_description="\n".join(doclines[2:]),
author='Joao Teixeira',
author_email='jcmt87@gmail.com',
url='NA',
packages=['wrftools'],
license='GNU',
platforms=['any'],
ext_modules=[],
data_files=[('wrftools/cmap', glob('wrftools/cmap/*')),
('wrftools/colormaps', glob('wrftools/colormaps/*')),
('wrftools/', glob('wrftools/*.so'))],
classifiers = filter(None, classifiers.split("\n")),
cmdclass={'install': my_install},
)