ab23ca80123be548ef0ef32631a64a39e65c8a6f
[osm/N2VC.git] / setup.py
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
15 from setuptools import setup, find_packages
16
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"
26
27 setup(
28 name=_name,
29 version_command=_version_command,
30 description=_description,
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"],
42 )