blob: 782bb21f06c69422d97ee092c7ce684181a958cf [file] [log] [blame]
Monty Taylor061919f2013-06-02 11:35:42 -04001# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
Monty Taylorda3bada2012-11-22 09:38:22 -08002#
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#
Monty Taylor061919f2013-06-02 11:35:42 -04007# http://www.apache.org/licenses/LICENSE-2.0
Monty Taylorda3bada2012-11-22 09:38:22 -08008#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
Monty Taylor061919f2013-06-02 11:35:42 -040011# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12# implied.
Monty Taylorda3bada2012-11-22 09:38:22 -080013# See the License for the specific language governing permissions and
14# limitations under the License.
15
Steve Kowalik19497db2015-11-03 10:45:59 +110016# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
Monty Taylorda3bada2012-11-22 09:38:22 -080017import setuptools
18
Steve Kowalik19497db2015-11-03 10:45:59 +110019# In python < 2.7.4, a lazy loading of package `pbr` will break
20# setuptools if some other modules registered functions in `atexit`.
21# solution from: http://bugs.python.org/issue15881#msg170215
22try:
23 import multiprocessing # noqa
24except ImportError:
25 pass
26
Monty Taylorda3bada2012-11-22 09:38:22 -080027setuptools.setup(
Steve Kowalik19497db2015-11-03 10:45:59 +110028 setup_requires=['pbr>=1.8'],
Monty Taylor0e0ed022013-09-13 10:57:56 -050029 pbr=True)