cli2 4.0.16__tar.gz → 4.0.19__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cli2-4.0.16/cli2.egg-info → cli2-4.0.19}/PKG-INFO +1 -1
- cli2-4.0.19/cli2/ansible/__init__.py +16 -0
- {cli2-4.0.16 → cli2-4.0.19/cli2.egg-info}/PKG-INFO +1 -1
- {cli2-4.0.16 → cli2-4.0.19}/cli2.egg-info/entry_points.txt +0 -3
- {cli2-4.0.16 → cli2-4.0.19}/setup.py +5 -4
- cli2-4.0.16/cli2/ansible/__init__.py +0 -9
- {cli2-4.0.16 → cli2-4.0.19}/MANIFEST.in +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/README.rst +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/classifiers.txt +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/__init__.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/ansible/action.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/ansible/playbook.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/ansible/pytest.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/ansible/variables.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/asyncio.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/cli.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/cli2.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/client.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/colors.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/configuration.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/decorators.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/display.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/__init__.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/client.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/conf.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/example.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/example_obj.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/nesting.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/obj.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/obj2.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/examples/test.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/lock.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/log.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/node.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/sphinx.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/table.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2/test.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2.egg-info/SOURCES.txt +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2.egg-info/dependency_links.txt +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2.egg-info/requires.txt +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/cli2.egg-info/top_level.txt +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/setup.cfg +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_ansible.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_ansible_variables.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_asyncio.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_cli.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_client.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_command.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_configuration.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_decorators.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_display.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_entry_point.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_group.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_inject.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_lock.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_node.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_restful.py +0 -0
- {cli2-4.0.16 → cli2-4.0.19}/tests/test_table.py +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
"""
|
|
3
|
+
Wrapping all imports in a try/except because pytest always tries to import
|
|
4
|
+
this even when we're using cli2 without ansible
|
|
5
|
+
"""
|
|
6
|
+
try:
|
|
7
|
+
from .action import (
|
|
8
|
+
ansi_escape,
|
|
9
|
+
Option,
|
|
10
|
+
AnsibleError,
|
|
11
|
+
AnsibleOptionError,
|
|
12
|
+
ActionBase,
|
|
13
|
+
)
|
|
14
|
+
from .variables import Variables
|
|
15
|
+
except ImportError:
|
|
16
|
+
pass
|
|
@@ -4,6 +4,3 @@ cli2-example = cli2.examples.obj:cli.entry_point
|
|
|
4
4
|
cli2-example-client = cli2.examples.client:cli.entry_point
|
|
5
5
|
cli2-example-nesting = cli2.examples.nesting:cli.entry_point
|
|
6
6
|
cli2-example2 = cli2.examples.obj2:cli.entry_point
|
|
7
|
-
|
|
8
|
-
[pytest11]
|
|
9
|
-
cli2-ansible-fixtures = cli2.ansible.pytest
|
|
@@ -3,7 +3,7 @@ from setuptools import setup
|
|
|
3
3
|
|
|
4
4
|
setup(
|
|
5
5
|
name='cli2',
|
|
6
|
-
version='4.0.
|
|
6
|
+
version='4.0.19',
|
|
7
7
|
setup_requires='setupmeta',
|
|
8
8
|
install_requires=[
|
|
9
9
|
'docstring_parser',
|
|
@@ -40,8 +40,9 @@ setup(
|
|
|
40
40
|
'cli2-example-nesting = cli2.examples.nesting:cli.entry_point',
|
|
41
41
|
'cli2-example-client = cli2.examples.client:cli.entry_point',
|
|
42
42
|
],
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
# breaks alotastuff
|
|
44
|
+
#'pytest11': [
|
|
45
|
+
# 'cli2-ansible-fixtures = cli2.ansible.pytest',
|
|
46
|
+
#],
|
|
46
47
|
},
|
|
47
48
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|