From 41888571ff00d9bf055fed31945a2a89f1689de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Fri, 27 May 2011 11:14:39 +0200 Subject: [PATCH] toolbox do not require (yet) argparse. --- setup.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 448b07c..fb065c4 100644 --- a/setup.py +++ b/setup.py @@ -10,14 +10,6 @@ long_description = open("README.txt").read() + "\n" + \ for f in sorted(glob.glob(os.path.join('slapos', 'README.*.txt'))): long_description += '\n' + open(f).read() + '\n' -additional_install_requires = [] -# Even if argparse is available in python2.7, some python2.7 installations -# do not have it, so checking python version is dangerous -try: - import argparse -except ImportError: - additional_install_requires.append('argparse') - setup(name=name, version=version, description="SlapOS toolbox.", @@ -39,7 +31,7 @@ setup(name=name, 'setuptools', # namespaces 'slapos.core', # as it provides library for slap 'xml_marshaller', # needed to dump information - ] + additional_install_requires, + ], zip_safe=False, # proxy depends on Flask, which has issues with # accessing templates entry_points={ -- 2.30.9