Skip to content

Commit

Permalink
pyproject.toml + python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Nov 30, 2023
1 parent f81782b commit 9ca539b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 39 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests_and_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install the library
shell: bash
run: python setup.py install
run: pip install .

- name: Install dependencies
shell: bash
Expand Down
33 changes: 33 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[build-system]
requires = ['setuptools==68.0.0']
build-backend = 'setuptools.build_meta'

[project]
name = 'cbfa'
version = '0.0.3'
authors = [
{ name='Evgeniy Blinov', email='zheni-b@yandex.ru' },
]
description = 'Class-based views for the FastAPI'
readme = 'README.md'
requires-python = '>=3.7'
classifiers = [
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'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',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Framework :: FastAPI',
]

[project.urls]
'Source' = 'https://github.com/pomponchik/cbfa'
'Tracker' = 'https://github.com/pomponchik/cbfa/issues'
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ pytest==7.4.2
coverage==7.2.7
twine==4.0.2
wheel==0.40.0
build==0.9.0
ruff==0.0.290
36 changes: 0 additions & 36 deletions setup.py

This file was deleted.

0 comments on commit 9ca539b

Please sign in to comment.