setup: force the bundled version of darcsver to take precedence over any other versio...
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 21 Sep 2010 07:32:58 +0000 (00:32 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 21 Sep 2010 07:32:58 +0000 (00:32 -0700)
setup.py

index 0e5eb7c9918c589f38e250817155a8491c71933d..0a66d321026b256b0b7506a7cf343011c012583e 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -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