Update build config
Use latest pbr things that don't require pbr. Also update the tox config to ensure venv is updated properly. Change-Id: I157127abd129bbe085c64e2a14f67296da0c4b5echanges/89/47389/1
parent
f296853bed
commit
6a71811cd7
9
setup.py
9
setup.py
|
@ -14,12 +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,
|
||||
namespace_packages=['oslo'],
|
||||
packages=['oslo', 'oslo.sphinx'],
|
||||
zip_safe=False,
|
||||
)
|
||||
setup_requires=['pbr'],
|
||||
pbr=True)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
hacking>=0.5.6,<0.8
|
9
tox.ini
9
tox.ini
|
@ -1,7 +1,11 @@
|
|||
[tox]
|
||||
minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = pep8
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install {opts} {packages}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
|
@ -9,11 +13,6 @@ sitepackages = False
|
|||
downloadcache = {toxworkdir}/_download
|
||||
|
||||
[testenv:pep8]
|
||||
# Install bounded pep8/pyflakes first, then let flake8 install
|
||||
deps = pep8==1.4.5
|
||||
pyflakes==0.7.2
|
||||
flake8==2.0
|
||||
hacking>=0.5.6,<0.7
|
||||
commands =
|
||||
flake8 oslo
|
||||
|
||||
|
|
Loading…
Reference in New Issue