restructured slightly and addet skript to upload to PyPI
This commit is contained in:
parent
c6d0acff9b
commit
783890b695
17
src/build.sh
17
src/build.sh
@ -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/*
|
|
@ -6,5 +6,6 @@ download_links
|
|||||||
lyrics
|
lyrics
|
||||||
metadata
|
metadata
|
||||||
scraping
|
scraping
|
||||||
|
tests
|
||||||
url_to_path
|
url_to_path
|
||||||
utils
|
utils
|
||||||
|
@ -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"
|
|
13
src/setup.py
13
src/setup.py
@ -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"]
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user