From: Zooko O'Whielacronx Date: Sat, 25 Oct 2008 13:50:42 +0000 (-0700) Subject: setup: pretend the tahoe requires twisted to set up, so that twisted will be there... X-Git-Url: https://git.rkrishnan.org/htmlfontify-example.html?a=commitdiff_plain;h=31a364e8df343acae7b2a0507396d249e489c32b;p=tahoe-lafs%2Ftahoe-lafs.git setup: pretend the tahoe requires twisted to set up, so that twisted will be there for nevow --- diff --git a/setup.py b/setup.py index c24290cb..9f290f27 100644 --- a/setup.py +++ b/setup.py @@ -188,11 +188,12 @@ it remains available even when some of the peers are unavailable, malfunctioning, or malicious.""" -# Default setup_requires are pyutil for the Windows installer builder(see -# misc/sub-ver.py) and Twisted for the tests. -#setup_requires = ['pyutil >= 1.3.16', 'Twisted >= 2.4.0'] setup_requires = [] +# Nevow requires Twisted to setup, but doesn't declare that requirement in a way that enables +# setuptools to satisfy that requirement before Nevow's setup.py tried to "import twisted". +setup_requires.append('Twisted >= 2.4.0') + # darcsver is needed only if you want "./setup.py darcsver" to write a new # version stamp in src/allmydata/_version.py, with a version number derived from # darcs history.