Standalone Script
Normally, verchew
is installed using pip
, but given the variety of environments in which this program is run, you might be in a situation where pip
:
- is not installed
- does not have the correct permissions to install
verchew
- does not have network access to PyPI
For this reason, verchew
can also be embedded into your project as a standalone Python script.
Setup
Create a bin/
directory in your project:
1 | $ mkdir -p bin |
Download the standalone script:
1 2 | $ wget https://raw.githubusercontent.com/jacebrowning/verchew/master/verchew/script.py $ mv script.py bin/verchew |
Ensure the script has executable permissions:
1 | $ chmod a+x bin/verchew |
Usage
To check the versions of your system dependencies simply run:
1 | $ bin/verchew |
An example of a project configured this way can be found here.