Support version of tosca_simple_yaml_1_1
[parser.git] / policy2tosca / setup.py
1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
4 #
5 #    http://www.apache.org/licenses/LICENSE-2.0
6 #
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10 # implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 #!/usr/bin/env python
15
16 PROJECT = 'policy2tosca'
17
18 # Change docs/sphinx/conf.py too!
19 VERSION = '0.1'
20
21 from setuptools import setup, find_packages
22
23 try:
24     long_description = open('README.rst', 'rt').read()
25 except IOError:
26     long_description = ''
27
28 setup(
29     name=PROJECT,
30     version=VERSION,
31
32     description='Parser policy2tosca',
33     long_description=long_description,
34
35     author='Shiva Charan M S',
36     author_email='shiva-charan.m-s@hpe.com',
37
38     url='',
39     download_url='',
40
41     classifiers=['License :: OSI Approved :: Apache Software License',
42                  'Programming Language :: Python',
43                  'Programming Language :: Python :: 2',
44                  'Programming Language :: Python :: 2.7',
45                  'Programming Language :: Python :: 3',
46                  'Programming Language :: Python :: 3.2',
47                  'Intended Audience :: Developers',
48                  'Environment :: Console',
49                  ],
50
51     platforms=['Any'],
52
53     scripts=[],
54
55     provides=[],
56     install_requires=['cliff'],
57
58     namespace_packages=[],
59     packages=find_packages(),
60     include_package_data=True,
61
62     entry_points={
63         'console_scripts': [
64             'policy2tosca = policy2tosca.main:main'
65         ],
66         'cliff.demo': [
67             'delete-type = policy2tosca.del_type:Delete_type',
68             'delete-definition = policy2tosca.del_definition:Delete_definition',
69             'add-type = policy2tosca.Add_type:add_type',
70             'add-definition = policy2tosca.add_definition:Add_definition',
71         ],
72     },
73
74     zip_safe=False,
75 )