From 229e29e81beebdd336fabbd9ad102ee24e32c428 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 17 Apr 2008 22:07:52 -0700 Subject: [PATCH] setup: a tiny tweak to setup to avoid requiring darcsver package if the user isn't invoking "./setup.py darcsver" The real reason for this patch is to test our patch management infrastructure. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b848b6d0..0dce180a 100644 --- a/setup.py +++ b/setup.py @@ -109,7 +109,8 @@ setup_requires.append('twisted >= 2.4.0') # for trial, and because foolscap <= 0 # version stamp in src/allmydata/_version.py, with a version number derived from # darcs history. # http://pypi.python.org/pypi/darcsver -setup_requires.append('darcsver >= 1.1.2') +if 'darcsver' in sys.argv[1:]: + setup_requires.append('darcsver >= 1.1.2') # setuptools_darcs is required to produce complete distributions (such as with # "sdist" or "bdist_egg"), unless there is a PKG-INFO file present which shows -- 2.45.2