From d669dadf854da6fd333902bb2bf0404f4ba41f56 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Mon, 25 May 2020 14:04:40 +0200 Subject: [PATCH] Updated setup.py --- MANIFEST.in | 1 + deemix/__main__.py | 4 +++- setup.py | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..4a3e13b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include deemix/app/default.json diff --git a/deemix/__main__.py b/deemix/__main__.py index d4516bc..bb1e954 100644 --- a/deemix/__main__.py +++ b/deemix/__main__.py @@ -23,6 +23,8 @@ def download(bitrate, local, url): if local: click.echo(settings['downloadLocation']) #folder name output +def main(): + download() if __name__ == '__main__': - download() + main() diff --git a/setup.py b/setup.py index b378f16..684e525 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,13 @@ #!/usr/env/bin python3 import pathlib -from setuptools import setup +from setuptools import find_packages, setup HERE = pathlib.Path(__file__).parent README = (HERE / "README.md").read_text() setup( name="deemix", - version="1.0.0", + version="1.0.2", description="A barebone deezer downloader library", long_description=README, long_description_content_type="text/markdown", @@ -23,12 +23,12 @@ setup( "Operating System :: OS Independent", ], python_requires='>=3.7', - packages=setuptools.find_packages(), + packages=find_packages(exclude=("tests",)), include_package_data=True, install_requires=["click", "pycryptodomex", "mutagen", "requests", "spotipy"], entry_points={ "console_scripts": [ - "deemix=reader.__main__:main", + "deemix=deemix.__main__:main", ] }, )