File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 2323try :
2424 from . import mrob
2525
26+ from pkg_resources import get_distribution
27+
28+ __version__ = get_distribution ('mrob' ).version
29+
2630 for module in dir (mrob ):
2731 n = len (module ) - 1
2832 if not (module [:2 ] == '__' and module [n :n - 2 :- 1 ] == '__' ) and module .count ('.' ) == 0 :
Original file line number Diff line number Diff line change 2323[metadata]
2424name = mrob
2525home-page = https://github.com/MobileRoboticsSkoltech/mrob
26+ author = Gonzalo Ferrer
27+ author_email = G.Ferrer@skoltech.ru
28+ url = https://github.com/MobileRoboticsSkoltech/mrob
29+ download_url = https://github.com/MobileRoboticsSkoltech/mrob
30+ description = The Skoltech Mobile Robotics library (mrob) is a framework for implementing robotics research and projects.
31+ platforms = any
2632maintainer = Gonzalo Ferrer
2733maintainer_email = G.Ferrer@skoltech.ru
2834long-description = file: README.md
Original file line number Diff line number Diff line change @@ -55,8 +55,11 @@ def get_tag(self):
5555except ImportError :
5656 bdist_wheel = None
5757
58-
5958setuptools .setup (
60- version_config = True ,
59+ version_config = {
60+ "dev_template" : "{tag}.{branch}.post{ccount}+git.{sha}" ,
61+ "dirty_template" : "{tag}.{branch}.post{ccount}+git.{sha}.dirty" ,
62+ },
63+ setup_requires = ['setuptools-git-versioning' ],
6164 cmdclass = {'bdist_wheel' : bdist_wheel }
6265)
You can’t perform that action at this time.
0 commit comments