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 __version__ support #615

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LakshmanKishore
Copy link

Summary:
I have made the following changes to improve version management in the hdbscan project:

  • Created a new file named version.py in the hdbscan folder.
  • Defined a constant VERSION within version.py to store the version of the package.
  • Updated the version management approach to use version.py for version information.

Details:
In the past, the version of the hdbscan package used to be updated directly in the setup.py file. With these changes, we now store the version in the version.py file, which is accessible in both the __init__.py and setup.py files. This approach follows the common Python practice of managing the version in a dedicated file for improved consistency and ease of access.

Expected Behavior:
After this change, the version of the hdbscan package can be consistently accessed from version.py and can be easily imported into other parts of the project, including the __init__.py and setup.py files. Users can now access the package version using hdbscan.__version__.

@LakshmanKishore
Copy link
Author

Dear maintainers,

I kindly request that you consider tagging this contribution with the 'hacktoberfest-accepted' label or adding the 'hacktoberfest' topic to the repository. This would make it easier for participants in Hacktoberfest to find and contribute to this project.

Thank you!

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