From: zooko Date: Wed, 17 Jun 2009 17:40:28 +0000 (+0530) Subject: setup: add setup_requires += stdeb if "sdist_dsc" appears in sys.argv X-Git-Url: https://git.rkrishnan.org/specifications/components/com_hotproperty/css/reliability?a=commitdiff_plain;h=a66485ab59f5e9c4785e904c5741fa782c0e1d13;p=tahoe-lafs%2Fzfec.git setup: add setup_requires += stdeb if "sdist_dsc" appears in sys.argv Ignore-this: 897843b0bd1f899f416aef1bdd1caa0c darcs-hash:6998c04be1a7fb934f5b51363109f4601a2b5b73 --- diff --git a/zfec/setup.py b/zfec/setup.py index ef123dc..a2f64b3 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -123,6 +123,10 @@ setup_requires.append('darcsver >= 1.2.0') # http://pypi.python.org/pypi/setuptools_darcs setup_requires.append('setuptools_darcs >= 1.1.0') +# stdeb is required to build Debian dsc files. +if "sdist_dsc" in sys.argv: + setup_requires.append('stdeb') + data_fnames=[ 'COPYING.GPL', 'changelog', 'COPYING.TGPPL.html', 'TODO', 'README.txt' ] # In case we are building for a .deb with stdeb's sdist_dsc command, we put the