Skip to content

Commit

Permalink
chore: finish py3.12 (webrecorder#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpus authored Aug 23, 2024
1 parent 2ff571f commit ce4773c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install setuptools on python 3.12
if: ${{ matrix.python-version == '3.12' }}
- name: Install setuptools on python 3.12+
if: ${{ matrix.python-version >= '3.12' }}
run: |
pip install setuptools
Expand Down
19 changes: 5 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@
# vim: set sw=4 et:

from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import glob

__version__ = '1.7.4'


class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
# should work with setuptools <18, 18 18.5
self.test_suite = ' '

setup(
name='warcio',
version=__version__,
Expand All @@ -35,7 +27,6 @@ def finalize_options(self):
[console_scripts]
warcio = warcio.cli:main
""",
cmdclass={'test': PyTest},
test_suite='',
extras_require={
'testing': [
Expand All @@ -52,13 +43,13 @@ def finalize_options(self):
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
Expand Down

0 comments on commit ce4773c

Please sign in to comment.