Created
August 3, 2013 06:59
-
-
Save markrwilliams/6145518 to your computer and use it in GitHub Desktop.
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
# 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