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