Enable parallel execution and output of tox env
[osm/common.git] / setup.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 # Copyright ETSI OSM Contributors
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
19
20 import os
21
22 from setuptools import setup
23
24 here = os.path.abspath(os.path.dirname(__file__))
25 _name = "osm_common"
26 README = open(os.path.join(here, "README.rst")).read()
27
28 setup(
29 name=_name,
30 description="OSM common utilities",
31 long_description=README,
32 version_command=(
33 "git describe --tags --long --dirty --match v*",
34 "pep440-git-full",
35 ),
36 author="ETSI OSM",
37 author_email="osmsupport@etsi.com",
38 maintainer="ETSI OSM",
39 maintainer_email="osmsupport@etsi.com",
40 url="https://osm.etsi.org/gitweb/?p=osm/common.git;a=summary",
41 license="Apache 2.0",
42 setup_requires=["setuptools-version-command"],
43 packages=[_name],
44 include_package_data=True,
45 )