##// END OF EJS Templates
Fix python 2 compatibility
Fix python 2 compatibility

File last commit:

r1329:16056ee07511
r1333:ac63616fef28 v3.0.0b2
Show More
setup.py
86 lines | 2.7 KiB | text/x-python | PythonLexer
Juan C. Espinoza
Add license, update setup and changelog
r1329 # Copyright (c) 2012-2020 Jicamarca Radio Observatory
# All rights reserved.
#
# Distributed under the terms of the BSD 3-clause license.
"""schainpy is an open source library to read, write and process radar data
Miguel Valdez
Merge with branch schain_julia_drifts from rev. 803 to 995....
r568
Juan C. Espinoza
Add license, update setup and changelog
r1329 Signal Chain is a radar data processing library wich includes modules to read,
and write different files formats, besides modules to process and visualize the
data.
"""
Miguel Valdez
Merge with branch schain_julia_drifts from rev. 803 to 995....
r568
José Chávez
pyqt4 verification
r1102 import os
Miguel Valdez
setup.py is using setuptools since now
r656 from setuptools import setup, Extension
José Chávez
setup actualizado para no necesitar numpy previamente
r1026 from setuptools.command.build_ext import build_ext as _build_ext
Juan C. Espinoza
Update setup and README
r1000 from schainpy import __version__
José Chávez
templates y setup actualizados
r1078
Juan C. Espinoza
Add license, update setup and changelog
r1329 DOCLINES = __doc__.split("\n")
José Chávez
setup actualizado para no necesitar numpy previamente
r1026 class build_ext(_build_ext):
def finalize_options(self):
_build_ext.finalize_options(self)
# Prevent numpy from thinking it is still in its setup process:
__builtins__.__NUMPY_SETUP__ = False
import numpy
self.include_dirs.append(numpy.get_include())
Juan C. Espinoza
Update noise C extension to properly work with python 3
r1286 setup(
name = "schainpy",
version = __version__,
Juan C. Espinoza
Add license, update setup and changelog
r1329 description = DOCLINES[0],
long_description = "\n".join(DOCLINES[2:]),
url = "https://github.com/JRO-Peru/schain",
author = "Jicamarca Radio Observatory",
author_email = "jro-developers@igp.gob.pe",
license="BSD-3-Clause",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
],
Juan C. Espinoza
Update noise C extension to properly work with python 3
r1286 packages = {
'schainpy',
'schainpy.model',
'schainpy.model.data',
'schainpy.model.graphics',
'schainpy.model.io',
'schainpy.model.proc',
'schainpy.model.utils',
'schainpy.utils',
'schainpy.gui',
'schainpy.cli',
},
package_data = {'': ['schain.conf.template'],
'schainpy.files': ['*.oga']
},
include_package_data = False,
scripts = ['schainpy/gui/schainGUI'],
entry_points = {
'console_scripts': [
'schain = schainpy.cli.cli:main',
],
},
cmdclass = {'build_ext': build_ext},
ext_modules=[
Extension("schainpy.model.data._noise", ["schainc/_noise.c"]),
],
setup_requires = ["numpy"],
install_requires = [
"scipy",
"h5py",
"matplotlib",
"pyzmq",
"fuzzywuzzy",
"click",
],
Juan C. Espinoza
Move schaincli to schainpy.cli
r1113 )