Closed hubutui closed 4 years ago
Try python setup.py build --inplace
if you want to test locally.
I got error "option --inplace not recognized":
NOTE: generated sources not available, need Cython to build
building with Cython 0.29.14
Compiling fastrlock/rlock.pyx because it changed.
[1/1] Cythonizing fastrlock/rlock.pyx
/usr/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: /home/hubutui/Projects/archlinuxcn-repo/archlinuxcn/python-fastrlock/fastrlock-0.4/fastrlock/rlock.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --inplace not recognized
Right, it's python setup.py build_ext --inplace
step to reproduce:
python setup.py build
PYTHONPATH="${PWD}/build/lib.linux-${CARCH}-3.8" pytest -v
The complete log: