Installation¶
You can install SNEWS publishing tools (snews_pt) from PyPi via pip. We recommend doing things in a clean virtualenv to minimize conflicts with the rest of your python world. In the example below, using the environment named “snews2”, you can call it whatever.
Be sure you’ve added your hop credentials first.
Create a virtual environment.
virtualenv snews2
source snews2/bin/activate
Install the package from PyPi.
pip install -U snews_pt
or from the source using ssh-key,
git clone git@github.com:SNEWS2/SNEWS_Publishing_Tools.git
cd SNEWS_Publishing_Tools
pip install ./
or using https
git clone https://github.com/SNEWS2/SNEWS_Publishing_Tools.git
cd SNEWS_Publishing_Tools
pip install ./
Test the install¶
snews_pt set-name -n [detector]
snews_pt test-connection --no-firedrill