-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move project metadata to pyproject.toml (#555)
also: replace flake8 by ruff.
- Loading branch information
1 parent
7b75b4f
commit 423c6df
Showing
14 changed files
with
57 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
from .ext import ExtType, Timestamp | ||
|
||
import os | ||
import sys | ||
|
||
|
||
version = (1, 0, 5) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,52 @@ requires = [ | |
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "msgpack" | ||
dynamic = ["version"] | ||
license = {text="Apache 2.0"} | ||
authors = [{name="Inada Naoki", email="[email protected]"}] | ||
description = "MessagePack serializer" | ||
readme = "README.md" | ||
#keywords = ["python", "msgpack", "messagepack", "serializer", "serialization", "binary"] | ||
#requires-python = ">=3.8" | ||
classifiers = [ | ||
# "Development Status :: 5 - Production/Stable", | ||
# "Operating System :: OS Independent", | ||
# "Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"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 :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://msgpack.org/" | ||
Documentation = "https://msgpack-python.readthedocs.io/" | ||
Repository = "https://github.com/msgpack/msgpack-python/" | ||
Tracker = "https://github.com/msgpack/msgpack-python/issues" | ||
#Changelog = "https://github.com/msgpack/msgpack-python/blob/main/ChangeLog.rst" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "msgpack.__version__"} | ||
|
||
[tool.black] | ||
line-length = 100 | ||
target-version = ["py37"] | ||
skip_string_normalization = true | ||
|
||
[tool.ruff] | ||
line-length = 100 | ||
target-version = "py38" | ||
ignore = [] | ||
|
||
[tool.ruff.per-file-ignores] | ||
"msgpack/__init__.py" = ["F401", "F403"] | ||
"msgpack/fallback.py" = ["E731"] | ||
"test/test_seq.py" = ["E501"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
import pytest | ||
from msgpack import packb, unpackb | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import pytest | ||
import sys | ||
import datetime | ||
import msgpack | ||
from msgpack.ext import Timestamp | ||
|