Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel", "cython", "numpy < 2.0"]
build-backend = "setuptools.build_meta"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from setuptools import setup, find_packages, Extension
import sys
from pathlib import Path
import numpy

# with open('README.rst') as readme_file:
# readme = readme_file.read()
Expand All @@ -30,12 +29,14 @@ def readme():

try:
from Cython.Build import cythonize
import numpy
extensions = cythonize([
Extension("fseq2.idr_2_0_3.inv_cdf",
["fseq2/idr_2_0_3/inv_cdf.pyx", ],
include_dirs=[numpy.get_include()]),
])
except ImportError:
import numpy
extensions = [
Extension("fseq2.idr_2_0_3.inv_cdf",
["fseq2/idr_2_0_3/inv_cdf.c", ],
Expand Down