##// END OF EJS Templates
add missing module schainpy.utils to setup
Juan C. Espinoza -
r1111:0da27bb869b2
parent child
Show More
@@ -1,68 +1,69
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 'schainpy.utils',
34 35 'schainpy.gui',
35 36 'schainpy.gui.figures',
36 37 'schainpy.gui.viewcontroller',
37 38 'schainpy.gui.viewer',
38 39 'schainpy.gui.viewer.windows'},
39 40 ext_package='schainpy',
40 41 py_modules=[''],
41 42 package_data={'': ['schain.conf.template'],
42 43 'schainpy.gui.figures': ['*.png', '*.jpg'],
43 44 },
44 45 include_package_data=False,
45 46 scripts=['schainpy/gui/schainGUI'],
46 47 ext_modules=[
47 48 Extension("cSchain", ["schainpy/model/proc/extensions.c"]
48 49 )],
49 50 entry_points={
50 51 'console_scripts': [
51 52 'schain = schaincli.cli:main',
52 53 ],
53 54 },
54 55 cmdclass={'build_ext': build_ext},
55 56 setup_requires=["numpy >= 1.11.2"],
56 57 install_requires=[
57 58 "scipy >= 0.14.0",
58 59 "h5py >= 2.2.1",
59 60 "matplotlib >= 1.4.2",
60 61 "pyfits >= 3.4",
61 62 "paramiko >= 2.1.2",
62 63 "paho-mqtt >= 1.2",
63 64 "zmq",
64 65 "fuzzywuzzy",
65 66 "click",
66 67 "python-Levenshtein"
67 68 ],
68 69 )
General Comments 0
You need to be logged in to leave comments. Login now