Learning log - cma-open/cmatools GitHub Wiki
Prompts and reminders of learning events during development
-
Setup and tests
- Selected to use 'pip install -e .' for development builds and 'pip install .' for local build over the use of 'python setup.py install' and 'python setup.py develop'
- Pip provides further functionality e.g. re uninstalling
-
Command line testing
- Many examples of command line testing use os.system to call command line scripts
- However generally preferable to use subprocess as a newer package that has additional functionality and deals better with varied operating systems
-
Python string formatting
- Using f strings, as the current preferred formatter
In-progress
- init vs namespace packages
- setup.py vs pyproject.toml
In-progress refs