Migrated the metadata into PEP 621-compliant pyproject.toml, got rid of setup.cfg.
This commit is contained in:
@@ -1,5 +1,45 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=42.2.0", "setuptools_scm[toml]>=3.4.3"]
|
||||
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "markdownify"
|
||||
authors = [{name = "Matthew Tretter", email = "m@tthewwithanm.com"}]
|
||||
description = "Convert HTML to markdown."
|
||||
readme = "README.rst"
|
||||
classifiers = [
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Django",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 2.5",
|
||||
"Programming Language :: Python :: 2.6",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Topic :: Utilities",
|
||||
]
|
||||
dependencies = [
|
||||
"beautifulsoup4>=4.9,<5",
|
||||
"six>=1.15,<2"
|
||||
]
|
||||
dynamic = ["version"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "http://github.com/matthewwithanm/python-markdownify"
|
||||
Download = "http://github.com/matthewwithanm/python-markdownify/tarball/master"
|
||||
|
||||
[project.scripts]
|
||||
markdownify = "markdownify.main:main"
|
||||
|
||||
[tool.setuptools]
|
||||
zip-safe = false
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["markdownify", "markdownify.*"]
|
||||
namespaces = false
|
||||
|
||||
[tool.setuptools_scm]
|
||||
|
||||
33
setup.cfg
33
setup.cfg
@@ -1,33 +0,0 @@
|
||||
[metadata]
|
||||
name = markdownify
|
||||
author = Matthew Tretter
|
||||
author_email = m@tthewwithanm.com
|
||||
description = Convert HTML to markdown.
|
||||
url = http://github.com/matthewwithanm/python-markdownify
|
||||
download_url = http://github.com/matthewwithanm/python-markdownify/tarball/master
|
||||
long_description = file: README.rst
|
||||
classifiers =
|
||||
Environment :: Web Environment
|
||||
Framework :: Django
|
||||
Intended Audience :: Developers
|
||||
License :: OSI Approved :: MIT License
|
||||
Operating System :: OS Independent
|
||||
Programming Language :: Python :: 2.5
|
||||
Programming Language :: Python :: 2.6
|
||||
Programming Language :: Python :: 2.7
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Topic :: Utilities
|
||||
|
||||
[options]
|
||||
packages = find:
|
||||
zip_safe = False
|
||||
install_requires = beautifulsoup4>=4.9,<5; six>=1.15,<2
|
||||
include_package_data = True
|
||||
|
||||
[options.packages.find]
|
||||
include = markdownify, markdownify.*
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts = markdownify = markdownify.main:main
|
||||
Reference in New Issue
Block a user