diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-08-11 12:14:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-11 12:14:01 +0000 |
commit | 3cef22b2f1d70e26c561e7529f8b676c0498782d (patch) | |
tree | f45c0d8dea45d79d51df8c04b8dc0402218e6396 /reporting/setup.py | |
parent | 3eaf4bcef44fa024a155c97d487c67f6c00e69ac (diff) | |
parent | 980523c1c5fa65b4c4a786d6ddb1ddfb70a63bc6 (diff) |
Merge "Initiate packetization of Testing reporting"
Diffstat (limited to 'reporting/setup.py')
-rw-r--r-- | reporting/setup.py | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/reporting/setup.py b/reporting/setup.py index 627785e..a52d905 100644 --- a/reporting/setup.py +++ b/reporting/setup.py @@ -1,22 +1,24 @@ -############################################################################## +#!/usr/bin/env python + +# Copyright (c) 2017 Orange and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## -from setuptools import setup, find_packages +# pylint: disable=missing-docstring + +import setuptools +# In python < 2.7.4, a lazy loading of package `pbr` will break +# setuptools if some other modules registered functions in `atexit`. +# solution from: http://bugs.python.org/issue15881#msg170215 +try: + import multiprocessing # noqa +except ImportError: + pass -setup( - name="reporting", - version="master", - packages=find_packages(), - include_package_data=True, - package_data={ - }, - url="https://www.opnfv.org", - install_requires=["coverage==4.1", - "mock==1.3.0", - "nose==1.3.7"], -) +setuptools.setup( + setup_requires=['pbr>=1.8'], + pbr=True) |