From 7a234bc17e016276c2b41759a50479f6c20f43d5 Mon Sep 17 00:00:00 2001 From: nathom Date: Thu, 25 Mar 2021 12:12:15 -0700 Subject: [PATCH] Rename application documents --- setup.py | 9 ++++++++- streamrip/cli.py | 25 ------------------------- streamrip/constants.py | 4 ++-- 3 files changed, 10 insertions(+), 28 deletions(-) diff --git a/setup.py b/setup.py index 38075ec..734b2e2 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,12 @@ requirements = read_file("requirements.txt").strip().split() setup( name=pkg_name, version="0.1", + author='Nathan', + author_email='nathanthomas707@gmail.com', + keywords='lossless, hi-res, qobuz, tidal, deezer, audio, convert', + description="A stream downloader for Qobuz, Tidal, and Deezer.", + long_description=read_file("README.md"), + long_description_content_type='text/markdown', install_requires=requirements, py_modules=["streamrip"], entry_points={ @@ -25,6 +31,7 @@ setup( }, packages=find_packages(), classifiers=[ + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "License :: OSI Approved :: GNU General Public License (GPL)", @@ -33,8 +40,8 @@ setup( ], python_requires=">=3.7", project_urls={ - "Bug Reports": "https://github.com/nathom/streamrip/issues", "Source": "https://github.com/nathom/streamrip", + "Bug Reports": "https://github.com/nathom/streamrip/issues", }, ) diff --git a/streamrip/cli.py b/streamrip/cli.py index a4af579..1346c85 100644 --- a/streamrip/cli.py +++ b/streamrip/cli.py @@ -26,31 +26,6 @@ if not os.path.isdir(CACHE_DIR): @click.pass_context def cli(ctx, **kwargs): """ - Examples: - - $ rip {url} --convert alac - - Download the url and convert to alac - - $ rip {artist_url} -c alac filter --repeats --non-albums - - Download a discography, filtering repeats and non-albums - - $ rip interactive --search - - Start an interactive search session - - $ rip interactive --discover - - Start an interactive discover session - - $ rip config --open - - Open config file - - $ rip config --qobuz - - Set qobuz credentials """ global config diff --git a/streamrip/constants.py b/streamrip/constants.py index c9d5cca..beb6402 100644 --- a/streamrip/constants.py +++ b/streamrip/constants.py @@ -4,13 +4,13 @@ from pathlib import Path import click import mutagen.id3 as id3 -APPNAME = "music-dl" +APPNAME = "streamrip" CACHE_DIR = click.get_app_dir(APPNAME) CONFIG_DIR = click.get_app_dir(APPNAME) CONFIG_PATH = os.path.join(CONFIG_DIR, "config.yaml") LOG_DIR = click.get_app_dir(APPNAME) -DB_PATH = os.path.join(LOG_DIR, "music-dl.db") +DB_PATH = os.path.join(LOG_DIR, "downloads.db") DOWNLOADS_DIR = os.path.join(Path.home(), "Music Downloads")