Skip to content

Commit

Permalink
Prepare 2.1.1 release.
Browse files Browse the repository at this point in the history
* Use `pyproject.toml` instead of `setup.py`
  • Loading branch information
Anteru committed Aug 17, 2024
1 parent bdc7e22 commit 39de8d5
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 69 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ htmlcov/**
.pytest_cache/**
.vscode/**
.idea/**
venv/**
venv/**
dist/*
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014-2018, Matthäus G. Chajdas
Copyright (c) 2014-2024, Matthäus G. Chajdas
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ The library provides four methods, similar to the Python JSON module. These are:
Changelog
---------

### 2.1.1

* Packaging changes only. Raised supported Python version to Python 3.12

### 2.1

* Add support for Python-style raw strings, delimited by `"""`.
Expand Down
68 changes: 68 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[project]
name = "SJSON"
dynamic = ["version"]

authors = [
{name = "Matthäus G. Chajdas", email = "dev@anteru.net" }
]

description = "SJSON serializer/deserializer for Python"
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "BSD 3-clause license"}

keywords = ["SJSON"]
classifiers = [
"Development Status :: 6 - Mature",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
]

requires-python = ">= 3.6"

[project.urls]
Homepage = "http://sh13.net/projects/SJSON"
"Issue Tracker" = "https://github.com/anteru/sjson/issues"
Repository = "https://github.com/anteru/sjson"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.tox]
legacy_tox_ini = """
[tox]
envlist=py36,py37,py38,py39,py310,py311,py312
[testenv]
deps=
pytest
commands=
pytest sjson
[testenv:cov]
deps=
pytest
pytest-cov
coverage
commands=
pytest --cov=sjson sjson
coverage html
"""

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

[tool.hatch.build.targets.wheel]
exclude = ["test"]
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

44 changes: 0 additions & 44 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion sjson/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import io
from enum import Enum

__version__ = '2.1.0'
__version__ = '2.1.1'


class MemoryInputStream:
Expand Down
17 changes: 0 additions & 17 deletions tox.ini

This file was deleted.

0 comments on commit 39de8d5

Please sign in to comment.