Skip to content

Commit 07a0cf3

Browse files
Oliver SchoenbornOliver Schoenborn
authored andcommitted
add more maintenance notes
1 parent c33f268 commit 07a0cf3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,17 @@ Maintenance
433433
- Increase the package version in setup.cfg and setup.py
434434
- Add a python version if latest python is not in `tox.ini`
435435

436+
Notes for Ubuntu:
437+
- My experience today installing python 3.5 to 3.11 on Ubuntu 18 was surprisingly not smooth. I had to use these
438+
commands:
439+
- sudo apt install python3.5 (ok)
440+
- sudo apt install python3.x-distutils for x=9,10,11
441+
- had to use `python -m pip` intead of just `pip` otherwise wrong version would get found
442+
- used `sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.x 1` for all x
443+
- used `sudo update-alternatives --config python` to choose which python active
444+
- had to install setuptools from git repo otherwise weird pip error (used https://stackoverflow.com/a/69573368/869951)
445+
- note however that once the correct tox installed,
446+
436447

437448
Acknowledgements
438449
----------------

0 commit comments

Comments
 (0)