Skip to content
Closed
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
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ classifiers = [
]

[project.urls]
github = "https://github.com/MagicStack/asyncpg"
homepage = "https://github.com/MagicStack/asyncpg"
documentation = "https://magicstack.github.io/asyncpg/current/"
repository = "https://github.com/MagicStack/asyncpg"
changelog = "https://github.com/MagicStack/asyncpg/releases"

[project.optional-dependencies]
test = [
Expand All @@ -43,14 +46,15 @@ docs = [

[build-system]
requires = [
"setuptools>=60",
"setuptools>=61",
"wheel",

"Cython(>=0.29.24,<0.30.0)"
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
platforms = ["macOS", "POSIX", "Windows"]
zip-safe = false

[tool.setuptools.packages.find]
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
import re
import subprocess

import setuptools

# We use vanilla build_ext, to avoid importing Cython via
# the setuptools version.
import setuptools
from setuptools.command import build_py as setuptools_build_py
from setuptools.command import sdist as setuptools_sdist
from setuptools.command import build_ext as setuptools_build_ext
Expand All @@ -37,10 +38,6 @@
_ROOT = pathlib.Path(__file__).parent


with open(str(_ROOT / 'README.rst')) as f:
readme = f.read()


with open(str(_ROOT / 'asyncpg' / '_version.py')) as f:
for line in f:
if line.startswith('__version__ ='):
Expand Down