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

Request: A build-system independent way to get the version from a package source directory #579

Open
mwtoews opened this issue Feb 9, 2023 · 2 comments

Comments

@mwtoews
Copy link

mwtoews commented Feb 9, 2023

This question was asked on StackOverflow, but it seems there are presently no tools that does this. Build is the only tool that I'm aware of that is able to generate the package version in a build-system independent way.

The request here is to add a (e.g.) --package-version option that returns the package version to stdout.

@sinoroc
Copy link

sinoroc commented Mar 8, 2023

@mgedmin
Copy link

mgedmin commented Oct 9, 2024

I am also searching for a replacement for python setup.py --name, python setup.py --version and python setup.py --long-description commands.

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

No branches or pull requests

3 participants