@@ -1,64 +1,63 | |||
|
1 | 1 | ''' |
|
2 | 2 | Created on Jul 16, 2014 |
|
3 | 3 | |
|
4 | 4 | @author: Miguel Urco |
|
5 | 5 | ''' |
|
6 | 6 | |
|
7 | 7 | import os |
|
8 | 8 | from setuptools import setup, Extension |
|
9 | 9 | from setuptools.command.build_ext import build_ext as _build_ext |
|
10 | 10 | from schainpy import __version__ |
|
11 | 11 | |
|
12 | 12 | class build_ext(_build_ext): |
|
13 | 13 | def finalize_options(self): |
|
14 | 14 | _build_ext.finalize_options(self) |
|
15 | 15 | # Prevent numpy from thinking it is still in its setup process: |
|
16 | 16 | __builtins__.__NUMPY_SETUP__ = False |
|
17 | 17 | import numpy |
|
18 | 18 | self.include_dirs.append(numpy.get_include()) |
|
19 | 19 | |
|
20 | 20 | setup(name = "schainpy", |
|
21 | 21 | version = __version__, |
|
22 | 22 | description = "Python tools to read, write and process Jicamarca data", |
|
23 | 23 | author = "Miguel Urco", |
|
24 | 24 | author_email = "miguel.urco@jro.igp.gob.pe", |
|
25 | 25 | url = "http://jro.igp.gob.pe", |
|
26 | 26 | packages = {'schainpy', |
|
27 | 27 | 'schainpy.model', |
|
28 | 28 | 'schainpy.model.data', |
|
29 | 29 | 'schainpy.model.graphics', |
|
30 | 30 | 'schainpy.model.io', |
|
31 | 31 | 'schainpy.model.proc', |
|
32 | 32 | 'schainpy.model.serializer', |
|
33 | 33 | 'schainpy.model.utils', |
|
34 | 34 | 'schainpy.utils', |
|
35 | 35 | 'schainpy.gui', |
|
36 | 36 | 'schainpy.gui.figures', |
|
37 | 37 | 'schainpy.gui.viewcontroller', |
|
38 | 38 | 'schainpy.gui.viewer', |
|
39 | 39 | 'schainpy.gui.viewer.windows', |
|
40 | 40 | 'schainpy.cli'}, |
|
41 | 41 | ext_package = 'schainpy', |
|
42 | 42 | package_data = {'': ['schain.conf.template'], |
|
43 | 43 | 'schainpy.gui.figures': ['*.png', '*.jpg'], |
|
44 | 44 | 'schainpy.files': ['*.oga'] |
|
45 | 45 | }, |
|
46 | 46 | include_package_data = False, |
|
47 | 47 | scripts = ['schainpy/gui/schainGUI'], |
|
48 | 48 | entry_points = { |
|
49 | 49 | 'console_scripts': [ |
|
50 | 50 | 'schain = schainpy.cli.cli:main', |
|
51 | 51 | ], |
|
52 | 52 | }, |
|
53 | 53 | cmdclass = {'build_ext': build_ext}, |
|
54 | 54 | setup_requires = ["numpy >= 1.11.2"], |
|
55 | 55 | install_requires = [ |
|
56 |
"scipy |
|
|
57 |
"h5py |
|
|
58 |
"matplotlib |
|
|
59 | "zmq", | |
|
56 | "scipy", | |
|
57 | "h5py", | |
|
58 | "matplotlib", | |
|
59 | "pyzmq", | |
|
60 | 60 | "fuzzywuzzy", |
|
61 | 61 | "click", |
|
62 | "python-Levenshtein" | |
|
63 | 62 | ], |
|
64 | 63 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now