mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-06 02:15:22 +00:00
yandextank and yandextank.plugins are namespace packages from now on
This commit is contained in:
parent
3cc0e24f23
commit
8b7989c764
3
setup.py
3
setup.py
@ -13,7 +13,8 @@ analytic tools for the results they produce.
|
||||
maintainer='Alexey Lavrenuke (load testing)',
|
||||
maintainer_email='direvius@yandex-team.ru',
|
||||
url='http://yandex.github.io/yandex-tank/',
|
||||
packages=find_packages(exclude=["tests"]),
|
||||
namespace_packages=["yandextank", "yandextank.plugins"],
|
||||
packages=find_packages(exclude=["tests", "tmp", "docs", "data"]),
|
||||
install_requires=[
|
||||
'psutil>=1.2.1',
|
||||
'ipaddr',
|
||||
|
@ -0,0 +1,7 @@
|
||||
# this is a namespace package
|
||||
try:
|
||||
import pkg_resources
|
||||
pkg_resources.declare_namespace(__name__)
|
||||
except ImportError:
|
||||
import pkgutil
|
||||
__path__ = pkgutil.extend_path(__path__, __name__)
|
1
yandextank/plugins/RCAssert/__init__.py
Normal file
1
yandextank/plugins/RCAssert/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from plugin import *
|
1
yandextank/plugins/ResourceCheck/__init__.py
Normal file
1
yandextank/plugins/ResourceCheck/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from plugin import *
|
1
yandextank/plugins/ShellExec/__init__.py
Normal file
1
yandextank/plugins/ShellExec/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from plugin import *
|
@ -1,3 +1,7 @@
|
||||
'''
|
||||
Package contains all original tank tool plugins
|
||||
'''
|
||||
# this is a namespace package
|
||||
try:
|
||||
import pkg_resources
|
||||
pkg_resources.declare_namespace(__name__)
|
||||
except ImportError:
|
||||
import pkgutil
|
||||
__path__ = pkgutil.extend_path(__path__, __name__)
|
||||
|
Loading…
Reference in New Issue
Block a user