Skip to content

Instantly share code, notes, and snippets.



Created Nov 23, 2012
What would you like to do?
Reproducer for distribute/numpy issue
/Users/pnasrat/Development/virtualenv/ve/bin/python3.3 -c "
__file__ = '/Users/pnasrat/Development/virtualenv/ve/build/numpy/'
from setuptools.command import egg_info
import pkg_resources
import os
def replacement_run(self):
installer = self.distribution.fetch_build_egg
for ep in pkg_resources.iter_entry_points('egg_info.writers'):
# require=False is the change we're making:
writer = ep.load(require=False)
if writer:
writer(self,, os.path.join(self.egg_info,
self.find_sources() = replacement_run
exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))
" egg_info --egg-base pip-egg-info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment