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

Add package version number #76

Closed
DerekChia opened this issue Nov 22, 2022 · 1 comment
Closed

Add package version number #76

DerekChia opened this issue Nov 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@DerekChia
Copy link

Add package version number (in dunders format) so that user can track the current installed version easily.

Example: clickhouse_connect.__version__

Reference: https://packaging.python.org/en/latest/guides/single-sourcing-package-version/

@DerekChia DerekChia added the enhancement New feature or request label Nov 22, 2022
@genzgd
Copy link
Collaborator

genzgd commented Nov 22, 2022

As of 0.4.3, the VERSION file is now copied correctly into any distribution.
See option 4 of https://packaging.python.org/en/latest/guides/single-sourcing-package-version/. Using this file is somewhat more straightforward for CI/CD builds.

@genzgd genzgd closed this as completed Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants