Skip to content

Commit ded5f5a

Browse files
authored
Use pyproject.toml (#1087)
1 parent 592c4d2 commit ded5f5a

File tree

4 files changed

+53
-53
lines changed

4 files changed

+53
-53
lines changed

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
exclude = tests,build,.venv,docs
3+
ignore = E203,W503,E722
4+
max_line_length=129

pyproject.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[project]
2+
name = "PyMySQL"
3+
version = "1.0.2"
4+
description = "Pure Python MySQL Driver"
5+
authors = [
6+
{name = "Inada Naoki", email = "[email protected]"},
7+
{name = "Yutaka Matsubara", email = "[email protected]"}
8+
]
9+
dependencies = []
10+
11+
requires-python = ">=3.7"
12+
readme = "README.rst"
13+
license = {text = "MIT License"}
14+
keywords = ["MySQL"]
15+
classifiers = [
16+
"Development Status :: 5 - Production/Stable",
17+
"Programming Language :: Python :: 3",
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 :: Implementation :: CPython",
24+
"Programming Language :: Python :: Implementation :: PyPy",
25+
"Intended Audience :: Developers",
26+
"License :: OSI Approved :: MIT License",
27+
"Topic :: Database",
28+
]
29+
30+
[project.optional-dependencies]
31+
"rsa" = [
32+
"cryptography"
33+
]
34+
"ed25519" = [
35+
"PyNaCl>=1.4.0"
36+
]
37+
38+
[project.urls]
39+
"Project" = "https://github.com/PyMySQL/PyMySQL"
40+
"Documentation" = "https://pymysql.readthedocs.io/"
41+
42+
[build-system]
43+
requires = ["setuptools>=61", "wheel"]
44+
build-backend = "setuptools.build_meta"
45+
46+
[tool.setuptools.packages.find]
47+
namespaces = false
48+
include = ["pymysql"]
49+
exclude = ["tests*", "pymysql.tests*"]

setup.cfg

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

setup.py

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

0 commit comments

Comments
 (0)