-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 851 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
pytest.main(self.test_args)
setup(
name='ansible_playbook_wrapper',
version='0.0.1',
description='wrapper for ansible-playbook',
author='Satoshi Ebihara',
author_email='[email protected]',
url='http://succhiello.net',
packages=find_packages(),
install_requires=['ansible'],
tests_require=['pytest'],
cmdclass={'test': PyTest},
entry_points={
'console_scripts': [
'ansible-playbook-wrapper = ansible_playbook_wrapper:main',
],
}
)