Browse Source

hookrunner interpreter path.

Add a comment to the "hookrunner" script explaining to change
the interpreter path if needed.
zPlus 4 years ago
parent
commit
936ebbea0f
1 changed files with 7 additions and 0 deletions
  1. 7 0
      pagure/hooks/files/hookrunner

+ 7 - 0
pagure/hooks/files/hookrunner

@@ -6,6 +6,12 @@
 
  Authors:
    Patrick Uiterwijk <puiterwijk@redhat.com>
+ 
+ Notes:
+   If you've installed Pagure with a virtual environment, replace the
+   interpreter path like this:
+   
+   #!/path/to/pagure_env/bin/python
 
 """
 
@@ -13,6 +19,7 @@ from __future__ import unicode_literals, absolute_import
 
 import os
 import sys
+ 
 # The following is only needed if you did not install pagure
 # as a python module (for example if you run it from a git clone).
 #sys.path.insert(0, '/path/to/pagure/')