zztin / ctimer

This is a python implementation of a famous time management technique. CTimer helps you keep track of your productivity during the day, and help you set realistic goals for your day.
Apache License 2.0
0 stars 1 forks source link

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

Open zztin opened 4 years ago

zztin commented 4 years ago

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 commented 4 years ago

https://packaging.python.org/guides/single-sourcing-package-version/#single-sourcing-the-version

zztin commented 3 years ago

@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