Fix tox.ini so mako substutions happen
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 5 Jan 2021 21:44:13 +0000 (15:44 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 5 Jan 2021 21:44:13 +0000 (15:44 -0600)
src/pgwui_testing/TEMPLATE/tox.ini [deleted file]
src/pgwui_testing/TEMPLATE/tox.ini.mak [new file with mode: 0644]

diff --git a/src/pgwui_testing/TEMPLATE/tox.ini b/src/pgwui_testing/TEMPLATE/tox.ini
deleted file mode 100644 (file)
index b91d317..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-[tox]
-envlist = py{34,35,36,37}
-
-[testenv]
-basepython =
-    py34: python3.4
-    py35: python3.5
-    py36: python3.6
-    py37: python3.7
-deps =
-    check-manifest
-    cmarkgfm
-    flake8
-    pgwui_testing
-    pytest
-    pytest-cov
-    twine
-    # coverage
-commands =
-    check-manifest
-    python setup.py sdist
-    twine check dist/*
-    flake8 .
-    py.test -m unittest --cov=${component.lower()} tests/
-    py.test -m 'not unittest' --cov=${component.lower()} tests/
-    # coverage run  --source src/${component.lower()} -m py.test
-    # coverage report
-
-[flake8]
-exclude = .tox,*.egg,build,data,devel
-select = E,W,F
-ignore = W503
-
-[pytest]
-markers =
-  unittest
-  integrationtest
diff --git a/src/pgwui_testing/TEMPLATE/tox.ini.mak b/src/pgwui_testing/TEMPLATE/tox.ini.mak
new file mode 100644 (file)
index 0000000..b91d317
--- /dev/null
@@ -0,0 +1,37 @@
+[tox]
+envlist = py{34,35,36,37}
+
+[testenv]
+basepython =
+    py34: python3.4
+    py35: python3.5
+    py36: python3.6
+    py37: python3.7
+deps =
+    check-manifest
+    cmarkgfm
+    flake8
+    pgwui_testing
+    pytest
+    pytest-cov
+    twine
+    # coverage
+commands =
+    check-manifest
+    python setup.py sdist
+    twine check dist/*
+    flake8 .
+    py.test -m unittest --cov=${component.lower()} tests/
+    py.test -m 'not unittest' --cov=${component.lower()} tests/
+    # coverage run  --source src/${component.lower()} -m py.test
+    # coverage report
+
+[flake8]
+exclude = .tox,*.egg,build,data,devel
+select = E,W,F
+ignore = W503
+
+[pytest]
+markers =
+  unittest
+  integrationtest