Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Publishing

We currently only publish source distributions.
```sh
pip install twine
pip install setuptools twine
python setup.py sdist
twine upload dist/*
```
Expand Down
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "python-iconv"
version = "1.1.4"
description = "iconv-based Unicode converter"
readme = "README.md"
requires-python = ">=3.6"
license = "GPL-3.0-or-later"
maintainers = [
{name = "Bodo Graumann", email = "mail@bodograumann.de"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Programming Language :: C",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["iconv", "codec", "encoding", "unicode"]

[project.urls]
Homepage = "https://github.com/bodograumann/python-iconv"
Repository = "https://github.com/bodograumann/python-iconv"
Issues = "https://github.com/bodograumann/python-iconv/issues"

[tool.setuptools]
py-modules = ["iconvcodec"]
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,5 @@
libraries = ["iconv"]

setup(
name="python-iconv",
version="1.1.4",
description="iconv-based Unicode converter",
author="Bodo Graumann",
author_email="mail@bodograumann.de",
url="https://github.com/bodograumann/python-iconv",
long_description="""This is a port of Martin v. Loewis’ original iconv package to Python 3.
The iconv module exposes the operating system's iconv character
conversion routine to Python. This package provides an iconv wrapper
as well as a Python codec to convert between Unicode objects and
all iconv-provided encodings.
""",
py_modules=["iconvcodec"],
ext_modules=[Extension("iconv", sources=["iconvmodule.c"], libraries=libraries)],
)
Loading