aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2014-08-23 01:10:29 +0200
committerLaurent Bachelier <laurent@bachelier.name>2014-08-23 01:10:29 +0200
commit1e1037442210037097bc875b92b46c3648982e84 (patch)
tree916ca83a325cd8b12fc7003dc8ad48070cb92163
parentCode style (diff)
downloadbrutha-1e1037442210037097bc875b92b46c3648982e84.tar.xz
Add requirements
-rwxr-xr-xsetup.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 265f736..392029f 100755
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from sys import version_info
+
from setuptools import setup
+assert version_info >= (2, 6)
+requirements = ['mutagen']
+if version_info < (2, 7):
+ requirements.append('argparse')
+
setup(
name='brutha',
version='1.0.1',
@@ -12,6 +19,7 @@ setup(
author_email='laurent@bachelier.name',
url='http://git.p.engu.in/laurentb/brutha/',
packages=['brutha'],
+ install_requires=requirements,
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',