Updated setup.py

This commit is contained in:
RemixDev 2020-05-25 14:04:40 +02:00
parent d92f6d8612
commit d669dadf85
3 changed files with 8 additions and 5 deletions

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
include deemix/app/default.json

View File

@ -23,6 +23,8 @@ def download(bitrate, local, url):
if local: if local:
click.echo(settings['downloadLocation']) #folder name output click.echo(settings['downloadLocation']) #folder name output
def main():
download()
if __name__ == '__main__': if __name__ == '__main__':
download() main()

View File

@ -1,13 +1,13 @@
#!/usr/env/bin python3 #!/usr/env/bin python3
import pathlib import pathlib
from setuptools import setup from setuptools import find_packages, setup
HERE = pathlib.Path(__file__).parent HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text() README = (HERE / "README.md").read_text()
setup( setup(
name="deemix", name="deemix",
version="1.0.0", version="1.0.2",
description="A barebone deezer downloader library", description="A barebone deezer downloader library",
long_description=README, long_description=README,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
@ -23,12 +23,12 @@ setup(
"Operating System :: OS Independent", "Operating System :: OS Independent",
], ],
python_requires='>=3.7', python_requires='>=3.7',
packages=setuptools.find_packages(), packages=find_packages(exclude=("tests",)),
include_package_data=True, include_package_data=True,
install_requires=["click", "pycryptodomex", "mutagen", "requests", "spotipy"], install_requires=["click", "pycryptodomex", "mutagen", "requests", "spotipy"],
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [
"deemix=reader.__main__:main", "deemix=deemix.__main__:main",
] ]
}, },
) )