Bartosz Kupidura | f82f414 | 2017-09-05 16:18:45 +0200 | [diff] [blame] | 1 | import setuptools |
2 | |||||
3 | # In python < 2.7.4, a lazy loading of package `pbr` will break | ||||
4 | # setuptools if some other modules registered functions in `atexit`. | ||||
5 | # solution from: http://bugs.python.org/issue15881#msg170215 | ||||
6 | try: | ||||
7 | import multiprocessing # noqa | ||||
8 | except ImportError: | ||||
9 | pass | ||||
10 | |||||
11 | setuptools.setup( | ||||
12 | setup_requires=['pbr'], | ||||
13 | pbr=True) |