-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: Use setup.cfg with the standard build chain and remove setup.py
- Remove dependency to aiotools as now we use Python 3.11+
- Loading branch information
Showing
6 changed files
with
102 additions
and
143 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 |
---|---|---|
@@ -1,15 +1,87 @@ | ||
[bdist_wheel] | ||
universal = 0 | ||
[metadata] | ||
name = callosum | ||
version = attr: callosum.__version__ | ||
author = Lablup Inc. | ||
author_email = [email protected] | ||
maintainer = Joongi Kim | ||
maintainer_email = [email protected] | ||
description = Callosum RPC Library | ||
long_description = file: README.md, CHANGES.md | ||
long_description_content_type = text/markdown | ||
keywords = asyncio, rpc, pubsub, messaging | ||
license = MIT | ||
license_files = LICENSE | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
Framework :: AsyncIO | ||
License :: OSI Approved :: MIT License | ||
Intended Audience :: Developers | ||
Operating System :: POSIX | ||
Operating System :: MacOS :: MacOS X | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.11 | ||
Topic :: Software Development | ||
Topic :: Software Development :: Libraries | ||
Topic :: Communications | ||
Topic :: Internet | ||
platforms = POSIX | ||
download_url = https://pypi.org/project/callosum | ||
project_urls = | ||
Homepage = https://github.com/lablup/callosum | ||
Repository = https://github.com/lablup/callosum | ||
Issues = https://github.com/lablup/callosum/issues | ||
Changelog = https://github.com/lablup/callosum/blob/main/CHANGES.md | ||
|
||
[options] | ||
package_dir = | ||
= src | ||
packages = find: | ||
python_requires = >=3.11 | ||
install_requires = | ||
attrs>=21.3.0 | ||
python-dateutil>=2.8.2 | ||
msgpack>=1.0.4 | ||
temporenc>=0.1 | ||
yarl>=1.8.2 | ||
zip_safe = false | ||
include_package_data = true | ||
|
||
[tool:pytest] | ||
norecursedirs = venv* virtualenv* .git | ||
[options.packages.find] | ||
where = src | ||
|
||
[flake8] | ||
# ref: http://pep8.readthedocs.io/en/latest/intro.html#error-codes | ||
ignore = E731,E221,E241,E126,E127,E129,E401,N801,N802,W504 | ||
max-line-length = 85 | ||
builtins = _ | ||
exclude = .git, .cache, .idea, __pycache__, venv, build, dist, docs | ||
[options.extras_require] | ||
build = | ||
build>=1.0.3 | ||
wheel>=0.41.0 | ||
twine~=4.0 | ||
towncrier~=22.12 | ||
test = | ||
Click>=8.0 | ||
pytest~=7.2.2 | ||
pytest-asyncio~=0.21 | ||
pytest-cov>=4.0 | ||
pytest-mock>=3.10 | ||
codecov>=2.1 | ||
dev = | ||
pre-commit | ||
lint = | ||
black~=23.9.1 | ||
ruff>=0.0.287 | ||
ruff-lsp>=0.0.38 | ||
typecheck = | ||
mypy~=1.5.1 | ||
types-python-dateutil | ||
docs = | ||
sphinx~=4.3 | ||
sphinx-autodoc-typehints | ||
thrift = | ||
thriftpy2>=0.4.16 | ||
zmq = | ||
pyzmq>=23.0.0 | ||
redis = | ||
redis>=4.6.0 | ||
snappy = | ||
python-snappy>=0.6.1 | ||
|
||
[mypy] | ||
ignore_missing_imports = true | ||
[bdist_wheel] | ||
universal = false |
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 +1,3 @@ | ||
__version__ = "0.9.10" | ||
from importlib.metadata import version | ||
|
||
__version__ = version("callosum") |
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