Skip to content

Commit

Permalink
Merge pull request #45 from cdce8p/project-metadata
Browse files Browse the repository at this point in the history
Move project metadata to pyproject.toml
  • Loading branch information
romis2012 authored Nov 17, 2024
2 parents b59f9a6 + 1477e55 commit f829f49
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 41 deletions.
29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'

[project]
name = 'aiohttp_socks'
license = {text = 'Apache-2.0'}
description = 'Proxy connector for aiohttp'
readme = 'README.md'
authors = [{name = 'Roman Snegirev', email = '[email protected]'}]
keywords = [
'asyncio', 'aiohttp', 'socks', 'socks5', 'socks4', 'http', 'proxy'
]
requires-python = ">=3.8.0"
dependencies = [
'aiohttp>=3.10.0',
'python-socks[asyncio]>=2.4.3,<3.0.0',
]
dynamic = ['version']

[project.urls]
Homepage = 'https://github.com/romis2012/aiohttp-socks'

[tool.setuptools.dynamic]
version = {attr = 'aiohttp_socks.__version__'}

[tool.setuptools.packages.find]
include = ['aiohttp_socks*']

[tool.black]
line-length = 99
target-version = ['py37', 'py38', 'py39']
Expand Down
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.

0 comments on commit f829f49

Please sign in to comment.