aboutsummaryrefslogtreecommitdiffstats
path: root/python_moonclient/setup.py
blob: 847f62e73afde745b05fa1e9163346fcb9f3b4b3 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copyright 2015 Open Platform for NFV Project, Inc. and its contributors
# This software is distributed under the terms and conditions of the 'Apache-2.0'
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.

from setuptools import setup, find_packages
import python_moonclient
import python_moonclient.core

with open('requirements.txt') as f:
    required = f.read().splitlines()


setup(

    name='python-moonclient',

    version=python_moonclient.__version__,

    packages=find_packages(),

    author='Thomas Duval & Ruan He',

    author_email='thomas.duval@orange.com, ruan.he@orange.com',

    description='client lib for all the Moon components',

    long_description=open('README.md').read(),

    install_requires=required,

    include_package_data=True,

    url='https://git.opnfv.org/cgit/moon',

    classifiers=[
        'Programming Language :: Python :: 3',
        'Development Status :: 1 - Planning',
        'License :: OSI Approved',
        'Natural Language :: English',
        'Operating System :: OS Independent',
    ],

    entry_points={
        'console_scripts': [
            'moon = python_moonclient.moon:main'
        ],
        'moon': [
          'pdp_list = python_moonclient.cli.pdps:Pdps',
          'pdp_create = python_moonclient.cli.pdps:CreatePdp',
          'pdp_delete = python_moonclient.cli.pdps:DeletePdp',
          'pdp_map = python_moonclient.cli.pdps:MapPdp',
          'policy_list = python_moonclient.cli.policies:Policies',
          'policy_delete = python_moonclient.cli.policies:DeletePolicy',
          'project_list = python_moonclient.cli.projects:Projects',
          'slave_list = python_moonclient.cli.slaves:Slaves',
          'slave_set = python_moonclient.cli.slaves:SetSlave',
          'slave_delete = python_moonclient.cli.slaves:DeleteSlave',
          'authz_send = python_moonclient.cli.authz:SendAuthz'
        ], 
    }

)