Skip to content

Store version in project metadata#87

Open
pavelzw wants to merge 1 commit intoGarmelon:masterfrom
pavelzw:version-in-metadata
Open

Store version in project metadata#87
pavelzw wants to merge 1 commit intoGarmelon:masterfrom
pavelzw:version-in-metadata

Conversation

@pavelzw
Copy link
Contributor

@pavelzw pavelzw commented Apr 5, 2024

You can store the version in pyproject.toml as well. Most modern projects make them accessible in the __version__ variable which can be done using importlib.resources.

@pavelzw pavelzw changed the title Modernize python tooling Store version in project metadata, switch to hatchling Apr 5, 2024
@pavelzw pavelzw changed the title Store version in project metadata, switch to hatchling Store version in project metadata May 11, 2024
@pavelzw pavelzw force-pushed the version-in-metadata branch 3 times, most recently from dedacae to 87b73f4 Compare May 11, 2024 17:39
@pavelzw pavelzw force-pushed the version-in-metadata branch from 87b73f4 to f600d68 Compare May 11, 2024 17:40
@pavelzw pavelzw marked this pull request as ready for review May 11, 2024 17:41
@pavelzw
Copy link
Contributor Author

pavelzw commented May 11, 2024

@Garmelon this is ready for review

@I-Al-Istannen I-Al-Istannen force-pushed the master branch 3 times, most recently from 51496b6 to f5c4e82 Compare November 2, 2024 21:56
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.

1 participant