| garciadeblas | 8d41d56 | 2022-11-24 14:42:35 +0100 | [diff] [blame^] | 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 | from setuptools import setup, find_packages, find_namespace_packages |
| 20 | |
| 21 | _name = "osm_ngsa" |
| 22 | _description = "OSM Service Assurance Airflow DAGs and libraries" |
| 23 | with open(os.path.join(".", "README.rst")) as readme_file: |
| 24 | README = readme_file.read() |
| 25 | |
| 26 | setup( |
| 27 | name=_name, |
| 28 | description=_description, |
| 29 | long_description=README, |
| 30 | use_scm_version={ |
| 31 | "write_to": "src/osm_ngsa/_version.py" |
| 32 | }, |
| 33 | author="ETSI OSM", |
| 34 | author_email="osmsupport@etsi.org", |
| 35 | maintainer="ETSI OSM", |
| 36 | maintainer_email="osmsupport@etsi.org", |
| 37 | url="https://osm.etsi.org/gitweb/?p=osm/NG-SA.git;a=summary", |
| 38 | license="Apache 2.0", |
| 39 | package_dir={"": "src"}, |
| 40 | packages=find_namespace_packages(where='src'), |
| 41 | include_package_data=True, |
| 42 | setup_requires=["setuptools-scm"], |
| 43 | ) |
| 44 | |