From 783890b69580bc2769ea33dcefbef1fabad7bd48 Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 15 Nov 2022 00:45:06 +0100 Subject: [PATCH] restructured slightly and addet skript to upload to PyPI --- src/build.sh | 17 ---------------- .../music_kraken.egg-info/top_level.txt | 1 + src/pyproject.toml | 20 ------------------- src/setup.py | 13 ------------ 4 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 src/build.sh delete mode 100644 src/pyproject.toml delete mode 100644 src/setup.py diff --git a/src/build.sh b/src/build.sh deleted file mode 100644 index 13564ae..0000000 --- a/src/build.sh +++ /dev/null @@ -1,17 +0,0 @@ -# https://packaging.python.org/en/latest/tutorials/packaging-projects/ -cp ../README.md README.md - -echo "building......" -python3 -m pip install --upgrade build -python3 -m build - -echo "cleaning up......." -rm README.md -# shellcheck disable=SC2164 -cd ../build -rm -rf dist -mv ../src/dist . - -echo "uploading......." -# python3 -m pip install --upgrade twine -twine upload dist/* diff --git a/src/music_kraken/music_kraken.egg-info/top_level.txt b/src/music_kraken/music_kraken.egg-info/top_level.txt index eaebb54..9c350c6 100644 --- a/src/music_kraken/music_kraken.egg-info/top_level.txt +++ b/src/music_kraken/music_kraken.egg-info/top_level.txt @@ -6,5 +6,6 @@ download_links lyrics metadata scraping +tests url_to_path utils diff --git a/src/pyproject.toml b/src/pyproject.toml deleted file mode 100644 index 99ca2b8..0000000 --- a/src/pyproject.toml +++ /dev/null @@ -1,20 +0,0 @@ -[build-system] -requires = ["setuptools>=61.0", "requests~=2.28.1", "mutagen~=1.46.0", "musicbrainzngs~=0.7.1", "jellyfish~=0.9.0", "pydub~=0.25.1", "youtube_dl", "beautifulsoup4~=4.11.1", "pycountry~=22.3.5"] -build-backend = "setuptools.build_meta" - -[project] -name = "music_kraken" -version = "0.0.1" -authors = [ - { name="Hellow2", email="Hellow2@outlook.de" }, -] -description = "An extensive music downloader crawling the internet. It gets its metadata from a couple metadata provider, and it scrapes the audiofiles." -readme = "README.md" -requires-python = ">=3.7" -classifiers = [ - "Programming Language :: Python :: 3", - "Operating System :: OS Independent", -] - -[project.urls] -"Homepage" = "https://github.com/HeIIow2/music-downloader" \ No newline at end of file diff --git a/src/setup.py b/src/setup.py deleted file mode 100644 index 3188e14..0000000 --- a/src/setup.py +++ /dev/null @@ -1,13 +0,0 @@ -from distutils.core import setup - -setup( - name='music-kraken', - version='1.0', - description='An extensive music downloader crawling the internet. It gets its metadata from a couple metadata ' - 'provider, and it scrapes the audiofiles.', - author='Hellow2', - author_email='Hellow2@outlook.de', - url='https://github.com/HeIIow2/music-downloader', - package_dir={'': 'music_kraken'}, - install_requires=["requests~=2.28.1", "mutagen~=1.46.0", "musicbrainzngs~=0.7.1", "jellyfish~=0.9.0", "pydub~=0.25.1", "youtube_dl", "beautifulsoup4~=4.11.1", "pycountry~=22.3.5"] -)