Skip to content

Commit 39de8d5

Browse files
committedAug 17, 2024·
Prepare 2.1.1 release.
* Use `pyproject.toml` instead of `setup.py`
1 parent bdc7e22 commit 39de8d5

8 files changed

+76
-69
lines changed
 

‎.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ htmlcov/**
66
.pytest_cache/**
77
.vscode/**
88
.idea/**
9-
venv/**
9+
venv/**
10+
dist/*

‎LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2018, Matthäus G. Chajdas
1+
Copyright (c) 2014-2024, Matthäus G. Chajdas
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

‎README.md

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ The library provides four methods, similar to the Python JSON module. These are:
6262
Changelog
6363
---------
6464

65+
### 2.1.1
66+
67+
* Packaging changes only. Raised supported Python version to Python 3.12
68+
6569
### 2.1
6670

6771
* Add support for Python-style raw strings, delimited by `"""`.

‎pyproject.toml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
[project]
2+
name = "SJSON"
3+
dynamic = ["version"]
4+
5+
authors = [
6+
{name = "Matthäus G. Chajdas", email = "dev@anteru.net" }
7+
]
8+
9+
description = "SJSON serializer/deserializer for Python"
10+
readme = {file = "README.md", content-type = "text/markdown"}
11+
license = {text = "BSD 3-clause license"}
12+
13+
keywords = ["SJSON"]
14+
classifiers = [
15+
"Development Status :: 6 - Mature",
16+
"Environment :: Console",
17+
"Intended Audience :: Developers",
18+
"License :: OSI Approved :: BSD License",
19+
"Natural Language :: English",
20+
"Operating System :: OS Independent",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.6",
23+
"Programming Language :: Python :: 3.7",
24+
"Programming Language :: Python :: 3.8",
25+
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: 3.10",
27+
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
29+
"Topic :: Software Development :: Libraries :: Python Modules",
30+
]
31+
32+
requires-python = ">= 3.6"
33+
34+
[project.urls]
35+
Homepage = "http://sh13.net/projects/SJSON"
36+
"Issue Tracker" = "https://github.com/anteru/sjson/issues"
37+
Repository = "https://github.com/anteru/sjson"
38+
39+
[build-system]
40+
requires = ["hatchling"]
41+
build-backend = "hatchling.build"
42+
43+
[tool.tox]
44+
legacy_tox_ini = """
45+
[tox]
46+
envlist=py36,py37,py38,py39,py310,py311,py312
47+
48+
[testenv]
49+
deps=
50+
pytest
51+
commands=
52+
pytest sjson
53+
54+
[testenv:cov]
55+
deps=
56+
pytest
57+
pytest-cov
58+
coverage
59+
commands=
60+
pytest --cov=sjson sjson
61+
coverage html
62+
"""
63+
64+
[tool.hatch.version]
65+
path = "sjson/__init__.py"
66+
67+
[tool.hatch.build.targets.wheel]
68+
exclude = ["test"]

‎setup.cfg

-5
This file was deleted.

‎setup.py

-44
This file was deleted.

‎sjson/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import io
1010
from enum import Enum
1111

12-
__version__ = '2.1.0'
12+
__version__ = '2.1.1'
1313

1414

1515
class MemoryInputStream:

‎tox.ini

-17
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.