Skip to content

Commit bdaae00

Browse files
committed
Migrate to pyproject.toml
1 parent f3643ad commit bdaae00

File tree

10 files changed

+230
-85
lines changed

10 files changed

+230
-85
lines changed

MANIFEST.in

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

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,24 @@ python-json-pointer
55
[![Supported Python versions](https://img.shields.io/pypi/pyversions/jsonpointer.svg)](https://pypi.python.org/pypi/jsonpointer/)
66
[![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-pointer/badge.svg?branch=master)](https://coveralls.io/r/stefankoegl/python-json-pointer?branch=master)
77

8-
9-
Resolve JSON Pointers in Python
10-
-------------------------------
8+
# Resolve JSON Pointers in Python
119

1210
Library to resolve JSON Pointers according to
1311
[RFC 6901](http://tools.ietf.org/html/rfc6901)
1412

1513
See source code for examples
14+
1615
* Website: https://github.com/stefankoegl/python-json-pointer
1716
* Repository: https://github.com/stefankoegl/python-json-pointer.git
1817
* Documentation: https://python-json-pointer.readthedocs.org/
1918
* PyPI: https://pypi.python.org/pypi/jsonpointer
2019
* Travis CI: https://travis-ci.org/stefankoegl/python-json-pointer
2120
* Coveralls: https://coveralls.io/r/stefankoegl/python-json-pointer
21+
22+
# Installation
23+
24+
Using pip:
25+
26+
```bash
27+
pip install jsonpointer
28+
```
File renamed without changes.

poetry.lock

Lines changed: 155 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[build-system]
2+
requires = ["poetry_core"]
3+
build-backend = "poetry.core.masonry.api"
4+
5+
[tool.poetry.scripts]
6+
jsonpointer = "bin.jsonpointer:main"
7+
8+
[tool.poetry]
9+
name = "jsonpointer"
10+
packages = [
11+
{ include = "jsonpointer" },
12+
{ include = "README.md" },
13+
{ include = "LICENSE.txt" },
14+
{ include = "AUTHORS" },
15+
{ include = "tests" },
16+
]
17+
version = "3.0.1"
18+
description = "Resolve JSON Pointers in Python"
19+
readme = "README.md"
20+
keywords = ["redis", "RedisJson", "tests", "redis-stack"]
21+
authors = [
22+
"Stefan Kögl <[email protected]>",
23+
]
24+
maintainers = [
25+
"Daniel Moran <[email protected]>",
26+
]
27+
license = "Modified BSD License"
28+
classifiers = [
29+
'Development Status :: 5 - Production/Stable',
30+
'Environment :: Console',
31+
'Intended Audience :: Developers',
32+
'License :: OSI Approved :: BSD License',
33+
'Operating System :: OS Independent',
34+
'Programming Language :: Python',
35+
'Programming Language :: Python :: 3',
36+
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
39+
'Programming Language :: Python :: 3.10',
40+
'Programming Language :: Python :: 3.11',
41+
'Programming Language :: Python :: 3.12',
42+
'Programming Language :: Python :: 3.13',
43+
'Programming Language :: Python :: Implementation :: CPython',
44+
'Programming Language :: Python :: Implementation :: PyPy',
45+
'Topic :: Software Development :: Libraries',
46+
'Topic :: Utilities',
47+
]
48+
homepage = "https://github.com/stefankoegl/python-json-pointer"
49+
repository = "https://github.com/stefankoegl/python-json-pointer"
50+
51+
[tool.poetry.dependencies]
52+
python = "^3.7"
53+
54+
[tool.poetry.group.dev.dependencies]
55+
coverage = "^7"
56+
flake8 = { version = "^7.1", python = ">=3.8.1" }
57+
flake8-pyproject = "^1.2.3"
58+
59+
[tool.flake8]
60+
max-line-length = 120
61+
exclude = [
62+
".git",
63+
".tox", "dist", "doc", "*egg", "build", ".venv", ".github", "__pycache__",
64+
]

requirements-dev.txt

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

setup.cfg

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

setup.py

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

tests/__init__.py

Whitespace-only changes.

tests.py renamed to tests/tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
import unittest
1010

1111
import jsonpointer
12-
from jsonpointer import resolve_pointer, EndOfList, JsonPointerException, \
13-
JsonPointer, set_pointer
12+
from jsonpointer import (resolve_pointer, EndOfList, JsonPointerException, JsonPointer, set_pointer)
1413

1514

1615
class SpecificationTests(unittest.TestCase):

0 commit comments

Comments
 (0)