blob: 4172fc8a5ee0324a4b2e91eede7488b1d075d884 [file] [log] [blame]
tierno5c012612018-04-19 16:01:59 +02001#!/usr/bin/env python3
tierno87858ca2018-10-08 16:30:15 +02002# -*- coding: utf-8 -*-
3
beierlmb483b922021-02-11 14:57:14 -05004# Copyright ETSI OSM Contributors
tierno87858ca2018-10-08 16:30:15 +02005#
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
tierno5c012612018-04-19 16:01:59 +020019
20import os
aticig3dd0db62022-03-04 19:35:45 +030021
tierno5c012612018-04-19 16:01:59 +020022from setuptools import setup
23
24here = os.path.abspath(os.path.dirname(__file__))
25_name = "osm_common"
garciadeblas2644b762021-03-24 09:21:01 +010026README = open(os.path.join(here, "README.rst")).read()
tierno5c012612018-04-19 16:01:59 +020027
garciadeblasebebbbc2025-05-08 12:59:42 +020028# Read requirements
29with open("requirements.txt") as f:
30 requirements = f.read().splitlines()
31
tierno5c012612018-04-19 16:01:59 +020032setup(
33 name=_name,
garciadeblas2644b762021-03-24 09:21:01 +010034 description="OSM common utilities",
tierno5c012612018-04-19 16:01:59 +020035 long_description=README,
garciadeblas2644b762021-03-24 09:21:01 +010036 version_command=(
37 "git describe --tags --long --dirty --match v*",
38 "pep440-git-full",
39 ),
40 author="ETSI OSM",
41 author_email="osmsupport@etsi.com",
42 maintainer="ETSI OSM",
43 maintainer_email="osmsupport@etsi.com",
44 url="https://osm.etsi.org/gitweb/?p=osm/common.git;a=summary",
45 license="Apache 2.0",
46 setup_requires=["setuptools-version-command"],
tierno5c012612018-04-19 16:01:59 +020047 packages=[_name],
48 include_package_data=True,
garciadeblasebebbbc2025-05-08 12:59:42 +020049 install_requires=requirements,
tierno5c012612018-04-19 16:01:59 +020050)