bandcamp-dl/setup.py

66 lines
2.0 KiB
Python
Raw Normal View History

2015-12-11 16:03:14 -08:00
from setuptools import setup, find_packages
import pathlib
2017-02-07 17:23:25 -08:00
appversion = "0.0.12"
here = pathlib.Path(__file__).parent.resolve()
2015-12-11 16:03:14 -08:00
with open(f'{here}/bandcamp_dl/__init__.py', 'w') as initpy:
initpy.write(f'__version__ = "{appversion}"')
2015-12-11 16:03:14 -08:00
setup(
name='bandcamp-downloader',
version=appversion,
2015-12-11 16:03:14 -08:00
description='bandcamp-dl downloads albums and tracks from Bandcamp for you',
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',
url='https://github.com/iheanyi/bandcamp-dl',
2015-12-11 16:03:14 -08:00
author='Iheanyi Ekechukwu',
author_email='iekechukwu@gmail.com',
2016-12-15 18:09:47 -08:00
license='Unlicense',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Topic :: Multimedia :: Sound/Audio',
'License :: Public Domain',
2017-02-07 17:23:25 -08:00
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
2017-02-07 17:23:25 -08:00
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
],
2015-12-11 16:03:14 -08:00
keywords=['bandcamp', 'downloader', 'music', 'cli', 'albums', 'dl'],
packages=find_packages(exclude=['tests']),
python_requires='>=3.4',
2015-12-11 16:03:14 -08:00
install_requires=[
'beautifulsoup4',
'lxml',
'demjson3',
'docopt',
'mutagen',
'requests',
'unicode-slugify',
'mock',
2017-02-07 17:26:07 -08:00
'chardet',
2015-12-11 16:03:14 -08:00
],
extras_require={
'dev': [
'requests-cache',
'pytest'
]
},
2015-12-11 16:03:14 -08:00
entry_points={
'console_scripts': [
'bandcamp-dl=bandcamp_dl.__main__:main',
2015-12-11 16:03:14 -08:00
],
},
project_urls={
'Bug Reports': 'https://github.com/iheanyi/bandcamp-dl/issues',
'Source': 'https://github.com/iheanyi/bandcamp-dl',
},
2015-12-11 16:03:14 -08:00
)