From 963d0b8150acba4471707d7b7320b2d013b93827 Mon Sep 17 00:00:00 2001 From: zooko Date: Tue, 16 Jun 2009 04:47:11 +0530 Subject: [PATCH] setup: loosen the requirements -- you need argparse and pyutil only if you want the "zfec" and "zunfec" commandline tools Ignore-this: 5e502a60e8d63ebf98b8bb87b21b9f63 This way Tahoe-LAFS can require zfec without requiring zfec's commandline tools, and therefore without requiring argparse or pyutil. This might make it easier to package Tahoe-LAFS for Debian. darcs-hash:56fdb34c44a5e59568f261c1df352a60ab7f27a1 --- zfec/setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zfec/setup.py b/zfec/setup.py index b2f0474..a83f5b2 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -131,6 +131,10 @@ data_fnames=[ 'COPYING.GPL', 'changelog', 'COPYING.TGPPL.html', 'TODO', 'README. doc_loc = "share/doc/python-" + PKG data_files = [(doc_loc, data_fnames)] +extras_require = { + 'command_line_tools': ["argparse >= 0.8", "pyutil >= 1.3.19"] + } + def _setup(test_suite): setup(name=PKG, version=verstr, @@ -141,7 +145,7 @@ def _setup(test_suite): url='http://allmydata.org/trac/'+PKG, license='GNU GPL', dependency_links=dependency_links, - install_requires=["argparse >= 0.8", "pyutil >= 1.3.19"], + extras_require=extras_require, tests_require=["pyutil >= 1.3.19"], packages=find_packages(), include_package_data=True, -- 2.45.2