| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| tierno | 87858ca | 2018-10-08 16:30:15 +0200 | [diff] [blame] | 2 | # -*- coding: utf-8 -*- |
| 3 | |
| beierlm | b483b92 | 2021-02-11 14:57:14 -0500 | [diff] [blame] | 4 | # Copyright ETSI OSM Contributors |
| tierno | 87858ca | 2018-10-08 16:30:15 +0200 | [diff] [blame] | 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 | |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 19 | |
| 20 | import os |
| 21 | from setuptools import setup |
| 22 | |
| 23 | here = os.path.abspath(os.path.dirname(__file__)) |
| 24 | _name = "osm_common" |
| garciadeblas | 2644b76 | 2021-03-24 09:21:01 +0100 | [diff] [blame^] | 25 | README = open(os.path.join(here, "README.rst")).read() |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 26 | |
| 27 | setup( |
| 28 | name=_name, |
| garciadeblas | 2644b76 | 2021-03-24 09:21:01 +0100 | [diff] [blame^] | 29 | description="OSM common utilities", |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 30 | long_description=README, |
| garciadeblas | 2644b76 | 2021-03-24 09:21:01 +0100 | [diff] [blame^] | 31 | version_command=( |
| 32 | "git describe --tags --long --dirty --match v*", |
| 33 | "pep440-git-full", |
| 34 | ), |
| 35 | author="ETSI OSM", |
| 36 | author_email="osmsupport@etsi.com", |
| 37 | maintainer="ETSI OSM", |
| 38 | maintainer_email="osmsupport@etsi.com", |
| 39 | url="https://osm.etsi.org/gitweb/?p=osm/common.git;a=summary", |
| 40 | license="Apache 2.0", |
| 41 | setup_requires=["setuptools-version-command"], |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 42 | packages=[_name], |
| 43 | include_package_data=True, |
| tierno | 5c01261 | 2018-04-19 16:01:59 +0200 | [diff] [blame] | 44 | ) |