1 Commits
0.8.1 ... 0.8.2

Author SHA1 Message Date
Lars Immisch
5cbc88607d We can get the version from git for pip installs. Fixes #3
Maybe we should tag from setup.py instead
2015-05-16 13:44:50 +02:00
2 changed files with 4 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
Version 0.8.2:
- fix #3 (we cannot get the revision from git for pip installs)
Version 0.8.1:
- document changes (this file)

View File

@@ -4,17 +4,11 @@
It is fairly complete for PCM devices and Mixer access.
'''
import subprocess
from distutils.core import setup
from distutils.extension import Extension
from sys import version
def gitrev():
rev = subprocess.check_output(['git', 'describe', '--tags', '--dirty=-dev',
'--always'])
return rev.decode('utf-8').strip()
pyalsa_version = gitrev()
pyalsa_version = '0.8.2'
# patch distutils if it's too old to cope with the "classifiers" or
# "download_url" keywords