Skip to content

Commit

Permalink
update setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-cbo committed Sep 17, 2024
1 parent c8c19c2 commit b6e63b5
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 62 deletions.
67 changes: 67 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[project]
name = "valkey"
description = "Python client for Valkey forked from redis-py"
readme = "README.md"
keywords = ["Valkey", "key-value store", "database"]
license = { text = "MIT License" }
version = "6.0.2"

authors = [
{ name = "valkey-py authors", email = "[email protected]" }
]

classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
]

requires-python = ">=3.8"

dependencies =[
'async-timeout>=4.0.3; python_version<"3.11.3"',
]

[project.optional-dependencies]
libvalkey = ["libvalkey>=4.0.0"]
ocsp = ["cryptography>=36.0.1", "pyopenssl==23.2.1", "requests>=2.31.0"]

[project.urls]
Homepage = "https://github.com/valkey-io/valkey-py"
Documentation = "https://valkey-py.readthedocs.io/en/latest/"
Changes = "https://github.com/valkey-io/valkey-py/releases"
Code = "https://github.com/valkey-io/valkey-py"
"Issue tracker" = "https://github.com/valkey-io/valkey-py/issues"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
include = [
"valkey",
"valkey._parsers",
"valkey.asyncio",
"valkey.commands",
"valkey.commands.bf",
"valkey.commands.json",
"valkey.commands.search",
"valkey.commands.timeseries",
"valkey.commands.graph",
"valkey.parsers",
]

[tool.setuptools.package-data]
valkey = ["py.typed"]
62 changes: 0 additions & 62 deletions setup.py

This file was deleted.

0 comments on commit b6e63b5

Please sign in to comment.