diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2020-04-15 12:47:09 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2020-04-15 12:47:09 +0200 |
| commit | 08f5fd4715530cfa5596134b15b7c0c1fac6447f (patch) | |
| tree | d59a7155c16ecf362c32f83d828121c28bc2bccd | |
| parent | 732f10d4d0da3742783705141f4dd63a0dc5646e (diff) | |
CONTRIBUTING: Separate subsections
| -rw-r--r-- | CONTRIBUTING.rst | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 218dc72..e09c3c6 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -1,17 +1,21 @@ Contributing ------------- +============ If you find bugs, errors, omissions or other things that need improvement, please create an issue or a pull request at https://github.com/spatialaudio/python-sounddevice/. Contributions are always welcome! + +Development Installation +------------------------ + Instead of pip-installing the latest release from PyPI_, you should get the -newest development version from Github_:: +newest development version (a.k.a. "master") from Github_:: git clone --recursive https://github.com/spatialaudio/python-sounddevice.git cd python-sounddevice - python3 setup.py develop --user + python3 -m pip install -e . --user .. _PyPI: https://pypi.org/project/sounddevice/ .. _Github: https://github.com/spatialaudio/python-sounddevice/ @@ -19,12 +23,6 @@ newest development version from Github_:: This way, your installation always stays up-to-date, even if you pull new changes from the Github repository. -If you prefer, you can also replace the last command with:: - - python3 -m pip install --user -e . - -... where ``-e`` stands for ``--editable``. - Whenever the file ``sounddevice_build.py`` changes (either because you edited it or it was updated by pulling from Github or switching branches), you have to run the last command again. @@ -35,13 +33,17 @@ If not, you can get the submodule with:: git submodule update --init + +Building the Documentation +-------------------------- + If you make changes to the documentation, you can locally re-create the HTML pages using Sphinx_. You can install it and a few other necessary packages with:: python3 -m pip install -r doc/requirements.txt --user -To create the HTML pages, use:: +To (re-)build the HTML files, use:: python3 setup.py build_sphinx |
