Skip to content

Commit

Permalink
remove workaround for rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed May 26, 2020
1 parent 36456bd commit ef40ac3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
4 changes: 0 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
import sys
sys.path.insert(0, os.path.abspath('../'))

import mock
MOCK_MODULES = ['poismf.poismf_c_wrapper']
sys.modules.update((mod_name, mock.MagicMock()) for mod_name in MOCK_MODULES)

# -- Project information -----------------------------------------------------

project = 'poismf'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["cython", "setuptools", "wheel", "numpy", "pandas>=0.24", "findblas"]
requires = ["cython", "setuptools", "wheel", "numpy", "pandas>=0.24", "findblas>=0.1.10"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy
scipy
cython
findblas>=0.1.3.4
findblas>=0.1.10
pandas>=0.24
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ def build_extensions(self):
for e in self.extensions:
e.extra_compile_args += ['-O2', '-fopenmp', '-march=native', '-std=c99']
e.extra_link_args += ['-fopenmp']
# e.extra_compile_args += ['-O2', '-std=c99', "-fsanitize=address", "-static-libasan", "-ggdb"]
# e.extra_link_args += ["-fsanitize=address", "-static-libasan"]
from_rtd = os.environ.get('READTHEDOCS') == 'True'
if not from_rtd:
build_ext_with_blas.build_extensions(self)
build_ext_with_blas.build_extensions(self)


setup(
Expand Down

0 comments on commit ef40ac3

Please sign in to comment.