diff --git a/docs/getting_started.rst b/docs/getting_started.rst
index ba4c894..d2ea368 100644
--- a/docs/getting_started.rst
+++ b/docs/getting_started.rst
@@ -20,7 +20,6 @@ Repo file structure
| 8) `MANIFEST.in` has instructions for how to pre-process the package (which files to exclude) when preparing to release it to PyPI (the Python Package Index). Packages uploaded to PyPI can be installed by users with *pip*.
| 9) `README.md` is the file you're reading! It has badges that use the CI to display if the unit tests are passing, what percentage of the code is covered by the tests, and if the docs build and deploy is passing.
| 10) `pyproject.toml` is the configuration file for the entire package. See the `Python docs `_ for a description of its contents.
-| 11) `tox.ini` is a configuration file used to set up testing. See the `tox docs `_ for a description of its contents.
Making a new Python repo using `py_template`
--------------------------------------------
@@ -42,7 +41,7 @@ Interacting with your new code
| 4) Run type checking using mypy:
| `mypy --strict .`
| 5) Build your docs locally:
-| `tox -e build_docs` or `cd docs; make html`
+| `cd docs; make html`
| After building the docs, view them with
| `open docs/_build/html/index.html`
diff --git a/pyproject.toml b/pyproject.toml
index 5ae57f2..4d44f39 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -62,13 +62,7 @@ explicit_package_bases = "True"
[tool.coverage.run]
omit = [
"py_template/__init*",
- "py_template/*setup_package*",
- "py_template/extern/*",
"*/py_template/__init*",
- "*/py_template/*setup_package*",
- "*/py_template/extern/*",
"test/*",
"*/test/*",
- "test/conftest.py",
- "test/conftest.py",
]
\ No newline at end of file
diff --git a/tox.ini b/tox.ini
deleted file mode 100644
index 61a2426..0000000
--- a/tox.ini
+++ /dev/null
@@ -1,64 +0,0 @@
-[tox]
-min_version = 4.0
-envlist =
- py{310,311,312}-test
- py10-test-oldestdeps
- build_docs
-
-[testenv]
-# tox environments are constructed with so-called 'factors' (or terms)
-# separated by hyphens, e.g. test-devdeps-cov. Lines below starting with factor:
-# will only take effect if that factor is included in the environment name. To
-# see a list of example environments that can be run, along with a description,
-# run:
-#
-# tox -l -v
-#
-description =
- run tests
- oldestdeps: with the oldest supported version of key dependencies
-
-# Pass through the following environment variables which may be needed for the CI
-pass_env =
- # A variable to tell tests we are on a CI system
- CI
- # Custom compiler locations (such as ccache)
- CC
- # Location of locales (needed by sphinx on some systems)
- LOCALE_ARCHIVE
- # If the user has set a LC override we should follow it
- # (note LANG is automatically passed through by tox)
- LC_ALL
-
-# Suppress display of matplotlib plots generated during docs build
-set_env =
- MPLBACKEND = agg
-
-# Run the tests in a temporary directory to make sure that we don't import
-# the package from the source tree
-change_dir = .tmp/{envname}
-
-deps =
- oldestdeps: minimum_dependencies
- pytest-cov
-
-# The following indicates which extras_require from setup.cfg will be installed
-extras =
- test
-
-commands_pre =
- oldestdeps: minimum_dependencies py_template --filename requirements-min.txt
- oldestdeps: pip install -r requirements-min.txt
- pip freeze
-
-commands =
- pytest --pyargs py_template --cov py_template --cov-report xml:coverage.xml --cov-report term-missing {posargs}
-
-[testenv:build_docs]
-description = invoke sphinx-build to build the HTML docs
-change_dir =
- docs
-extras =
- docs
-commands =
- sphinx-build -j auto --color -W --keep-going -b html -d _build/.doctrees . _build/html {posargs}