From 19cbb2c9391f13d62d43f7cf0bcb1cae289ac659 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 15 Nov 2022 10:25:56 +0100 Subject: [PATCH] added build --- build.sh | 5 +-- pyproject.toml | 2 +- run_cli.spec | 44 ------------------------- src/music_kraken.egg-info/PKG-INFO | 2 +- src/music_kraken.egg-info/SOURCES.txt | 21 +----------- src/{run_cli.py => music_kraken_cli.py} | 0 6 files changed, 6 insertions(+), 68 deletions(-) delete mode 100644 run_cli.spec rename src/{run_cli.py => music_kraken_cli.py} (100%) diff --git a/build.sh b/build.sh index e98042d..a587e80 100644 --- a/build.sh +++ b/build.sh @@ -1,6 +1,7 @@ -pyinstaller --onefile src/run_cli.py +mkdir -p dist/build_files +mkdir -p dist/compiled -exit +pyinstaller --onefile src/music_kraken_cli.py --specpath dist/build_files --workpath dist/build_files --distpath dist/compiled # https://packaging.python.org/en/latest/tutorials/packaging-projects/ echo "building......" diff --git a/pyproject.toml b/pyproject.toml index 2176432..5aa7e27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "music_kraken" -version = "0.0.5" +version = "0.0.7" authors = [ { name="Hellow2", email="Hellow2@outlook.de" }, ] diff --git a/run_cli.spec b/run_cli.spec deleted file mode 100644 index ce4d5e7..0000000 --- a/run_cli.spec +++ /dev/null @@ -1,44 +0,0 @@ -# -*- mode: python ; coding: utf-8 -*- - - -block_cipher = None - - -a = Analysis( - ['src/run_cli.py'], - pathex=[], - binaries=[], - datas=[], - hiddenimports=[], - hookspath=[], - hooksconfig={}, - runtime_hooks=[], - excludes=[], - win_no_prefer_redirects=False, - win_private_assemblies=False, - cipher=block_cipher, - noarchive=False, -) -pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) - -exe = EXE( - pyz, - a.scripts, - a.binaries, - a.zipfiles, - a.datas, - [], - name='run_cli', - debug=False, - bootloader_ignore_signals=False, - strip=False, - upx=True, - upx_exclude=[], - runtime_tmpdir=None, - console=True, - disable_windowed_traceback=False, - argv_emulation=False, - target_arch=None, - codesign_identity=None, - entitlements_file=None, -) diff --git a/src/music_kraken.egg-info/PKG-INFO b/src/music_kraken.egg-info/PKG-INFO index 9111fb8..cb9efc9 100644 --- a/src/music_kraken.egg-info/PKG-INFO +++ b/src/music_kraken.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: music-kraken -Version: 0.0.5 +Version: 0.0.7 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 diff --git a/src/music_kraken.egg-info/SOURCES.txt b/src/music_kraken.egg-info/SOURCES.txt index c0e4819..ed469b1 100644 --- a/src/music_kraken.egg-info/SOURCES.txt +++ b/src/music_kraken.egg-info/SOURCES.txt @@ -11,23 +11,4 @@ src/music_kraken.egg-info/PKG-INFO src/music_kraken.egg-info/SOURCES.txt src/music_kraken.egg-info/dependency_links.txt src/music_kraken.egg-info/requires.txt -src/music_kraken.egg-info/top_level.txt -src/music_kraken/audio/__init__.py -src/music_kraken/audio/song.py -src/music_kraken/lyrics/__init__.py -src/music_kraken/lyrics/genius.py -src/music_kraken/lyrics/lyrics.py -src/music_kraken/metadata/__init__.py -src/music_kraken/metadata/database.py -src/music_kraken/metadata/download.py -src/music_kraken/metadata/object_handeling.py -src/music_kraken/metadata/search.py -src/music_kraken/scraping/__init__.py -src/music_kraken/scraping/file_system.py -src/music_kraken/scraping/musify.py -src/music_kraken/scraping/phonetic_compares.py -src/music_kraken/scraping/youtube_music.py -src/music_kraken/utils/__init__.py -src/music_kraken/utils/object_handeling.py -src/music_kraken/utils/phonetic_compares.py -src/music_kraken/utils/shared.py \ No newline at end of file +src/music_kraken.egg-info/top_level.txt \ No newline at end of file diff --git a/src/run_cli.py b/src/music_kraken_cli.py similarity index 100% rename from src/run_cli.py rename to src/music_kraken_cli.py