-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (42 loc) · 1.38 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
46
47
48
49
50
"""Taranis ...
"""
classifiers = """\
Development Status :: alpha
Environment :: Console
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: European Union Public Licence - EUPL v.1.1
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 taranis
'''
doclines = __doc__.split("\n")
if __name__ == '__main__':
from numpy.distutils.core import setup
setup(name = "taranis",
version = 0,
description = doclines[0],
long_description = "\n".join(doclines[2:]),
author = "Joao Teixeira",
author_email = "[email protected]",
url = "NA",
packages = ['taranis'],
license = 'EUPL',
platforms = ["any"],
ext_modules = [],
data_files=[('taranis/cmap', glob('taranis/cmap/*')),
('taranis/colormaps', glob('taranis/colormaps/*')),
('taranis/', glob('taranis/*.so'))],
classifiers = filter(None, classifiers.split("\n")),
cmdclass={'install': my_install},
)