Skip to content

Commit bd4f1d3

Browse files
committed
fix license
1 parent 596a8bc commit bd4f1d3

File tree

4 files changed

+7
-46
lines changed

4 files changed

+7
-46
lines changed

hatch.toml

-26
This file was deleted.

pyproject.toml

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
[build-system]
2-
#requires = ["hatchling", "setuptools", "find-libpython"]
3-
#build-backend = "hatchling.build"
4-
requires = ["setuptools", "hatchling"]
2+
requires = ["setuptools"]
53
build-backend = "setuptools.build_meta"
64

75
[project]
86
name = "pointers.py"
9-
description = 'Bringing the hell of pointers to Python.'
10-
readme = "README.md"
11-
requires-python = ">=3.6"
127
keywords = ["python", "pointers"]
138
authors = [
149
{ name = "ZeroIntensity", email = "[email protected]" },
1510
]
11+
readme = "README.md"
12+
license = { file = "LICENSE" }
1613
classifiers = [
1714
"Programming Language :: Python",
18-
"Programming Language :: Python :: 3.6",
1915
"Programming Language :: Python :: 3.7",
2016
"Programming Language :: Python :: 3.8",
2117
"Programming Language :: Python :: 3.9",

setup.py

-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
from setuptools import Extension, setup
22

3-
with open("./README.md") as f:
4-
long_desc: str = f.read()
5-
63
if __name__ == "__main__":
74
setup(
8-
name="pointers.py",
9-
version="2.6.0",
105
packages=["pointers"],
11-
license="MIT",
12-
project_urls={
13-
"Source": "https://github.com/ZeroIntensity/pointers.py",
14-
"Documentation": "https://pointers.zintensity.dev/",
15-
},
166
package_dir={"": "src"},
177
ext_modules=[Extension("_pointers", ["./src/mod.c"])],
188
)

src/pointers/util.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
from contextlib import suppress
44
from functools import wraps
55
from io import UnsupportedOperation
6-
from typing import TYPE_CHECKING, Any, Callable, NamedTuple, Type, TypeVar, Union
7-
8-
from typing_extensions import ParamSpec
6+
from typing import (
7+
TYPE_CHECKING, Any, Callable, NamedTuple, Type, TypeVar, Union
8+
)
99

1010
from _pointers import handle as _handle
11+
from typing_extensions import ParamSpec
1112

1213
from .exceptions import SegmentViolation
1314

0 commit comments

Comments
 (0)