0cfa23c7a54499228be14da59e88d5720dc7a2a7
[ta/config-manager.git] / hostcli / setup.py
1 # Copyright 2019 Nokia
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #!/usr/bin/env python
16
17 PROJECT = 'cmcli'
18
19 VERSION = '0.2'
20
21 from setuptools import setup, find_packages
22
23 setup(
24     name=PROJECT,
25     version=VERSION,
26     description='config-manager CLI',
27     author='Baha Mesleh',
28     author_email='baha.mesleh@nokia.com',
29     platforms=['Any'],
30     scripts=[],
31     provides=[],
32     install_requires=['hostcli'],
33     namespace_packages=['cmcli'],
34     packages=find_packages('src'),
35     include_package_data=True,
36     package_dir={'': 'src'},
37     entry_points={
38         'hostcli.commands': [
39             'config-manager show property = cmcli.cm:ShowProperty',
40             'config-manager list properties = cmcli.cm:ListProperties',
41             'config-manager delete property = cmcli.cm:DeleteProperty',
42             'config-manager set property = cmcli.cm:SetProperty',
43             'config-manager dump-to-file property = cmcli.cm:DumpPropertyToFile'
44         ],
45     },
46     zip_safe=False,
47 )
48