Closed yurivict closed 2 years ago
1) have you tried installing the develop version? 2) We are currently not actively supporting FreeBSD, partially due to lack of testing systems
The GitHub version 0.1.25 builds fine, but the PyPI version 0.1.25 fails.
There's some difference.
I'm encountering the same issue. I tried installing on Ubuntu 20.04 and on macOS 12.2.
Should be fixed in 0.1.26, I added a MANIFEST.in file which adds the missing pyx files into the source dist.
Now it fails like this:
===> Configuring for py38-pyEDFlib-0.1.26
Compiling pyedflib/_extensions/_pyedflib.pyx because it changed.
[1/1] Cythonizing pyedflib/_extensions/_pyedflib.pyx
/usr/local/lib/python3.8/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /wrkdirs/usr/ports/misc/py-pyEDFlib/work-py38/pyedflib-0.1.26/pyedflib/_extensions/_pyedflib.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 294, in <module>
version=get_version_info()[0],
File "setup.py", line 133, in get_version_info
version = importlib.import_module('pyedflib.version', 'pyedflib/version.py')
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/wrkdirs/usr/ports/misc/py-pyEDFlib/work-py38/pyedflib-0.1.26/pyedflib/__init__.py", line 11, in <module>
from ._extensions._pyedflib import *
ModuleNotFoundError: No module named 'pyedflib._extensions._pyedflib'
*** Error code 1
Sorry, but it should be fixed now in 0.1.28, could you test again?
0.1.28 builds fine, thanks.
FreeBSD 13