Skip to content

Instantly share code, notes, and snippets.

@jwodder
Created March 14, 2017 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwodder/7b00ad691ecbfe9fa3ff40388bae6e23 to your computer and use it in GitHub Desktop.
Save jwodder/7b00ad691ecbfe9fa3ff40388bae6e23 to your computer and use it in GitHub Desktop.
A demonstration of setuptools issue 967
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"]
#!/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
from setuptools import setup
setup(
name='issue967',
version='0.0.0',
author='jwodder',
author_email='issue967@varonathe.org',
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