2018-08-12 09:47:32 -07:00
|
|
|
"""
|
2018-08-27 17:56:10 -07:00
|
|
|
Simplest plugin that exercises all the hooks
|
2018-08-12 09:47:32 -07:00
|
|
|
"""
|
|
|
|
|
from tljh.hooks import hookimpl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@hookimpl
|
|
|
|
|
def tljh_extra_user_conda_packages():
|
|
|
|
|
return [
|
|
|
|
|
'hypothesis',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@hookimpl
|
|
|
|
|
def tljh_extra_user_pip_packages():
|
|
|
|
|
return [
|
|
|
|
|
'django',
|
|
|
|
|
]
|
|
|
|
|
|
2019-05-31 16:52:51 -07:00
|
|
|
@hookimpl
|
|
|
|
|
def tljh_extra_hub_pip_packages():
|
|
|
|
|
return [
|
|
|
|
|
'there',
|
|
|
|
|
]
|
2018-08-12 09:47:32 -07:00
|
|
|
|
|
|
|
|
@hookimpl
|
|
|
|
|
def tljh_extra_apt_packages():
|
|
|
|
|
return [
|
|
|
|
|
'sl',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@hookimpl
|
|
|
|
|
def tljh_config_post_install(config):
|
|
|
|
|
# Put an arbitrary marker we can test for
|
|
|
|
|
config['simplest_plugin'] = {
|
|
|
|
|
'present': True
|
|
|
|
|
}
|