From: zooko Date: Mon, 15 Jun 2009 23:17:11 +0000 (+0530) Subject: setup: loosen the requirements -- you need argparse and pyutil only if you want the... X-Git-Url: https://git.rkrishnan.org/pf/content/simplejson/frontends/flags/index.php?a=commitdiff_plain;h=963d0b8150acba4471707d7b7320b2d013b93827;p=tahoe-lafs%2Fzfec.git 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 --- 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,