Skip to content

Commit 739f758

Browse files
committed
replace old setup.py config with pyproject.toml
1 parent 8b26327 commit 739f758

3 files changed

Lines changed: 43 additions & 54 deletions

File tree

MANIFEST.in

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

pyproject.toml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools-scm"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "textile"
7+
authors = [
8+
{ name = "Dennis Burke", email = "ikirudennis@gmail.com"}
9+
]
10+
description = 'Textile processing for python.'
11+
classifiers = [
12+
'Development Status :: 5 - Production/Stable',
13+
'Environment :: Web Environment',
14+
'Intended Audience :: Developers',
15+
'License :: OSI Approved :: BSD License',
16+
'Operating System :: OS Independent',
17+
'Programming Language :: Python',
18+
'Programming Language :: Python :: 3',
19+
'Programming Language :: Python :: 3 :: Only',
20+
'Programming Language :: Python :: 3.8',
21+
'Programming Language :: Python :: 3.9',
22+
'Programming Language :: Python :: 3.10',
23+
'Programming Language :: Python :: 3.11',
24+
'Programming Language :: Python :: 3.12',
25+
'Topic :: Software Development :: Libraries :: Python Modules',
26+
]
27+
dynamic = ["version",]
28+
dependencies = [
29+
'html5lib>=1.0.1',
30+
'regex>1.0; implementation_name != "pypy"',
31+
]
32+
requires-python = '>=3.8'
33+
keywords = ['textile', 'text', 'html', 'markup']
34+
35+
[project.optional-dependencies]
36+
develop = ['pytest', 'pytest-cov']
37+
imagesize = ['Pillow>=3.0.0',]
38+
39+
[python.scripts]
40+
pytextile = "textile.__main__:main"
41+
42+
[tool.setuptools.dynamic]
43+
version = {attr = "textile.__version__"}

setup.py

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

0 commit comments

Comments
 (0)