blob: 664b32d03a71be6095b17eb3356012875c4fdd25 [file] [log] [blame]
tiernoc0e42e22018-05-11 11:36:10 +02001#!/usr/bin/env python3
tiernob3cda2e2018-10-30 17:26:59 +00002# -*- coding: utf-8 -*-
3
4# Copyright 2018 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.
tiernoc0e42e22018-05-11 11:36:10 +020018
19import os
20from setuptools import setup
21
22_name = "osm_lcm"
23# version is at first line of osm_lcm/html_public/version
24here = os.path.abspath(os.path.dirname(__file__))
garciadeblas6b70e442018-05-25 15:50:58 +020025# VERSION = "4.0.1rc1"
beierlm9db158c2021-03-17 08:11:23 -040026with open(os.path.join(here, "README.rst")) as readme_file:
tiernoc0e42e22018-05-11 11:36:10 +020027 README = readme_file.read()
28
29setup(
30 name=_name,
beierlm9db158c2021-03-17 08:11:23 -040031 description="OSM Life Cycle Management module",
tiernoc0e42e22018-05-11 11:36:10 +020032 long_description=README,
beierlm9db158c2021-03-17 08:11:23 -040033 version_command=(
34 "git describe --match v* --tags --long --dirty",
35 "pep440-git-full",
36 ),
garciadeblas6b70e442018-05-25 15:50:58 +020037 # version=VERSION,
tiernoc0e42e22018-05-11 11:36:10 +020038 # python_requires='>3.5.0',
beierlm9db158c2021-03-17 08:11:23 -040039 author="ETSI OSM",
40 author_email="osmsupport@etsi.org",
41 maintainer="ETSI OSM",
42 maintainer_email="osmsupport@etsi.org",
43 url="https://osm.etsi.org/gitweb/?p=osm/LCM.git;a=summary",
44 license="Apache 2.0",
tiernoc0e42e22018-05-11 11:36:10 +020045 packages=[_name],
46 include_package_data=True,
beierlm9db158c2021-03-17 08:11:23 -040047 setup_requires=["setuptools-version-command"],
tiernoc0e42e22018-05-11 11:36:10 +020048)