diff --git a/.github/workflows/pyinstaller-windows.yaml b/.github/workflows/pyinstaller-windows.yaml index 5a26688..f16f838 100644 --- a/.github/workflows/pyinstaller-windows.yaml +++ b/.github/workflows/pyinstaller-windows.yaml @@ -13,7 +13,7 @@ jobs: uses: JackMcKew/pyinstaller-action-windows@python3-10-pyinstaller-5-3 with: path: src - spec: nndownload.spec + spec: nndownload.spec requirements: requirements.txt - uses: actions/upload-artifact@v2 with: diff --git a/setup.py b/setup.py index c3b5116..97f2f05 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r") as description_file: long_description = description_file.read() -with open("requirements.txt", "r") as requirements_file: +with open("src/requirements.txt", "r") as requirements_file: requirements = requirements_file.read().split("\n") ver_path = convert_path("src/nndownload.py") diff --git a/nndownload.spec b/src/nndownload.spec similarity index 95% rename from nndownload.spec rename to src/nndownload.spec index 52e0cb1..56326ea 100644 --- a/nndownload.spec +++ b/src/nndownload.spec @@ -2,7 +2,7 @@ a = Analysis( - ['src/nndownload.py'], + ['nndownload.py'], pathex=[], binaries=[], datas=[], diff --git a/requirements.txt b/src/requirements.txt similarity index 100% rename from requirements.txt rename to src/requirements.txt