Open jayvdb opened 5 years ago
This is the same as https://github.com/indygreg/PyOxidizer/issues/70 , but for the different packaging rules.
Note with SetupPyInstall for storyscript<0.26.0
, it fails with EasyInstall/Setuptools SandboxViolation
while installing peewee
because of the writes outside of the target dir.
error: Setup script exited with error: SandboxViolation: open('/tmp/pyoxidizer-temp-venv.0DMXAsCvpktT/venv/pyoxidizer/build_state/playhouse._sqlite_udf.0.o', 'wb') {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
thread 'main' panicked at 'error running setup.py', pyoxidizer/src/app_packaging/packaging_rule.rs:734:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Also this is happening in a subprocess, so not easy to hack around, and not able to be disabled https://github.com/pypa/setuptools/issues/1151
The following fails:
The cause is a hack in the
setup.py
(fixed but not released https://github.com/storyscript/storyscript/issues/1178).The workaround is to use a
virtualenv
packaging rule, which uses the wheel.It wont be very common, but it is solvable by setting
PYTHONPATH
in the subprocess invoking pip.