Skip to content

m-bartlett/pathpick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pathpick logo pathpick logo

Interactive filesystem path selector TUI

About

Usage

Examples

Dependencies

  • python >= 3.7.0
  • python standard library
  • GNU Make (optional)
  • pytest (optional, for running tests)

Install

Standalone Executable Zipped App

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

Python Module

pip (Not on PyPI as of writing)

To install with pip run either

pip install . --use-feature=in-tree-build

or alternatively

make pipinstall

setuptools

To install with setup.py run either

python setup.py install

or alternatively

make setupinstall

Customization

  • --config
  • config.ini

Tests

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.

References

About

Interactive filesystem path selector TUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published