This package contains scripting related utilities.
This software is provided for research purposes only. Use at own risk.
Via ssh:
git clone git@github.com:pnwairfire/afscripting.git
or http:
git clone https://github.com/pnwairfire/afscripting.git
Run the following to install required python packages as well as useful dev packages:
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -r requirements-test.txt
To import afscripting in development, you'll have to add the repo root directory to the search path. Some of the scripts bin do this automatically.
First, install pip (with sudo if necessary):
apt-get install python-pip
Then, to install, for example, v3.0.1, use the following (with sudo if necessary):
pip install --extra-index https://pypi.airfire.org/simple afscripting==3.0.1
If you get an error like AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex, it means you need in upgrade pip. One way to do so is with the following:
pip install --upgrade pip
Run
py.test