CorrelAid / datenguide-python

MIT License
34 stars 7 forks source link

Dry version #87

Closed KonradUdoHannes closed 4 years ago

KonradUdoHannes commented 4 years ago

Introduced a single source for the version number relating to issue #82

I decided for a low tech version using a "VERSION" file included in the package containing the current version number. This has the advantage of being quite transparent in the sense that anybody trying to update the Verison in either the datenguide/init.py file or the setup.py is automatically guided the VERSION file, which in turn updates both places keeping everything consistent.

The branch also removed the setup.cfg for now, as the options where not systematically used and where not documented for the package devs. It might make sense in the future to reintroduce the setup.cfg to help package configuration, but in that case its intended uses should be documented for package developers. The setup.cfg version that was removed came from the initial cookiecutter template used for the python package and as such was not designed to fit the projects needs. It was also never naturally adopted in the development process.

KonradUdoHannes commented 4 years ago

Merged with admin privileges as, as an important pypi fix is required that needs to increase the version as well.