Skip to content

Commit

Permalink
fix license
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroIntensity committed Nov 29, 2023
1 parent 596a8bc commit bd4f1d3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 46 deletions.
26 changes: 0 additions & 26 deletions hatch.toml

This file was deleted.

10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
[build-system]
#requires = ["hatchling", "setuptools", "find-libpython"]
#build-backend = "hatchling.build"
requires = ["setuptools", "hatchling"]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "pointers.py"
description = 'Bringing the hell of pointers to Python.'
readme = "README.md"
requires-python = ">=3.6"
keywords = ["python", "pointers"]
authors = [
{ name = "ZeroIntensity", email = "zintensitydev@gmail.com" },
]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down
10 changes: 0 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
from setuptools import Extension, setup

with open("./README.md") as f:
long_desc: str = f.read()

if __name__ == "__main__":
setup(
name="pointers.py",
version="2.6.0",
packages=["pointers"],
license="MIT",
project_urls={
"Source": "https://github.com/ZeroIntensity/pointers.py",
"Documentation": "https://pointers.zintensity.dev/",
},
package_dir={"": "src"},
ext_modules=[Extension("_pointers", ["./src/mod.c"])],
)
7 changes: 4 additions & 3 deletions src/pointers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
from contextlib import suppress
from functools import wraps
from io import UnsupportedOperation
from typing import TYPE_CHECKING, Any, Callable, NamedTuple, Type, TypeVar, Union

from typing_extensions import ParamSpec
from typing import (
TYPE_CHECKING, Any, Callable, NamedTuple, Type, TypeVar, Union
)

from _pointers import handle as _handle
from typing_extensions import ParamSpec

from .exceptions import SegmentViolation

Expand Down

0 comments on commit bd4f1d3

Please sign in to comment.