From f53e92053c8e3f641dbffcab7611bf47c40308d4 Mon Sep 17 00:00:00 2001 From: Timur Sufiev Date: Tue, 1 Oct 2013 15:43:43 +0400 Subject: [PATCH] Fix setup.py to not use 2to1. Fixes: bug/MRN-1110. Change-Id: If395734028a2ce58bb0d490de9ea84a1bb89397b --- setup.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 4ab57a1..70c2b3f 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ -# Copyright (c) 2013 Mirantis Inc. +#!/usr/bin/env python +# Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,13 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools - setuptools.setup( - setup_requires=[ - 'd2to1>=0.2.10,<0.3', - 'pbr>=0.5,<0.6' - ], - d2to1=True -) + setup_requires=['pbr'], + pbr=True)