ready for build

This commit is contained in:
Lars Noack 2022-11-29 12:14:48 +01:00
parent 989830d679
commit 046658fa8e
4 changed files with 26 additions and 9 deletions

View File

@ -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*

View File

@ -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',

View File

@ -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

View File

@ -1 +1 @@
1.2.1
1.2.2