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