zorkian / nagios-api

A REST-like, JSON interface to Nagios
BSD 3-Clause "New" or "Revised" License
586 stars 173 forks source link

add some basic support for virtualenv #33

Closed neoice closed 11 years ago

neoice commented 11 years ago

I try to run all my python code in virtualenvs. I added a basic requirements file for pip. I created it by running each script and then performing pip install $foo until the import errors went away. I then did a pip freeze.

nagios-cli also needed to use #!/usr/bin/env python instead of #!/usr/bin/python

zorkian commented 11 years ago

Thanks!