##// END OF EJS Templates
actualizado mensaje para pyqt4
José Chávez -
r1108:f1fd0c041c38
parent child
Show More
@@ -1,79 +1,79
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 from schainpy.utils import log
11 from schainpy.utils import log
12
12
13
13
14 class build_ext(_build_ext):
14 class build_ext(_build_ext):
15 def finalize_options(self):
15 def finalize_options(self):
16 _build_ext.finalize_options(self)
16 _build_ext.finalize_options(self)
17 # Prevent numpy from thinking it is still in its setup process:
17 # Prevent numpy from thinking it is still in its setup process:
18 __builtins__.__NUMPY_SETUP__ = False
18 __builtins__.__NUMPY_SETUP__ = False
19 import numpy
19 import numpy
20 self.include_dirs.append(numpy.get_include())
20 self.include_dirs.append(numpy.get_include())
21
21
22
22
23 try:
23 try:
24 from PyQt4 import QtCore, QtGui
24 from PyQt4 import QtCore, QtGui
25 from PyQt4.QtGui import QApplication
25 from PyQt4.QtGui import QApplication
26 except:
26 except:
27 log.warning(
27 log.warning(
28 'You should install PtQt4 module in order to run the GUI. See the README.')
28 'You should install PyQt4 module in order to run the GUI. See the README.')
29
29
30
30
31 setup(name="schainpy",
31 setup(name="schainpy",
32 version=__version__,
32 version=__version__,
33 description="Python tools to read, write and process Jicamarca data",
33 description="Python tools to read, write and process Jicamarca data",
34 author="Miguel Urco",
34 author="Miguel Urco",
35 author_email="miguel.urco@jro.igp.gob.pe",
35 author_email="miguel.urco@jro.igp.gob.pe",
36 url="http://jro.igp.gob.pe",
36 url="http://jro.igp.gob.pe",
37 packages={'schainpy',
37 packages={'schainpy',
38 'schainpy.model',
38 'schainpy.model',
39 'schainpy.model.data',
39 'schainpy.model.data',
40 'schainpy.model.graphics',
40 'schainpy.model.graphics',
41 'schainpy.model.io',
41 'schainpy.model.io',
42 'schainpy.model.proc',
42 'schainpy.model.proc',
43 'schainpy.model.serializer',
43 'schainpy.model.serializer',
44 'schainpy.model.utils',
44 'schainpy.model.utils',
45 'schainpy.gui',
45 'schainpy.gui',
46 'schainpy.gui.figures',
46 'schainpy.gui.figures',
47 'schainpy.gui.viewcontroller',
47 'schainpy.gui.viewcontroller',
48 'schainpy.gui.viewer',
48 'schainpy.gui.viewer',
49 'schainpy.gui.viewer.windows'},
49 'schainpy.gui.viewer.windows'},
50 ext_package='schainpy',
50 ext_package='schainpy',
51 py_modules=[''],
51 py_modules=[''],
52 package_data={'': ['schain.conf.template'],
52 package_data={'': ['schain.conf.template'],
53 'schainpy.gui.figures': ['*.png', '*.jpg'],
53 'schainpy.gui.figures': ['*.png', '*.jpg'],
54 },
54 },
55 include_package_data=False,
55 include_package_data=False,
56 scripts=['schainpy/gui/schainGUI'],
56 scripts=['schainpy/gui/schainGUI'],
57 ext_modules=[
57 ext_modules=[
58 Extension("cSchain", ["schainpy/model/proc/extensions.c"]
58 Extension("cSchain", ["schainpy/model/proc/extensions.c"]
59 )],
59 )],
60 entry_points={
60 entry_points={
61 'console_scripts': [
61 'console_scripts': [
62 'schain = schaincli.cli:main',
62 'schain = schaincli.cli:main',
63 ],
63 ],
64 },
64 },
65 cmdclass={'build_ext': build_ext},
65 cmdclass={'build_ext': build_ext},
66 setup_requires=["numpy >= 1.11.2"],
66 setup_requires=["numpy >= 1.11.2"],
67 install_requires=[
67 install_requires=[
68 "scipy >= 0.14.0",
68 "scipy >= 0.14.0",
69 "h5py >= 2.2.1",
69 "h5py >= 2.2.1",
70 "matplotlib >= 1.4.2",
70 "matplotlib >= 1.4.2",
71 "pyfits >= 3.4",
71 "pyfits >= 3.4",
72 "paramiko >= 2.1.2",
72 "paramiko >= 2.1.2",
73 "paho-mqtt >= 1.2",
73 "paho-mqtt >= 1.2",
74 "zmq",
74 "zmq",
75 "fuzzywuzzy",
75 "fuzzywuzzy",
76 "click",
76 "click",
77 "python-Levenshtein"
77 "python-Levenshtein"
78 ],
78 ],
79 )
79 )
General Comments 0
You need to be logged in to leave comments. Login now