setup: force the bundled version of darcsver to take precedence over any other version of darcsver

This commit is contained in:
Zooko O'Whielacronx 2010-09-21 00:32:58 -07:00
parent 548e587d86
commit aa19424c9f

View File

@ -40,6 +40,8 @@ version = read_version_py("src/allmydata/_version.py")
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