Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Commit

Permalink
Remove support for 2.6 and 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
56quarters committed Dec 1, 2017
1 parent d6a1db9 commit 6dc30b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ language: python

matrix:
include:
- python: 2.6
env: TOXENV=py26
- python: 2.7
env: TOXENV=py27
- python: 3.3
env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
argparse==1.4.0
Flask==0.11.1
mutagen==1.35.1
simplejson==3.10.0
Expand Down
13 changes: 2 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@
"Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Sound/Audio",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5"
]


Expand All @@ -44,21 +43,13 @@ def get_contents(filename):
return handle.read()


# If this is a version of Python prior to 2.7, argparse was
# not included in the standard library and we must list it as
# an installation dependency.
_python_version = (sys.version_info[0], sys.version_info[1])
_argparse_included = (2, 7)

REQUIRES = [
'flask',
'mutagen',
'simplejson',
'sqlalchemy'
]

if _python_version < _argparse_included:
REQUIRES.append('argparse')

README = get_contents('README.rst')

Expand Down

0 comments on commit 6dc30b1

Please sign in to comment.