diff --git a/build.sh b/build.sh index 2fd250a..3dc17aa 100644 --- a/build.sh +++ b/build.sh @@ -1,3 +1,6 @@ +#!/bin/bash +test=true + rm /tmp/music-downloader/*.db rm /tmp/music-downloader/*.sql @@ -5,30 +8,42 @@ rm /tmp/music-downloader/*.sql version=$(cut -d@ -f1 version) echo version: $version +sudo python3 -m pip install -U twine wheel setuptools + python3 setup.py sdist bdist_wheel sudo python3 -m pip uninstall music-kraken -y python3 -m pip install dist/music-kraken-$version.tar.gz --user music-kraken + +if [ "$test" = true ]; +then + echo "just a test" + twine upload --repository testpypi dist/music_kraken* + python3 -m pip install -i https://test.pypi.org/simple/ music-kraken -U + exit +fi + +twine upload dist/music_kraken* exit # https://packaging.python.org/en/latest/tutorials/packaging-projects/ #echo "building............" #echo "python3 -m pip install --upgrade build" # python3 -m pip install --upgrade pip -python3 -m pip install --upgrade build +# python3 -m pip install --upgrade build #echo "python3 -m build" -python3 -m build +# python3 -m build # python3 setup.py sdist bdist_wheel # python3 setup.py install --user -echo "python3 -m pip install dist/music_kraken-1.2.2-py3-none-any.whl --user --force-reinstall" -python3 -m pip install dist/music_kraken-1.2.2.tar.gz --user --force-reinstall +# echo "python3 -m pip install dist/music_kraken-1.2.2-py3-none-any.whl --user --force-reinstall" +# python3 -m pip install dist/music_kraken-1.2.2.tar.gz --user --force-reinstall -music-kraken +# music-kraken -open /home/lars/.local/lib/python3.10/site-packages/music_kraken -echo "uploading............" +# open /home/lars/.local/lib/python3.10/site-packages/music_kraken +# echo "uploading............" #python3 -m pip install --upgrade twine #twine upload dist/music_kraken* diff --git a/setup.py b/setup.py index bf2a02f..57c24b0 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,7 @@ setup( description='An extensive music downloader crawling the internet. It gets its metadata from a couple metadata ' 'provider, and it scrapes the audiofiles.', long_description=long_description, + long_description_content_type='text/markdown', author='Hellow2', author_email='Hellow2@outlook.de', url='https://github.com/HeIIow2/music-downloader', diff --git a/src/music_kraken.egg-info/PKG-INFO b/src/music_kraken.egg-info/PKG-INFO index 7c0221f..94ed02a 100644 --- a/src/music_kraken.egg-info/PKG-INFO +++ b/src/music_kraken.egg-info/PKG-INFO @@ -1,10 +1,11 @@ Metadata-Version: 2.1 Name: music-kraken -Version: 1.2.1 +Version: 1.2.2 Summary: An extensive music downloader crawling the internet. It gets its metadata from a couple metadata provider, and it scrapes the audiofiles. Home-page: https://github.com/HeIIow2/music-downloader Author: Hellow2 Author-email: Hellow2@outlook.de +Description-Content-Type: text/markdown License-File: LICENSE # Music Kraken diff --git a/version b/version index 6085e94..23aa839 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.2.1 +1.2.2