mirror of https://github.com/abinit/abipy.git
Install nose-exclude
This commit is contained in:
parent
de2e6628ee
commit
8d7846e8a5
|
@ -41,7 +41,7 @@ install:
|
|||
#- pip install scikit-image
|
||||
#- conda install ipython jupyter nbformat
|
||||
- pip install ipython jupyter nbformat
|
||||
- pip install nose
|
||||
- pip install nose nose-exclude
|
||||
#- conda install -c conda-forge ipywidgets
|
||||
#- pip install ipywidgets
|
||||
|
||||
|
|
29
setup.py
29
setup.py
|
@ -16,32 +16,9 @@ if sys.version[0:3] < '2.7':
|
|||
sys.stderr.write("abipy requires Python version 2.7 or above. Exiting.")
|
||||
sys.exit(1)
|
||||
|
||||
#with_cython = True
|
||||
#try:
|
||||
# from Cython.Distutils import build_ext
|
||||
#except ImportError:
|
||||
# with_cython = False
|
||||
|
||||
#cmdclass = {}
|
||||
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
|
||||
#-------------------------------------------------------------------------------
|
||||
|
@ -194,11 +171,6 @@ install_requires = [
|
|||
"seaborn",
|
||||
]
|
||||
|
||||
#if with_cython:
|
||||
# install_requires += [
|
||||
# "cython",
|
||||
# ]
|
||||
|
||||
with_wxpython = False
|
||||
if with_wxpython:
|
||||
install_requires += [
|
||||
|
@ -238,6 +210,7 @@ setup_args = dict(
|
|||
ext_modules=ext_modules,
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
setup(**setup_args)
|
||||
|
||||
|
|
Loading…
Reference in New Issue