Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Dec 4, 2024
1 parent 548c292 commit a197359
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 54 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "pypy3.9"
- "3.11"
- "3.12"
- "3.13"
- "pypy3.10"
os:
- macos-latest
- ubuntu-latest
Expand Down
50 changes: 36 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
[metadata]
name = 'binary'
version = '0.0.1'
description = ''
author = 'Ofek Lev'
author_email = '[email protected]'
license = 'MIT/Apache-2.0'
url = 'https://github.com/ofek/binary'
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[requires]
python_version = ['3.7', '3.8', '3.9', '3.10', 'pypy3']
[project]
name = "binary"
dynamic = ["version"]
readme = "README.rst"
license = "MIT OR Apache-2.0"
requires-python = ">=3.9"
authors = [
{ name = "Ofek Lev", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]

[build-system]
requires = ['setuptools', 'wheel']
[project.urls]
Homepage = "https://github.com/ofek/binary"

[tool.hatch.version]
path = "binary/__init__.py"

[tool.hatch.commands]
prerelease = 'hatch build'
[tool.hatch.build.targets.sdist]
include = [
"/binary",
]

[tool.mypy]
pretty = true
Expand Down
32 changes: 0 additions & 32 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,py3}, mypy
envlist = py{39,310,311,312,313,py3}, mypy

[testenv]
passenv = *
Expand All @@ -8,7 +8,7 @@ deps =
pytest
codecov
commands =
python setup.py --quiet clean develop
pip install -e .
coverage run --parallel-mode -m pytest
coverage combine --append
coverage report -m
Expand Down

0 comments on commit a197359

Please sign in to comment.