Try to avoid calling setup.py directly.

This commit is contained in:
Itamar Turner-Trauring 2023-11-20 16:05:52 -05:00
parent 8b2b0c7e5b
commit 304164ddf8

View File

@ -23,6 +23,11 @@ envlist = typechecks,codechecks,py{38,39,310,311,312}-{coverage},pypy27,pypy38,p
minversion = 2.4
[testenv]
# Using setup.py directly is deprecated, so disable options that require that.
# This might be fixed in tox 4, but for now we're using 3.x.
skipsdist = True
usedevelop = False
passenv = TAHOE_LAFS_* PIP_* SUBUNITREPORTER_* USERPROFILE HOMEDRIVE HOMEPATH
deps =
# We pull in certify *here* to avoid bug #2913. Basically if a
@ -41,10 +46,6 @@ deps =
# with the above pins.
certifi
# We add usedevelop=False because testing against a true installation gives
# more useful results.
usedevelop = False
extras =
# Get general testing environment dependencies so we can run the tests
# how we like.