setup.py 1 KB
Newer Older
Monty Taylor's avatar
Monty Taylor committed
1
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
Julien Danjou's avatar
Julien Danjou committed
2
#
Monty Taylor's avatar
Monty Taylor committed
3 4 5
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Julien Danjou's avatar
Julien Danjou committed
6
#
Monty Taylor's avatar
Monty Taylor committed
7
#    http://www.apache.org/licenses/LICENSE-2.0
Julien Danjou's avatar
Julien Danjou committed
8
#
9
# Unless required by applicable law or agreed to in writing, software
Monty Taylor's avatar
Monty Taylor committed
10 11 12 13 14
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Julien Danjou's avatar
Julien Danjou committed
15

16
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
Julien Danjou's avatar
Julien Danjou committed
17
import setuptools
18

19 20 21 22 23 24 25 26
# 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

27
setuptools.setup(
28
    setup_requires=['pbr>=1.8'],
29
    pbr=True)