forked from auracaster/pyalsaaudio
Take version from git tag
This commit is contained in:
@@ -11,8 +11,6 @@ PAPEROPT_a4 = -D latex_paper_size=a4
|
||||
PAPEROPT_letter = -D latex_paper_size=letter
|
||||
ALLSPHINXOPTS = -d doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||
|
||||
SFUSER = larsimmisch
|
||||
|
||||
.PHONY: help clean html web pickle htmlhelp latex changes linkcheck install
|
||||
|
||||
all: html
|
||||
@@ -77,4 +75,4 @@ gh-pages: html
|
||||
cp -r ./html/* gh-pages
|
||||
|
||||
publish: gh-pages
|
||||
cd gh-pages; git commit -a; git push; cd ..
|
||||
cd gh-pages; git commit -a; git push; cd ..
|
||||
|
||||
@@ -5,7 +5,7 @@ Introduction
|
||||
:Author: Casper Wilstrup <cwi@aves.dk>
|
||||
:Author: Lars Immisch <lars@ibp.de>
|
||||
|
||||
.. |release| replace:: 0.8
|
||||
.. |release| replace:: version
|
||||
|
||||
.. % At minimum, give your name and an email address. You can include a
|
||||
.. % snail-mail address if you like.
|
||||
@@ -116,7 +116,7 @@ First of all, run::
|
||||
|
||||
This is a small test suite that mostly performs consistency tests. If
|
||||
it fails, please file a `bug report
|
||||
<http://sourceforge.net/tracker/?group_id=120651>`_.
|
||||
<https://github.com/larsimmisch/pyalsaaudio/issues>`_.
|
||||
|
||||
To test PCM recordings (on your default soundcard), verify your
|
||||
microphone works, then do::
|
||||
|
||||
8
setup.py
8
setup.py
@@ -4,11 +4,17 @@
|
||||
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
|
||||
|
||||
pyalsa_version = '0.8'
|
||||
def gitrev():
|
||||
rev = subprocess.check_output(['git', 'describe', '--tags', '--dirty=-dev',
|
||||
'--always'])
|
||||
return rev.decode('utf-8').strip()
|
||||
|
||||
pyalsa_version = gitrev()
|
||||
|
||||
# patch distutils if it's too old to cope with the "classifiers" or
|
||||
# "download_url" keywords
|
||||
|
||||
Reference in New Issue
Block a user