Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Test case for tox-dev/tox#2197
Browse files Browse the repository at this point in the history
  • Loading branch information
posita committed Sep 18, 2021
0 parents commit c755e19
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.tox/
*.egg-info/
__pycache__/
Empty file added foo/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
10 changes: 10 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[metadata]
name = foo
version = 0.0.1

[options]
packages = foo

[options.extras_require]
dev =
tox
20 changes: 20 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[tox]

skipsdist = true
skip_missing_interpreters = true

[testenv]

commands =
python -c 'import foo'
usedevelop = true
passenv =
PYTHONBREAKPOINT
setenv =
PYTHONWARNINGS = once

[testenv:py{39,38,37}-workaround]

deps =
editable: --editable .
usedevelop = false

0 comments on commit c755e19

Please sign in to comment.