How do you set versioning in your Python packages?

Asked a year ago

What's the best way to set up versioning in Python so that I can automatically fetch the latest version like this: "object.version"?

Beckham Miranda

Saturday, October 15, 2022

Consider creating a file where you can store version information. In the file, create a __version__ attribute that stores the version as a string.

Write an answer...


Please follow our  Community Guidelines

Can't find what you're looking for?