Skip to content

Commit

Permalink
Cython Temp Fix (#261)
Browse files Browse the repository at this point in the history
* Version bump and adding manifest file to ensure requirements.txt gets included in build

* Beta version

* Temporarily removing Cython
  • Loading branch information
ericspod authored Feb 21, 2022
1 parent 29082e9 commit ab64cd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

[build-system]
requires = ["setuptools", "wheel", "cython"]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "ExeTera"

dependencies = ["numpy", "pandas", "h5py", "numba", "cython"]
dependencies = ["numpy", "pandas", "h5py", "numba"]
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ numpy
pandas
h5py
numba<0.54
cython

8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages
from pkg_resources import parse_requirements
from Cython.Build import cythonize
#from Cython.Build import cythonize

from os import path
this_directory = path.abspath(path.dirname(__file__))
Expand All @@ -15,8 +15,8 @@
with open(path.join(this_directory, "requirements.txt")) as o:
requirements = [str(r) for r in parse_requirements(o.read())]

pyxfiles = ['ops.pyx']
pyx_full_path = [path.join(this_directory, 'exetera', '_libs', pyx) for pyx in pyxfiles]
#pyxfiles = ['ops.pyx']
#pyx_full_path = [path.join(this_directory, 'exetera', '_libs', pyx) for pyx in pyxfiles]

setup(
name='exetera',
Expand All @@ -30,7 +30,7 @@
license='http://www.apache.org/licenses/LICENSE-2.0',
packages=find_packages(),
scripts=['exetera/bin/exetera'],
ext_modules = cythonize(pyx_full_path),
#ext_modules = cythonize(pyx_full_path),
python_requires='>=3.7',
install_requires=requirements
)

0 comments on commit ab64cd2

Please sign in to comment.