Message11108
bin/pip install scandir
Collecting scandir
Using cached scandir-1.5.tar.gz
Installing collected packages: scandir
Running setup.py install for scandir ... error
Complete output from command /data/workspace/linux/Jython/installer_test/linux_2.7.1/bin/jython -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-88durY/scandir/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wqw0MV-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.java1.8.0_121-2.7
copying scandir.py -> build/lib.java1.8.0_121-2.7
running build_ext
building '_scandir' extension
error: Compiling extensions is not supported on Jython
----------------------------------------
Command "/data/workspace/linux/Jython/installer_test/linux_2.7.1/bin/jython -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-88durY/scandir/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wqw0MV-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-88durY/scandir/
The sad thing here is that scandir is actually workable with Jython, only the setup fails. What needs to be done to let setup process pass over the failed extension build and end up fine?
Currently this breaks the whole process if scandir is just installed as dependency, e.g. when installing pathlib2.
I observed this issue equally on Linux and Windows using Java 8 + current Jython trunk version. |
|
Date |
User |
Action |
Args |
2017-02-22 03:33:56 | stefan.richthofer | set | recipients:
+ stefan.richthofer |
2017-02-22 03:33:56 | stefan.richthofer | set | messageid: <1487734436.92.0.40968278616.issue2552@psf.upfronthosting.co.za> |
2017-02-22 03:33:56 | stefan.richthofer | link | issue2552 messages |
2017-02-22 03:33:56 | stefan.richthofer | create | |
|