From bb18349fdf5262a4a4a4840555fc0d1395f3a399 Mon Sep 17 00:00:00 2001 From: Jacob Repp Date: Sun, 25 Feb 2024 15:26:52 -0800 Subject: [PATCH] update tox ci --- .github/workflows/ci.yml | 2 +- setup.py | 4 ++-- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5010e88..6c5146a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,5 +30,5 @@ jobs: python -m pip install --upgrade pip python -m pip install -r requirements_publish.txt - name: Run tests - run: tox + run: python -m tox diff --git a/setup.py b/setup.py index ffbd219..111a3ce 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ import os -import inspect from setuptools import find_packages, setup @@ -8,10 +7,11 @@ def local_path(): - filename = os.path.abspath(inspect.getfile(inspect.currentframe())) + filename = os.path.abspath(__file__) local_path = os.path.dirname(filename) return local_path + def readme(): with open(os.path.join(local_path(), 'README.md')) as f: return f.read() diff --git a/tox.ini b/tox.ini index 093cdf3..af87acc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = {py27,py36,py37}-{cli,suite} +envlist = {py38,py310,py312}-{cli,suite} [base] deps=-e .[tests]