chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

pyTransition: Consider having the version of the plugin in one place only #970

Open tahini opened 3 weeks ago

tahini commented 3 weeks ago

Currently, the version of the plugin is in the init.py file https://github.com/chairemobilite/transition/blob/main/pyTransition/pyTransition/__init__.py and in the setup.py file https://github.com/chairemobilite/transition/blob/main/pyTransition/setup.py

And they don't match. Is it possible to have the version at only one place? Or else, document the release steps to make sure sure both match?

greenscientist commented 3 weeks ago

Geopandas use this to manage it's version: https://github.com/python-versioneer/python-versioneer

I'll keep looking for other exemples.

greenscientist commented 3 weeks ago

Other comments on versionning: https://py-pkgs.org/07-releasing-versioning.html