| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| 2 | # -*- coding: utf-8 -*- |
| 3 | |
| 4 | # Copyright 2020 Telefonica S.A. |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 15 | # implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | |
| sousaedu | 049cbb1 | 2022-01-05 11:39:35 +0000 | [diff] [blame^] | 19 | from setuptools import find_packages, setup |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 20 | |
| 21 | _name = "osm_ng_ro" |
| sousaedu | 96abfc2 | 2021-02-18 14:57:01 +0100 | [diff] [blame] | 22 | _version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") |
| 23 | _description = "OSM Resource Orchestrator" |
| 24 | _author = "OSM Support" |
| 25 | _author_email = "osmsupport@etsi.org" |
| 26 | _maintainer = "OSM Support" |
| 27 | _maintainer_email = "osmsupport@etsi.org" |
| 28 | _license = "Apache 2.0" |
| 29 | _url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary" |
| 30 | |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 31 | _readme = "osm-ng-ro is the New Generation Resource Orchestrator for OSM" |
| sousaedu | 96abfc2 | 2021-02-18 14:57:01 +0100 | [diff] [blame] | 32 | |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 33 | setup( |
| 34 | name=_name, |
| sousaedu | 96abfc2 | 2021-02-18 14:57:01 +0100 | [diff] [blame] | 35 | description=_description, |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 36 | long_description=_readme, |
| sousaedu | 96abfc2 | 2021-02-18 14:57:01 +0100 | [diff] [blame] | 37 | version_command=_version_command, |
| 38 | author=_author, |
| 39 | author_email=_author_email, |
| 40 | maintainer=_maintainer, |
| 41 | maintainer_email=_maintainer_email, |
| 42 | url=_url, |
| 43 | license=_license, |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 44 | packages=find_packages(exclude=["temp", "local"]), |
| 45 | include_package_data=True, |
| sousaedu | 80135b9 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 46 | setup_requires=["setuptools-version-command"], |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 47 | ) |