diff --git a/cs_util/tests/test_logging.py b/cs_util/tests/test_logging.py index e744897..db179eb 100644 --- a/cs_util/tests/test_logging.py +++ b/cs_util/tests/test_logging.py @@ -36,6 +36,7 @@ def tearDown(self): """Unset test parameter values.""" self._argv = None os.remove(self._log_file_path) + os.remove(self._log_file_path_default) self._log_file_path = None def test_log_command(self): diff --git a/pyproject.toml b/pyproject.toml index 8cca583..f5fa428 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,14 @@ dependencies = [ "vos>=3.3", ] +[build-system] +requires = [ + "setuptools", + "wheel", +] +build-backend = "setuptools.build_meta" + + [project.optional-dependencies] lint = [ "black", @@ -39,6 +47,7 @@ lint = [ release = [ "build", "twine", + "sdist", ] test = [ "pytest", @@ -68,3 +77,6 @@ testpaths = ["cs_util"] [tool.setuptools.dynamic] version = {attr = "cs_util.__version__"} + +[tools.setuptools] +packages = ["cs_util"]