blob: 5015efae9ac1b3d10558c11c42de5abdd3b124d4 [file] [log] [blame]
Eduardo Sousa9aef1dc2019-03-20 13:36:24 +00001# Copyright 2019 Whitestack, LLC
2#
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
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, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14#
15# For those usages not covered by the Apache License, Version 2.0 please
16# contact: esousa@whitestack.com or glavado@whitestack.com
17##
18
19import re
20import setuptools
21
22version = re.search(
23 r'^__version__\s*=\s*["\'](.*)["\']',
24 open('generator/generator.py').read(),
25 re.MULTILINE).group(1)
26
27with open('README.md', 'r') as f:
28 long_description = f.read()
29
30setuptools.setup(
31 name='osm-charm-generator',
32 packages=setuptools.find_packages(),
33 entry_points={
34 "console_scripts": ['osm-charm-generator = generator.generator:main']
35 },
36 version=version,
37 author='Eduardo Sousa',
38 author_email='esousa@whitestack.com',
39 description='OSM Charm Generator using Ansible',
40 long_description=long_description,
41 long_description_content_type='text/markdown',
42 url='https://osm.etsi.org',
43 install_requires=[
44 'Jinja2>=2.10'
45 ],
46 classifiers=[
47 'Programming Language :: Python :: 3 :: Only',
48 'License :: OSI Approved :: Apache Software License',
49 'Operating System :: POSIX :: Linux',
50 'Environment :: Console',
51 'Intended Audience :: Telecommunications Industry',
52 'Natural Language :: English',
53 'Topic :: Software Development :: Code Generators'
54 ]
55)