diff --git a/.gitignore b/.gitignore index 523a573..b5da82b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# custom +.cache + *.py[cod] # C extensions diff --git a/bandcamp_dl/deps.txt b/bandcamp_dl/deps.txt index 0350cbf..d203888 100644 --- a/bandcamp_dl/deps.txt +++ b/bandcamp_dl/deps.txt @@ -5,3 +5,4 @@ mutagen==1.35.1 requests==2.12.4 unicode-slugify==0.1.3 mock==2.0.0 +chardet==2.3.0 diff --git a/requirements.txt b/requirements.txt index 3f328e4..f3918ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,3 +6,5 @@ docopt==0.6.2 mutagen==1.35.1 requests==2.12.4 unicode-slugify==0.1.3 +mock==2.0.0 +chardet==2.3.0 diff --git a/setup.cfg b/setup.cfg index ed8a958..60162cd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bdist_wheel] -universal = 1 +universal = 0 [metadata] license_file = LICENSE diff --git a/setup.py b/setup.py index 681aa62..de2dcea 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,16 @@ from setuptools import setup, find_packages from codecs import open from os import path +import sys + +if sys.version_info[0] == 2: + sys.exit('Python 2 is unsupported.') here = path.abspath(path.dirname(__file__)) setup( name='bandcamp-downloader', - version='0.0.7-06', + version='0.0.7-08', description='bandcamp-dl downloads albums and tracks from Bandcamp for you', long_description=open('README.rst').read(), url='https://github.com/iheanyi/bandcamp-dl', @@ -18,7 +22,10 @@ setup( 'Intended Audience :: End Users/Desktop', 'Topic :: Multimedia :: Sound/Audio', 'License :: Public Domain', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', ], keywords=['bandcamp', 'downloader', 'music', 'cli', 'albums', 'dl'], packages=find_packages(), @@ -30,6 +37,7 @@ setup( 'requests', 'unicode-slugify', 'mock', + 'chardet==2.3.0', ], entry_points={ 'console_scripts': [