Created
May 8, 2015 11:39
-
-
Save hpk42/7d265ebe89b7b71eb6a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tox import hookimpl | |
class GlobinterpreterPlugin: | |
@hookimpl | |
def tox_configure(self, config): | |
self.config = config | |
# postprocess config | |
@hookimpl | |
def tox_get_python_executable(self, name): | |
return path-to-pyhon-executable | |
@hookimpl | |
def tox_addoption(self, parser): | |
add command line options |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried this::
But I only get the "GIP loading ...." message. When I make the methods into global functions (and dropping the
self
parameter) they all get called. Am I missing something obvious? I can move forward, so this is not urgent.