blob: 736375744d94f6f122f98fab48b8fc77b13d8bec [file] [log] [blame]
Attila Fazekas5abb2532012-12-04 11:30:49 +01001#!/usr/bin/env python
Monty Taylor64375012013-04-28 18:22:59 -07002# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
Jay Pipesa6aa5f22012-07-24 19:40:29 -04003#
Monty Taylor64375012013-04-28 18:22:59 -07004# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
Jay Pipesa6aa5f22012-07-24 19:40:29 -04007#
Monty Taylor64375012013-04-28 18:22:59 -07008# http://www.apache.org/licenses/LICENSE-2.0
Jay Pipesa6aa5f22012-07-24 19:40:29 -04009#
Monty Taylor64375012013-04-28 18:22:59 -070010# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13# implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Jay Pipesa6aa5f22012-07-24 19:40:29 -040016
Matthew Treinish271139a2013-10-19 12:49:35 -040017# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
Jay Pipesa6aa5f22012-07-24 19:40:29 -040018import setuptools
19
OpenStack Proposal Botf275d5d2014-05-02 09:09:16 +000020# In python < 2.7.4, a lazy loading of package `pbr` will break
21# setuptools if some other modules registered functions in `atexit`.
22# solution from: http://bugs.python.org/issue15881#msg170215
23try:
24 import multiprocessing # noqa
25except ImportError:
26 pass
27
Monty Taylor64375012013-04-28 18:22:59 -070028setuptools.setup(
Matthew Treinish271139a2013-10-19 12:49:35 -040029 setup_requires=['pbr'],
30 pbr=True)