Install nose-exclude

This commit is contained in:
Matteo Giantomassi 2017-12-28 15:35:24 +01:00
parent de2e6628ee
commit 8d7846e8a5
2 changed files with 2 additions and 29 deletions

View File

@ -41,7 +41,7 @@ install:
#- pip install scikit-image #- pip install scikit-image
#- conda install ipython jupyter nbformat #- conda install ipython jupyter nbformat
- pip install ipython jupyter nbformat - pip install ipython jupyter nbformat
- pip install nose - pip install nose nose-exclude
#- conda install -c conda-forge ipywidgets #- conda install -c conda-forge ipywidgets
#- pip install ipywidgets #- pip install ipywidgets

View File

@ -16,32 +16,9 @@ if sys.version[0:3] < '2.7':
sys.stderr.write("abipy requires Python version 2.7 or above. Exiting.") sys.stderr.write("abipy requires Python version 2.7 or above. Exiting.")
sys.exit(1) sys.exit(1)
#with_cython = True
#try:
# from Cython.Distutils import build_ext
#except ImportError:
# with_cython = False
#cmdclass = {} #cmdclass = {}
ext_modules = [] ext_modules = []
# Disable cython for the time being.
#with_cexts = False
#if with_cexts:
# with_cython = False
# if with_cython:
# import numpy as np
# #define_macros = [("CYTHON_TRACE", "1")]
# ext_modules += [
# Extension("abipy.extensions.klib", ["abipy/extensions/klib.pyx"], include_dirs=[np.get_include()])
# ]
# cmdclass.update({'build_ext': build_ext})
#
# else:
# ext_modules += [
# Extension("abipy.extensions.klib", ["abipy/extensions/klib.c"], include_dirs=[np.get_include()])
# ]
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Useful globals and utility functions # Useful globals and utility functions
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -194,11 +171,6 @@ install_requires = [
"seaborn", "seaborn",
] ]
#if with_cython:
# install_requires += [
# "cython",
# ]
with_wxpython = False with_wxpython = False
if with_wxpython: if with_wxpython:
install_requires += [ install_requires += [
@ -238,6 +210,7 @@ setup_args = dict(
ext_modules=ext_modules, ext_modules=ext_modules,
) )
if __name__ == "__main__": if __name__ == "__main__":
setup(**setup_args) setup(**setup_args)