
setup.py is still required as the build_meta entrypoints PBR uses execute setup.py, but only needs to set the pbr attribute to True now. Really what this change gets us is control over the version of SetupTools and PBR that are used, but much of the underlying machinery doesn't change. Some gymnastics are required in order to keep working with Python 3.6, due to Pip and SetupTools disagreeing on PEP 660 support with that interpreter version, but appropriate TODO comments are left as a reminder to simplify once we no longer care to support those platforms. Change-Id: If210b5f5b5b7b9bbcb2538c49fbe7a5f7b8260ed
22 lines
755 B
Python
22 lines
755 B
Python
#!/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.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# 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.
|
|
|
|
# TODO: Delete this file once PBR gains the ability to act as a build hook
|
|
|
|
import setuptools
|
|
|
|
setuptools.setup(pbr=True)
|