Skip to content

Commit

Permalink
setup: force the bundled version of darcsver to take precedence over …
Browse files Browse the repository at this point in the history
…any other version of darcsver
  • Loading branch information
Zooko O'Whielacronx committed Sep 21, 2010
1 parent 548e587 commit aa19424
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def read_version_py(infname):

egg = os.path.realpath(glob.glob('setuptools-*.egg')[0])
sys.path.insert(0, egg)
egg = os.path.realpath(glob.glob('darcsver-*.egg')[0])
sys.path.insert(0, egg)
import setuptools; setuptools.bootstrap_install_from = egg

from setuptools import find_packages, setup
Expand Down

0 comments on commit aa19424

Please sign in to comment.