forked from auracaster/pyalsaaudio
Update local build instructions wherever setup.py is greppable.
This commit is contained in:
@@ -46,14 +46,9 @@ First, get the sources and change to the source directory:
|
|||||||
$ cd pyalsaaudio
|
$ cd pyalsaaudio
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, build:
|
Then, build and install:
|
||||||
```
|
```
|
||||||
$ python setup.py build
|
$ pip install .
|
||||||
```
|
|
||||||
|
|
||||||
And install:
|
|
||||||
```
|
|
||||||
$ sudo python setup.py install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Using the API
|
# Using the API
|
||||||
|
|||||||
@@ -1,28 +1,18 @@
|
|||||||
# Make a new release
|
# Make a new release
|
||||||
|
|
||||||
Update the version in setup.py
|
Create and push a tag naming the version (i.e. 0.11.1):
|
||||||
|
|
||||||
pyalsa_version = '0.9.0'
|
git tag 0.11.1
|
||||||
|
git push origin 0.11.1
|
||||||
|
|
||||||
Commit and push the update.
|
This should trigger a build via a github actions and publish pre-built binaries to pypi.org
|
||||||
|
|
||||||
Create and push a tag naming the version (i.e. 0.9.0):
|
|
||||||
|
|
||||||
git tag 0.9.0
|
|
||||||
git push origin 0.9.0
|
|
||||||
|
|
||||||
Create the package:
|
|
||||||
|
|
||||||
python3 setup.py sdist
|
|
||||||
|
|
||||||
Upload the package
|
|
||||||
|
|
||||||
twine upload dist/*
|
|
||||||
|
|
||||||
Don't forget to update the documentation.
|
|
||||||
|
|
||||||
# Publish the documentation
|
# Publish the documentation
|
||||||
|
|
||||||
|
All commits to main should trigger a rebuild of the documentation.
|
||||||
|
|
||||||
|
## Historical background
|
||||||
|
|
||||||
The documentation is published through the `gh-pages` branch.
|
The documentation is published through the `gh-pages` branch.
|
||||||
|
|
||||||
To publish the documentation, you need to clone the `gh-pages` branch of this repository into
|
To publish the documentation, you need to clone the `gh-pages` branch of this repository into
|
||||||
|
|||||||
@@ -86,11 +86,7 @@ ship with ALSA kernels.
|
|||||||
|
|
||||||
To install, execute the following: --- ::
|
To install, execute the following: --- ::
|
||||||
|
|
||||||
$ python setup.py build
|
$ pip install .
|
||||||
|
|
||||||
And then as root: --- ::
|
|
||||||
|
|
||||||
# python setup.py install
|
|
||||||
|
|
||||||
|
|
||||||
*******
|
*******
|
||||||
|
|||||||
Reference in New Issue
Block a user