1
0
mirror of https://github.com/ansible/mazer.git synced 2026-02-05 12:45:17 +01:00
Files
mazer/setup.py
2019-05-30 17:11:43 -04:00

51 lines
1.4 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import codecs
from setuptools import setup, find_packages
with codecs.open('README.rst', encoding='utf-8') as readme_file:
readme = readme_file.read()
with codecs.open('CHANGELOG.rst', encoding='utf-8') as changelog_file:
changelog = changelog_file.read()
requirements = ['six',
'PyYaml',
'jinja2',
'semantic_version',
'yamlloader',
'requests',
# used for data classes
# 18.1.0 introduces the 'factory' keyword
'attrs>=18.1.0',
]
setup_requirements = ['pytest-runner', ]
test_requirements = ['pytest', ]
entry_points = {
'console_scripts': ['mazer = ansible_galaxy_cli.__main__:main']
}
setup(
entry_points=entry_points,
install_requires=requirements,
license="GPLv3",
long_description=readme + '\n\n' + changelog,
long_description_content_type='text/x-rst',
include_package_data=True,
keywords='mazer',
packages=find_packages(include=['ansible_galaxy', 'ansible_galaxy_cli',
'ansible_galaxy.*', 'ansible_galaxy_cli.*']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/ansible/galaxy-cli',
version='1.0.0',
zip_safe=False,
)