Parcourir la source

added make target for displaying the current version

Dimitri Korsch il y a 7 ans
Parent
commit
caee5ce167
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      Makefile

+ 3 - 0
Makefile

@@ -6,3 +6,6 @@ build:
 
 deploy:
 	python setup.py sdist upload -r pypi
+
+get_version:
+	@python -c "import nabirds; print('v{}'.format(nabirds.__version__))"