File: setup.py

package info (click to toggle)
reclass 1.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 612 kB
  • ctags: 490
  • sloc: python: 2,173; makefile: 180; sh: 4
file content (29 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (2)
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
#
# -*- coding: utf-8 -*-
#
# This file is part of reclass (http://github.com/madduck/reclass)
#
# Copyright © 2007–13 martin f. krafft <madduck@madduck.net>
# Released under the terms of the Artistic Licence 2.0
#

from reclass.version import *
from setuptools import setup, find_packages

ADAPTERS = ['salt', 'ansible']
console_scripts = ['reclass = reclass.cli:main']
console_scripts.extend('reclass-{0} = reclass.adapters.{0}:cli'.format(i)
                       for i in ADAPTERS)

setup(
    name = RECLASS_NAME,
    description = DESCRIPTION,
    version = VERSION,
    author = AUTHOR,
    author_email = AUTHOR_EMAIL,
    license = LICENCE,
    url = URL,
    packages = find_packages(),
    entry_points = { 'console_scripts': console_scripts },
    install_requires = ['pyyaml']
)