| Adam Israel | c3e6c2e | 2018-03-01 09:31:50 -0500 | [diff] [blame] | 1 | # Copyright 2016 Canonical Ltd. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| Adam Israel | c3e6c2e | 2018-03-01 09:31:50 -0500 | [diff] [blame] | 15 | from setuptools import setup, find_packages |
| 16 | |
| David Garcia | 7c6840b | 2021-02-12 17:19:13 +0100 | [diff] [blame^] | 17 | _name = "N2VC" |
| 18 | _version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") |
| 19 | _author = "OSM Support" |
| 20 | _author_email = "osmsupport@etsi.org" |
| 21 | _description = "OSM library implementing common interface towards VCA module" |
| 22 | _maintainer = "OSM Support" |
| 23 | _maintainer_email = "osmsupport@etsi.org" |
| 24 | _license = "Apache 2.0" |
| 25 | _url = "https://osm.etsi.org/gitweb/?p=osm/N2VC.git;a=tree" |
| garciadeblas | 28d7516 | 2019-06-12 16:55:14 +0200 | [diff] [blame] | 26 | |
| Adam Israel | c3e6c2e | 2018-03-01 09:31:50 -0500 | [diff] [blame] | 27 | setup( |
| David Garcia | 7c6840b | 2021-02-12 17:19:13 +0100 | [diff] [blame^] | 28 | name=_name, |
| 29 | version_command=_version_command, |
| garciadeblas | 28d7516 | 2019-06-12 16:55:14 +0200 | [diff] [blame] | 30 | description=_description, |
| David Garcia | 7c6840b | 2021-02-12 17:19:13 +0100 | [diff] [blame^] | 31 | long_description=open("README.md", encoding="utf-8").read(), |
| 32 | author=_author, |
| 33 | author_email=_author_email, |
| 34 | maintainer=_maintainer, |
| 35 | maintainer_email=_maintainer_email, |
| 36 | url=_url, |
| 37 | license=_license, |
| 38 | packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), |
| 39 | include_package_data=True, |
| 40 | entry_points={"console_scripts": []}, |
| 41 | setup_requires=['setuptools-version-command'] |
| Adam Israel | c3e6c2e | 2018-03-01 09:31:50 -0500 | [diff] [blame] | 42 | ) |