Skip to content

Instantly share code, notes, and snippets.

@markrwilliams
Created August 3, 2013 06:59
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 markrwilliams/6145518 to your computer and use it in GitHub Desktop.
Save markrwilliams/6145518 to your computer and use it in GitHub Desktop.
# setup.py
from setuptools import setup
setup(name='lxml',
version='3.2',
py_modules=['lxml'])
# lxml.py
print 'FOOLED YOU'
# $ python setup.py sdist
# $ mktempenv; cd -
# $ pip install -f file://$PWD/dist/lxml-3.2.tar.gz lxml==3.2
# $ python -i 'import lxml'
# FOOLED YOU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment