Skip to content

Commit 7235631

Browse files
authored
Move project metadata to pyproject.toml (#715)
Move project metadata to pyproject.toml
1 parent bc20fb0 commit 7235631

File tree

2 files changed

+59
-92
lines changed

2 files changed

+59
-92
lines changed

pyproject.toml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[build-system]
2+
requires = ['setuptools']
3+
build-backend = 'setuptools.build_meta'
4+
5+
[project]
6+
name = 'asyncssh'
7+
license = {text = 'EPL-2.0 OR GPL-2.0-or-later'}
8+
description = 'AsyncSSH: Asynchronous SSHv2 client and server library'
9+
readme = 'README.rst'
10+
authors = [{name = 'Ron Frederick', email = 'ronf@timeheart.net'}]
11+
classifiers = [
12+
'Development Status :: 5 - Production/Stable',
13+
'Environment :: Console',
14+
'Intended Audience :: Developers',
15+
'License :: OSI Approved',
16+
'Operating System :: MacOS :: MacOS X',
17+
'Operating System :: POSIX',
18+
'Programming Language :: Python :: 3.7',
19+
'Programming Language :: Python :: 3.8',
20+
'Programming Language :: Python :: 3.9',
21+
'Programming Language :: Python :: 3.10',
22+
'Programming Language :: Python :: 3.11',
23+
'Programming Language :: Python :: 3.12',
24+
'Topic :: Internet',
25+
'Topic :: Security :: Cryptography',
26+
'Topic :: Software Development :: Libraries :: Python Modules',
27+
'Topic :: System :: Networking',
28+
]
29+
requires-python = '>= 3.6'
30+
dependencies = [
31+
'cryptography >= 39.0',
32+
'typing_extensions >= 4.0.0',
33+
]
34+
dynamic = ['version']
35+
36+
[project.optional-dependencies]
37+
bcrypt = ['bcrypt >= 3.1.3']
38+
fido2 = ['fido2 >= 0.9.2']
39+
gssapi = ['gssapi >= 1.2.0']
40+
libnacl = ['libnacl >= 1.4.2']
41+
pkcs11 = ['python-pkcs11 >= 0.7.0']
42+
pyOpenSSL = ['pyOpenSSL >= 23.0.0']
43+
pywin32 = ['pywin32 >= 227']
44+
45+
46+
[project.urls]
47+
Homepage = 'http://asyncssh.timeheart.net'
48+
Documentation = 'https://asyncssh.readthedocs.io'
49+
Source = 'https://github.com/ronf/asyncssh'
50+
Tracker = 'https://github.com/ronf/asyncssh/issues'
51+
52+
[tool.setuptools.dynamic]
53+
version = {attr = 'asyncssh.version.__version__'}
54+
55+
[tool.setuptools.packages.find]
56+
include = ['asyncssh*']
57+
58+
[tool.setuptools.package-data]
59+
asyncssh = ['py.typed']

setup.py

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)