blob: c0fd5d86fc4da249796cefa9f55e580539336b30 [file] [log] [blame]
martin f. krafft0eda02e2013-07-03 19:05:34 +02001#
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#
martin f. krafft51406fb2013-07-04 07:48:44 +02009
10from reclass.version import *
Ollie Walshb029e752013-06-29 14:14:23 +010011from setuptools import setup, find_packages
martin f. krafft51406fb2013-07-04 07:48:44 +020012
martin f. krafft66b509f2013-08-27 17:41:05 +020013ADAPTERS = ['salt', 'ansible']
14console_scripts = ['reclass = reclass.cli:main']
15console_scripts.extend('reclass-{0} = reclass.adapters.{0}:cli'.format(i)
16 for i in ADAPTERS)
17
Ollie Walshb029e752013-06-29 14:14:23 +010018setup(
martin f. krafft51406fb2013-07-04 07:48:44 +020019 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(),
martin f. krafft66b509f2013-08-27 17:41:05 +020027 entry_points = { 'console_scripts': console_scripts },
martin f. krafft59cf02a2013-07-09 15:28:28 +020028 install_requires = ['pyyaml']
Ollie Walshb029e752013-06-29 14:14:23 +010029)