-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Milestone
Description
Reproduction Steps
When running python setup.py install on a setup.py script that includes "longbow" in its list of install_requires, I am getting the following error:
$ python setup.py install
>>> Searching for Longbow
>>> Reading https://pypi.python.org/simple/Longbow/
>>> Downloading https://files.pythonhosted.org/packages/c5/76/32f5562d161ab62fe549488ca144d288ffda47ebb6b127fb3ca891c0aaf5/Longbow-1.5.2.tar.gz#sha256=20817372ef4204534737e42726dbb627be610abe11245750469b683b6f1be195
>>> Best match: Longbow 1.5.2
>>> Processing Longbow-1.5.2.tar.gz
>>> Writing /var/folders/cs/x2yk4h5n409ghnhmgt22ljf40000gq/T/easy_install-coyiirs9/Longbow-1.5.2/setup.cfg
>>> Running Longbow-1.5.2/setup.py -q bdist_egg --dist-dir /var/folders/cs/x2yk4h5n409ghnhmgt22ljf40000gq/T/easy_install-coyiirs9/Longbow-1.5.2/egg-dist-tmp-0qgl7oa3
>>> The Python version installed "3.6" is supported by Longbow.
>>> zip_safe flag not set; analyzing archive contents...
>>> longbow.__pycache__.entrypoints.cpython-36: module references __file__
>>> longbow.apps.__pycache__.__init__.cpython-36: module references __file__
>>> longbow.schedulers.__pycache__.__init__.cpython-36: module references __file__
>>> Since version 1.5.0 '~/.Longbow' directory has been all lowercase, moving '~/.Longbow' to '~/.longbow'.
>>> error: SandboxViolation: rename('/Users/drew/.Longbow', '/Users/drew/.longbow') {}
>>>
>>> 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.Workaround:
$ pip install longbow
$ python setup.py install
As Longbow is already installed here it's not installed as part of the setup.py and so it doesn't seem to be restricted to the EasyInstall sandbox.
Additional Information
$ python --version
>>> Python 3.6
$ pip --version
>>> pip 10.0.1 from /Users/drew/.../.env-3.6/lib/python3.6/site-packages/pip (python 3.6)Metadata
Metadata
Assignees
Labels
No labels