Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

27 feature request build executable based on project version in pyprojecttoml #30

Conversation

thmahe
Copy link
Owner

@thmahe thmahe commented Sep 4, 2024

Following #27

  • NEW OPTION tool.poetry-pyinstaller-plugin.scripts.<TARGET>.when
    • Restrict build based on package version tool.poetry.version
    • Two possible options: release or prerelease, if unset target is always built (legacy)
    • prerelease built when a, b or rc in package version (see PEP440), targets marked with when="release" are skipped.
  • NEW OPTION tool.poetry-pyinstaller-plugin.scripts.<TARGET>.add_version
    • Package version added as suffix to executable eg: my-bin-2.0.0

@thmahe thmahe merged commit 37e1aea into master Sep 4, 2024
5 checks passed
@thmahe thmahe deleted the 27-feature-request-build-executable-based-on-project-version-in-pyprojecttoml branch September 4, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Build executable based on project version in pyproject.toml
1 participant