Update local build instructions wherever setup.py is greppable.

This commit is contained in:
Lars Immisch
2025-12-10 00:49:27 +00:00
parent acc6f152a3
commit 2a2fa8f742
3 changed files with 11 additions and 30 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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
******* *******