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