mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
setup: mark stdeb as setup_requires if "sdist_dsc" is in sys.argv
This commit is contained in:
parent
70beaeea43
commit
d0998712bb
4
setup.py
4
setup.py
@ -127,6 +127,10 @@ setup_requires.extend(['setuptools_trial >= 0.5'])
|
||||
# to setup_requires. http://pypi.python.org/pypi/setuptools_darcs
|
||||
setup_requires.append('setuptools_darcs >= 1.1.0')
|
||||
|
||||
# stdeb is required to produce Debian files with the "sdist_dsc" command.
|
||||
if "sdist_dsc" in sys.argv:
|
||||
setup_requires.append('stdeb >= 0.3')
|
||||
|
||||
class ShowSupportLib(Command):
|
||||
user_options = []
|
||||
def initialize_options(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user