From aa19424c9f4b82227fb139179311a6780947eb88 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Tue, 21 Sep 2010 00:32:58 -0700
Subject: [PATCH] setup: force the bundled version of darcsver to take
 precedence over any other version of darcsver

---
 setup.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/setup.py b/setup.py
index 0e5eb7c9..0a66d321 100644
--- 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
-- 
2.45.2