Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py does not work with custom --prefix path #413

Closed
AsciiWolf opened this issue Aug 10, 2019 · 0 comments · Fixed by #421
Closed

setup.py does not work with custom --prefix path #413

AsciiWolf opened this issue Aug 10, 2019 · 0 comments · Fixed by #421

Comments

@AsciiWolf
Copy link
Collaborator

The setup.py script does not seem to be correctly using custom --prefix path. Here is a complete build log:

Running: python3 setup.py install --prefix=/app --root=/ --optimize=1
setup.py:38: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
  distro = platform.dist()[0]
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/torbrowser_launcher
copying torbrowser_launcher/launcher.py -> build/lib/torbrowser_launcher
copying torbrowser_launcher/settings.py -> build/lib/torbrowser_launcher
copying torbrowser_launcher/__init__.py -> build/lib/torbrowser_launcher
copying torbrowser_launcher/common.py -> build/lib/torbrowser_launcher
running build_scripts
creating build/scripts-3.7
copying and adjusting torbrowser-launcher -> build/scripts-3.7
changing mode of build/scripts-3.7/torbrowser-launcher from 664 to 775
running install_lib
creating /app/lib
creating /app/lib/python3.7
creating /app/lib/python3.7/site-packages
creating /app/lib/python3.7/site-packages/torbrowser_launcher
copying build/lib/torbrowser_launcher/launcher.py -> /app/lib/python3.7/site-packages/torbrowser_launcher
copying build/lib/torbrowser_launcher/settings.py -> /app/lib/python3.7/site-packages/torbrowser_launcher
copying build/lib/torbrowser_launcher/__init__.py -> /app/lib/python3.7/site-packages/torbrowser_launcher
copying build/lib/torbrowser_launcher/common.py -> /app/lib/python3.7/site-packages/torbrowser_launcher
byte-compiling /app/lib/python3.7/site-packages/torbrowser_launcher/launcher.py to launcher.cpython-37.pyc
byte-compiling /app/lib/python3.7/site-packages/torbrowser_launcher/settings.py to settings.cpython-37.pyc
byte-compiling /app/lib/python3.7/site-packages/torbrowser_launcher/__init__.py to __init__.cpython-37.pyc
byte-compiling /app/lib/python3.7/site-packages/torbrowser_launcher/common.py to common.cpython-37.pyc
writing byte-compilation script '/tmp/tmpwo633ebz.py'
/usr/bin/python3 /tmp/tmpwo633ebz.py
removing /tmp/tmpwo633ebz.py
running install_scripts
creating /app/bin
copying build/scripts-3.7/torbrowser-launcher -> /app/bin
changing mode of /app/bin/torbrowser-launcher to 775
running install_data
creating /usr/share/torbrowser-launcher
error: could not create '/usr/share/torbrowser-launcher': Read-only file system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant