Skip to content

Commit

Permalink
chore: switch ot pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Oct 17, 2024
1 parent c378727 commit 6c04561
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 60 deletions.
49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,51 @@
[build-system]
requires = [ "setuptools",]
build-backend = "setuptools.build_meta"

[project]
name = "check_link"
version = "0.0.10.post1"
description = "Check if URL is available"
classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10",]
keywords = [ "URL", "validator", "HTTP",]
requires-python = ">= 3.7"
dependencies = [ "httpx", "requests",]
authors = [
{name = "DataShades", email = "[email protected]"},
{name = "Sergey Motornyuk", email = "[email protected]"},
]
maintainers = [
{name = "DataShades", email = "[email protected]"},
]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.license]
text = "AGPL"

[project.urls]
Homepage = "https://github.com/DataShades/check-link"

[project.optional-dependencies]
faster = []
cli = [ "click",]
dev = [ "pytest", "pytest-asyncio", "pytest-httpx", "pytest-cov", "aioresponses", "responses", "faker",]

[project.scripts]
check-link = "check_link.cli:main"

[tool.setuptools]
include-package-data = false

[tool.pytest.ini_options]
testpaths = [ "tests",]
asyncio_mode = "auto"

[tool.setuptools.packages.find]
exclude = [ "tests",]
namespaces = false

[tool.black]
preview = true
60 changes: 0 additions & 60 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,60 +0,0 @@
[metadata]
name = check_link
version = 0.0.10
description = Check if URL is available
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/DataShades/check-link
author = Sergey Motornyuk
author_email = [email protected]
license = AGPL
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
keywords =
URL
validator
HTTP

[options]
python_requires = >= 3.7
install_requires =
# aiohttp
httpx
requests

packages = find:

[options.extras_require]
faster =
# aiohttp[speedups]
# aiodns

cli =
click

dev =
pytest
pytest-asyncio
pytest-httpx
pytest-cov
aioresponses
responses
faker

[options.entry_points]
console_scripts =
check-link = check_link.cli:main

[options.packages.find]
exclude =
tests


[tool:pytest]
testpaths = tests
asyncio_mode = auto

0 comments on commit 6c04561

Please sign in to comment.