From 99054971aafdef31fe6c75801552d41b1aee57d3 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Tue, 24 Jul 2012 08:37:31 +0200 Subject: [PATCH] euscan: drop fixed version dependencies Signed-off-by: Corentin Chary --- bin/euscan | 8 +------- setup.py | 13 ++++++++----- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/bin/euscan b/bin/euscan index 42d63e8..eb637d1 100755 --- a/bin/euscan +++ b/bin/euscan @@ -11,16 +11,10 @@ import os __author__ = "Corentin Chary (iksaif)" __email__ = "corentin.chary@gmail.com" +__version__ = "git" __productname__ = "euscan" __description__ = "A tool to detect new upstream releases." -if os.path.exists(os.path.join(os.path.dirname(__file__), "..", ".git")): - import git - repo = git.Repo(os.path.join(os.path.dirname(__file__))) - __version__ = "git-%s" % repo.head.commit -else: - __version__ = "git" - # Imports diff --git a/setup.py b/setup.py index 85856aa..9b7179f 100755 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ packages = [ ] tests_require = [ - 'factory-boy==1.1.3', + 'factory-boy>=1.1.3', ] setup( @@ -88,10 +88,13 @@ setup( ('master' if __version__ == '9999' else ('euscan-%s' % __version__)) ), install_requires=[ - 'Django==1.4', 'django-annoying==0.7.6', 'South==0.7.4', - 'django-piston==0.2.3', 'BeautifulSoup==3.2.1', 'matplotlib==1.1.0', - 'django-celery==3.0.1', 'django-registration==0.8', - 'python-ldap==2.4.10', 'django-auth-ldap==1.1', + # Command line utility + 'BeautifulSoup>=3.2.1', + # Web interface + 'Django>=1.4', 'django-annoying>=0.7.6', 'South>=0.7', + 'django-piston>=0.2.3', 'matplotlib>=1.1.0', + 'django-celery>=3.0.1', 'django-registration>=0.8', + 'python-ldap>=2.4.10', 'django-auth-ldap>=1.1', ], package_dir={'': 'pym'}, packages=packages,