Skip to content

Commit a197359

Browse files
committed
update
1 parent 548c292 commit a197359

File tree

5 files changed

+42
-54
lines changed

5 files changed

+42
-54
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
python-version:
15-
- "3.7"
16-
- "3.8"
1715
- "3.9"
1816
- "3.10"
19-
- "pypy3.9"
17+
- "3.11"
18+
- "3.12"
19+
- "3.13"
20+
- "pypy3.10"
2021
os:
2122
- macos-latest
2223
- ubuntu-latest

pyproject.toml

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,42 @@
1-
[metadata]
2-
name = 'binary'
3-
version = '0.0.1'
4-
description = ''
5-
author = 'Ofek Lev'
6-
author_email = 'ofekmeister@gmail.com'
7-
license = 'MIT/Apache-2.0'
8-
url = 'https://github.com/ofek/binary'
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
94

10-
[requires]
11-
python_version = ['3.7', '3.8', '3.9', '3.10', 'pypy3']
5+
[project]
6+
name = "binary"
7+
dynamic = ["version"]
8+
readme = "README.rst"
9+
license = "MIT OR Apache-2.0"
10+
requires-python = ">=3.9"
11+
authors = [
12+
{ name = "Ofek Lev", email = "oss@ofek.dev" },
13+
]
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
16+
"Intended Audience :: Developers",
17+
"Natural Language :: English",
18+
"Operating System :: OS Independent",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3 :: Only",
21+
"Programming Language :: Python :: 3.9",
22+
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: Implementation :: CPython",
27+
"Programming Language :: Python :: Implementation :: PyPy",
28+
]
1229

13-
[build-system]
14-
requires = ['setuptools', 'wheel']
30+
[project.urls]
31+
Homepage = "https://github.com/ofek/binary"
32+
33+
[tool.hatch.version]
34+
path = "binary/__init__.py"
1535

16-
[tool.hatch.commands]
17-
prerelease = 'hatch build'
36+
[tool.hatch.build.targets.sdist]
37+
include = [
38+
"/binary",
39+
]
1840

1941
[tool.mypy]
2042
pretty = true

setup.cfg

Lines changed: 0 additions & 32 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{37,38,39,310,py3}, mypy
2+
envlist = py{39,310,311,312,313,py3}, mypy
33

44
[testenv]
55
passenv = *
@@ -8,7 +8,7 @@ deps =
88
pytest
99
codecov
1010
commands =
11-
python setup.py --quiet clean develop
11+
pip install -e .
1212
coverage run --parallel-mode -m pytest
1313
coverage combine --append
1414
coverage report -m

0 commit comments

Comments
 (0)