1
1
[build-system ]
2
- requires = [" setuptools>=61.2.0 " , " wheel " , " setuptools_scm[toml]>=3.4.3 " ]
3
- build-backend = " setuptools.build_meta "
2
+ requires = [" hatchling " ]
3
+ build-backend = " hatchling.build "
4
4
5
5
[project ]
6
6
name = " normality"
7
- authors = [{
name =
" Friedrich Lindenberg" ,
email =
" [email protected] " }]
8
- license = {text = " MIT" }
7
+ version = " 2.5.0"
8
+ authors = [{
name =
" Friedrich Lindenberg" ,
email =
" [email protected] " }]
9
+ license = { file = " LICENSE" }
9
10
description = " Micro-library to normalize text strings"
10
11
readme = " README.md"
11
12
keywords = [" text" , " unicode" , " normalization" , " slugs" ]
@@ -14,40 +15,31 @@ classifiers = [
14
15
" Intended Audience :: Developers" ,
15
16
" License :: OSI Approved :: MIT License" ,
16
17
" Operating System :: OS Independent" ,
17
- " Programming Language :: Python :: 3.5" ,
18
- " Programming Language :: Python :: 3.6" ,
19
- " Programming Language :: Python :: 3.7" ,
18
+ " Programming Language :: Python :: 3.9" ,
19
+ " Programming Language :: Python :: 3.10" ,
20
+ " Programming Language :: Python :: 3.11" ,
21
+ " Programming Language :: Python :: 3.12" ,
20
22
]
21
- urls = { Homepage = " http://github.com/pudo/normality " }
23
+ requires-python = " >= 3.9 "
22
24
dependencies = [
23
25
" banal >= 1.0.1" ,
24
26
" text-unidecode" ,
25
27
" chardet" ,
26
28
" charset-normalizer >= 2.0.0" ,
27
29
]
28
- dynamic = [" version" ]
30
+ # dynamic = ["version"]
31
+
32
+ [project .urls ]
33
+ Documentation = " https://github.com/pudo/normality"
34
+ Repository = " https://github.com/pudo/normality.git"
35
+ Issues = " https://github.com/pudo/normality/issues"
29
36
30
37
[project .optional-dependencies ]
31
38
icu = [" pyicu >= 1.9.3" ]
32
- dev = [
33
- " pyicu >= 1.9.3" ,
34
- " mypy" ,
35
- " pytest" ,
36
- " types-chardet" ,
37
- ]
38
-
39
- [tool .setuptools ]
40
- zip-safe = false
41
- include-package-data = true
42
-
43
- [tool .setuptools .packages .find ]
44
- exclude = [" ez_setup" , " examples" , " tests" ]
45
- namespaces = false
46
-
47
- [tool .setuptools .package-data ]
48
- banal = [" py.typed" ]
39
+ dev = [" pyicu >= 1.9.3" , " mypy" , " pytest" , " types-chardet" , " wheel" , " build" ]
49
40
50
- [tool .setuptools_scm ]
41
+ [tool .hatch .build .targets .sdist ]
42
+ only-include = [" normality" , " LICENSE" , " README.md" ]
51
43
52
44
[tool .distutils .bdist_wheel ]
53
- universal = 1
45
+ universal = true
0 commit comments