[Bodge?] Adjusted setup.py to resolve installation problems #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tweak-setup.py"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was having some trouble getting pip install to work for me on Manjaro and macOS. I made a couple of tweaks to setup.py and it plays nice enough for me to push beyond that. I suspect this wasn't necessary for someone who knows what they're doing, but I figured I'd post it anyway.
Prior to these adjustments, I'd error out like so:
Processing ./Development/Source ERROR: Command errored out with exit status 1: command: /Users/erica/Documents/Projects/Tapestry/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/setup.py'"'"'; __file__='"'"'/private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/pip-egg-info cwd: /private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/ Complete output (9 lines): running egg_info creating /private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/pip-egg-info/tapestry.egg-info writing /private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/pip-egg-info/tapestry.egg-info/PKG-INFO writing dependency_links to /private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/pip-egg-info/tapestry.egg-info/dependency_links.txt writing top-level names to /private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/pip-egg-info/tapestry.egg-info/top_level.txt writing manifest file '/private/var/folders/rf/k01lhfyj7r56ptjhkpvf8gmh0000gn/T/pip-req-build-t7ybvluc/pip-egg-info/tapestry.egg-info/SOURCES.txt' /Users/erica/Documents/Projects/Tapestry/venv/lib/python3.7/site-packages/setuptools/dist.py:453: UserWarning: Normalizing '2.0.2.02' to '2.0.2.2' normalized_version, error: package directory 'python-gnupg' does not exist ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.This does indeed fix a problem I myself introduced two or three commits ago, which would have broken the setup.py file for the development copy of tapestry that's in the repo.
I'm accepting this PR immediately and will promote these changes to the current releases folder and the PyPI distribution with the rest of 2.1.