浏览代码

added make target for displaying the current version

Dimitri Korsch 7 年之前
父节点
当前提交
caee5ce167
共有 1 个文件被更改,包括 3 次插入0 次删除
  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__))"