Dynamic version and Makefile target to generate a distribution

The version is extracted from the last tag name minus the 'release/'
prefix.

* AUTHORS: Add mysel as contributor.

* setup.py: Add a function to get version from extracted version.in file
  or from the last tag name.

* Makefile: Add a target to generate the version.in file from the last
  tag name.

* .gitignore: Ignore the version.in file.
This commit is contained in:
Daniel Dehennin
2012-07-24 14:13:27 +02:00
parent 5024751d3d
commit 5730a97728
4 changed files with 48 additions and 6 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
*~
*#
*.pyc
version.in
build/