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

[Feature Request] allow user to easily check versions #32

Open
zztin opened this issue Aug 13, 2020 · 2 comments
Open

[Feature Request] allow user to easily check versions #32

zztin opened this issue Aug 13, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@zztin
Copy link
Owner

zztin commented Aug 13, 2020

Is your feature request related to a problem?

While reporting issues, uesrs are supposed to fill in the version of ctimer. However it is not easily accessible without reading the code.

Describe the solution you'd like

A --version option on launching ctimer.

@zztin zztin added the enhancement New feature or request label Aug 13, 2020
tai271828 added a commit to tai271828/ctimer that referenced this issue Aug 15, 2020
this is the very basic and straitforward method to show the verison. It will be great once we complete the packaging and parse the package version directly like the "standard" method.

issue: zztin#32
@zztin
Copy link
Owner Author

zztin commented Aug 20, 2020

@zztin zztin assigned zztin and unassigned tai271828 Sep 3, 2020
@zztin
Copy link
Owner Author

zztin commented Nov 9, 2020

@tai271828 Thanks for the PR. The current implementation of version is hard-coded. Could you try single sourcing package version number using setup.cfg?
Some hints:
https://stackoverflow.com/questions/60430112/single-sourcing-package-version-for-setup-cfg-python-projects

@zztin zztin assigned zztin and tai271828 and unassigned zztin Jan 7, 2021
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