Skip to content

Commit

Permalink
new build process
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBok committed Feb 28, 2024
1 parent 6f26555 commit 996a611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
pip list
echo "Running pip install ${file}"
pip install ${file}
python -m pip install ${file}
# if we can import this, all should be gucci
python -c "import copulae"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import sys
from pathlib import Path

import numpy as np
from setuptools import Extension, find_packages, setup

IS_DEV_MODE = False
Expand Down Expand Up @@ -64,6 +63,7 @@ def build_ext_modules():
include_dirs = []
with open(_fp + ext) as f:
if re.search(r'^cimport numpy as c?np$', f.read(), re.MULTILINE) is not None:
import numpy as np
include_dirs.append(np.get_include())

extensions.append(Extension(
Expand Down

0 comments on commit 996a611

Please sign in to comment.