@@ -104,5 +104,5 ENV/ | |||||
104 | *.png |
|
104 | *.png | |
105 | *.pyc |
|
105 | *.pyc | |
106 | schainpy/scripts |
|
106 | schainpy/scripts | |
107 |
|
107 | .vscode | ||
108 | schaingui/node_modules No newline at end of file |
|
108 | schaingui/node_modules |
@@ -32,9 +32,7 class Remote(Thread): | |||||
32 | None |
|
32 | None | |
33 |
|
33 | |||
34 | Written by: |
|
34 | Written by: | |
35 |
|
||||
36 |
"Miguel Urco":mailto:miguel.urco@jro.igp.gob.pe |
|
35 | "Miguel Urco":mailto:miguel.urco@jro.igp.gob.pe Jun. 03, 2015 | |
37 |
|
||||
38 | """ |
|
36 | """ | |
39 |
|
37 | |||
40 | server = None |
|
38 | server = None | |
@@ -584,8 +582,6 class SendToServer(ProcessingUnit): | |||||
584 | self.isConfig = False |
|
582 | self.isConfig = False | |
585 | self.clientObj = None |
|
583 | self.clientObj = None | |
586 |
|
584 | |||
587 |
|
||||
588 |
|
||||
589 | def setup(self, server, username, password, remotefolder, localfolder, ext='.png', period=60, protocol='ftp', **kwargs): |
|
585 | def setup(self, server, username, password, remotefolder, localfolder, ext='.png', period=60, protocol='ftp', **kwargs): | |
590 |
|
586 | |||
591 | self.clientObj = None |
|
587 | self.clientObj = None |
@@ -3,10 +3,19 Created on Jul 16, 2014 | |||||
3 |
|
3 | |||
4 | @author: Miguel Urco |
|
4 | @author: Miguel Urco | |
5 | ''' |
|
5 | ''' | |
6 | import numpy |
|
|||
7 | from setuptools import setup, Extension |
|
6 | from setuptools import setup, Extension | |
|
7 | from setuptools.command.build_ext import build_ext as _build_ext | |||
8 | from schainpy import __version__ |
|
8 | from schainpy import __version__ | |
9 |
|
9 | |||
|
10 | class build_ext(_build_ext): | |||
|
11 | def finalize_options(self): | |||
|
12 | _build_ext.finalize_options(self) | |||
|
13 | # Prevent numpy from thinking it is still in its setup process: | |||
|
14 | __builtins__.__NUMPY_SETUP__ = False | |||
|
15 | import numpy | |||
|
16 | self.include_dirs.append(numpy.get_include()) | |||
|
17 | ||||
|
18 | ||||
10 | setup(name="schainpy", |
|
19 | setup(name="schainpy", | |
11 | version=__version__, |
|
20 | version=__version__, | |
12 | description="Python tools to read, write and process Jicamarca data", |
|
21 | description="Python tools to read, write and process Jicamarca data", | |
@@ -34,14 +43,16 setup(name="schainpy", | |||||
34 | include_package_data=False, |
|
43 | include_package_data=False, | |
35 | scripts =['schainpy/gui/schainGUI', |
|
44 | scripts =['schainpy/gui/schainGUI', | |
36 | 'schainpy/scripts/schain'], |
|
45 | 'schainpy/scripts/schain'], | |
37 | ext_modules=[Extension("cSchain", ["schainpy/model/proc/extensions.c"], include_dirs=[numpy.get_include()])], |
|
46 | ext_modules=[ | |
|
47 | Extension("cSchain", ["schainpy/model/proc/extensions.c"] | |||
|
48 | )], | |||
|
49 | cmdclass={'build_ext':build_ext}, | |||
|
50 | setup_requires=["numpy >= 1.11.2"], | |||
38 | install_requires=[ |
|
51 | install_requires=[ | |
39 | "scipy >= 0.14.0", |
|
52 | "scipy >= 0.14.0", | |
40 | "h5py >= 2.2.1", |
|
53 | "h5py >= 2.2.1", | |
41 | "matplotlib >= 1.4.2", |
|
54 | "matplotlib >= 1.4.2", | |
42 | "pyfits >= 3.4", |
|
55 | "pyfits >= 3.4", | |
43 | "numpy >= 1.11.2", |
|
|||
44 | "paramiko >= 2.1.2", |
|
|||
45 | "paho-mqtt >= 1.2", |
|
56 | "paho-mqtt >= 1.2", | |
46 | "zmq", |
|
57 | "zmq", | |
47 | ], |
|
58 | ], |
General Comments 0
You need to be logged in to leave comments.
Login now