Enable pylint in NG-SA
[osm/NG-SA.git] / osm_webhook_translator / setup.py
1 #!/usr/bin/env python3
2 #
3 # Copyright ETSI Contributors and Others.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14 # implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17
18 import os
19
20 from setuptools import find_namespace_packages, setup
21
22 exec(open("src/osm_webhook_translator/_version.py").read())
23
24 _name = "osm_webhook_translator"
25 _description = "OSM Webhook Translator"
26 with open(os.path.join(".", "README.rst")) as readme_file:
27 README = readme_file.read()
28
29 setup(
30 name=_name,
31 description=_description,
32 long_description=README,
33 version=__version__, # noqa: F821 # pylint: disable=E0602
34 author="ETSI OSM",
35 author_email="osmsupport@etsi.org",
36 maintainer="ETSI OSM",
37 maintainer_email="osmsupport@etsi.org",
38 url="https://osm.etsi.org/gitweb/?p=osm/NG-SA.git;a=summary",
39 license="Apache 2.0",
40 package_dir={"": "src"},
41 packages=find_namespace_packages(where="src"),
42 include_package_data=True,
43 )