Skip to content

Commit

Permalink
replace old setup.py config with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirudennis committed Aug 8, 2024
1 parent 8b26327 commit 739f758
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 54 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "textile"
authors = [
{ name = "Dennis Burke", email = "[email protected]"}
]
description = 'Textile processing for python.'
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules',
]
dynamic = ["version",]
dependencies = [
'html5lib>=1.0.1',
'regex>1.0; implementation_name != "pypy"',
]
requires-python = '>=3.8'
keywords = ['textile', 'text', 'html', 'markup']

[project.optional-dependencies]
develop = ['pytest', 'pytest-cov']
imagesize = ['Pillow>=3.0.0',]

[python.scripts]
pytextile = "textile.__main__:main"

[tool.setuptools.dynamic]
version = {attr = "textile.__version__"}
52 changes: 0 additions & 52 deletions setup.py

This file was deleted.

0 comments on commit 739f758

Please sign in to comment.