1 # Copyright 2019 Whitestack, LLC
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: esousa@whitestack.com or glavado@whitestack.com
22 print(setuptools
.find_packages())
25 r
'^__version__\s*=\s*["\'](.*)["\']',
26 open('generator/generator.py').read(),
27 re.MULTILINE).group(1)
29 with open('README.md', 'r') as f:
30 long_description = f.read()
33 name='osm-charm-generator',
34 packages=setuptools.find_packages(),
36 "console_scripts
": ['osm-charm-generator = generator.generator:main']
39 author='Eduardo Sousa',
40 author_email='esousa@whitestack.com',
41 description='OSM Charm Generator using Ansible',
42 long_description=long_description,
43 long_description_content_type='text/markdown',
44 url='https://osm.etsi.org',
49 'generator.actions': ['templates/*.j2'],
50 'generator.ansible-charm': ['templates/*.j2'],
51 'generator.metadata': ['templates/*.j2'],
53 include_package_data=True,
55 'Programming Language :: Python :: 3 :: Only',
56 'License :: OSI Approved :: Apache Software License',
57 'Operating System :: POSIX :: Linux',
58 'Environment :: Console',
59 'Intended Audience :: Telecommunications Industry',
60 'Natural Language :: English',
61 'Topic :: Software Development :: Code Generators'