Filip Pytloun | fff50fc | 2015-06-24 14:57:21 +0200 | [diff] [blame^] | 1 | # |
| 2 | # -*- coding: utf-8 -*- |
| 3 | # |
| 4 | # This file is part of reclass (http://github.com/madduck/reclass) |
| 5 | # |
| 6 | # Copyright © 2007–13 martin f. krafft <madduck@madduck.net> |
| 7 | # Released under the terms of the Artistic Licence 2.0 |
| 8 | # |
| 9 | |
| 10 | from reclass.version import * |
| 11 | from setuptools import setup, find_packages |
| 12 | |
| 13 | ADAPTERS = ['salt', 'ansible'] |
| 14 | console_scripts = ['reclass = reclass.cli:main'] |
| 15 | console_scripts.extend('reclass-{0} = reclass.adapters.{0}:cli'.format(i) |
| 16 | for i in ADAPTERS) |
| 17 | |
| 18 | setup( |
| 19 | name = RECLASS_NAME, |
| 20 | description = DESCRIPTION, |
| 21 | version = VERSION, |
| 22 | author = AUTHOR, |
| 23 | author_email = AUTHOR_EMAIL, |
| 24 | license = LICENCE, |
| 25 | url = URL, |
| 26 | packages = find_packages(), |
| 27 | entry_points = { 'console_scripts': console_scripts }, |
| 28 | install_requires = ['pyyaml'] |
| 29 | ) |