From bfc3d7e775aa89832847401203299db8115f57a3 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 15 May 2024 10:52:29 -0700 Subject: [PATCH] drop appveyor and tox. Appveyor isn't working anymore anyway, and tox isn't getting us anything otherwise --- README.rst | 4 ---- appveyor.yml | 39 --------------------------------------- setup.cfg | 1 - setup.py | 26 -------------------------- 4 files changed, 70 deletions(-) delete mode 100644 appveyor.yml delete mode 100644 setup.py diff --git a/README.rst b/README.rst index 6d4fc24..55025c4 100644 --- a/README.rst +++ b/README.rst @@ -10,10 +10,6 @@ JSONStreams .. image:: https://badge.fury.io/py/jsonstreams.svg :target: https://badge.fury.io/py/jsonstreams -.. image:: https://ci.appveyor.com/api/projects/status/ocrt9nol8kn3pm1t/branch/main?svg=true - :target: https://ci.appveyor.com/project/dcbaker/jsonstreams - :alt: Appveyor CI Status - .. image:: https://readthedocs.org/projects/jsonstreams/badge/?version=latest :target: http://jsonstreams.readthedocs.io/en/stable/?badge=latest :alt: Documentation Status diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 05bcf39..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,39 +0,0 @@ -version: "{branch}-{build}" -cache: - - '%LOCALAPPDATA%\pip\Cache' -build: off - -skip_tags: true - -shallow_clone: true -clone_depth: 100 - -only_commits: - files: - - '**/*py' - -environment: - matrix: - - - PYTHON: C:\Python36 - TOXENV: "py36" - - - PYTHON: C:\Python37 - TOXENV: "py37" - - - PYTHON: C:\Python38 - TOXENV: "py38" - -init: - - ps: echo $env:TOXENV - - ps: ls C:\Python* - -install: - - '%PYTHON%\Scripts\pip install tox' - -test_script: - - '%PYTHON%\Scripts\tox.exe' - -on_failure: - - ps: dir "env:" - - ps: get-content .tox\*\log\* diff --git a/setup.cfg b/setup.cfg index 473b799..241e2ae 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,7 +33,6 @@ python_requires = >= 3.6.0 [options.extras_require] recomended = simplejson -test = tox lint = mypy pydocstyle diff --git a/setup.py b/setup.py deleted file mode 100644 index fe49037..0000000 --- a/setup.py +++ /dev/null @@ -1,26 +0,0 @@ -from setuptools import setup -from setuptools.command.test import test as TestCommand - -class Tox(TestCommand): - - user_options = [('tox-args=', 'a', "Arguments to pass to tox")] - - def initialize_options(self): - TestCommand.initialize_options(self) - self.tox_args = None - - def finalize_options(self): - TestCommand.finalize_options(self) - self.test_args = [] - self.test_suite = True - - def run_tests(self): - #import here, cause outside the eggs aren't loaded - import tox - import shlex - args = self.tox_args - if args: - args = shlex.split(self.tox_args) - tox.cmdline(args=args) - -setup(cmdclass={'test': Tox})