diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index c9b9ed61..5e5faa0f 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -19,5 +19,4 @@ jobs: package_name: peptdeep commitish_to_release: ${{ inputs.commitish_to_release }} build_nodejs_ui: false - use_pyproject_toml: true python_version: 3.9 diff --git a/.github/workflows/publish_on_pypi.yml b/.github/workflows/publish_on_pypi.yml index 0e670cf9..8f21fc54 100644 --- a/.github/workflows/publish_on_pypi.yml +++ b/.github/workflows/publish_on_pypi.yml @@ -17,7 +17,8 @@ jobs: package_name: peptdeep tag_to_release: ${{ inputs.tag_to_release }} python_version: 3.9 - use_pyproject_toml: false + use_pyproject_toml: true + only_testpypi_release: true secrets: test_pypi_api_token: ${{ secrets.TEST_PYPI_PEPTDEEP_API_TOKEN }} pypi_api_token: ${{ secrets.PYPI_PEPTDEEP_API_TOKEN }} diff --git a/release/windows/build_installer_windows.ps1 b/release/windows/build_installer_windows.ps1 index b0f9de92..906115ae 100644 --- a/release/windows/build_installer_windows.ps1 +++ b/release/windows/build_installer_windows.ps1 @@ -8,7 +8,7 @@ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue ./build_pyinstaller Remove-Item -Recurse -Force -ErrorAction SilentlyContinue ./dist_pyinstaller # Creating the wheel -python setup.py sdist bdist_wheel +python -m build # Make sure you include the required extra packages and always use the stable or very-stable options! pip install "dist/peptdeep-1.3.0-py3-none-any.whl[stable, gui-stable]"