Closed EricaPomme closed 4 years ago
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.
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.`