Created
March 14, 2017 22:55
-
-
Save jwodder/7b00ad691ecbfe9fa3ff40388bae6e23 to your computer and use it in GitHub Desktop.
A demonstration of setuptools issue 967
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN apt-get update && apt-get install -y python-virtualenv | |
WORKDIR /issue967 | |
COPY run.sh setup.py /issue967/ | |
CMD ["/bin/bash", "run.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
#PYTHON=/usr/bin/python2 | |
PYTHON=/usr/bin/python3 | |
virtualenv -p "$PYTHON" venv | |
source venv/bin/activate | |
python --version | |
pip list | |
python setup.py check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup | |
setup( | |
name='issue967', | |
version='0.0.0', | |
author='jwodder', | |
author_email='[email protected]', | |
python_requires='==3.*', | |
description='A demonstration of setuptools issue 967', | |
url='https://github.com/pypa/setuptools/issues/967', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment