Interactive filesystem path selector TUI
- python >= 3.7.0
- python standard library
- GNU Make (optional)
- pytest (optional, for running tests)
This method does not make any changes to your python site packages.
This installation method uses the zipapp
module. Python can execute a zip of python files so long as the first bytes of the zip are a hashbang (e.g. #!/usr/bin/python
) and the zip has the executable bit set.
To install an executable named pathpick
to /usr/local/bin/
by default, run:
make install
Modify the PREFIX
environment variable to change this:
PREFIX=~/.local make install
Ensure $PREFIX/bin
is in your $PATH
for easy execution, and verify such with:
pathpick --version
To install with pip run either
pip install . --use-feature=in-tree-build
or alternatively
make pipinstall
To install with setup.py run either
python setup.py install
or alternatively
make setupinstall
- --config
- config.ini
If you have pytest installed, simply execute pytest
in the root of this repository.
Alternatively, try make test
to install pytest to a temporary python virtual environment, execute pytest
from this virtual environment, and destroy the virtual environment after the testing is completed.
- gist on how to create Python zipapp web apps
- https://makefiletutorial.com