diff --git a/HISTORY.rst b/HISTORY.rst index 1ee2183..63114f4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -7,7 +7,7 @@ Release History ++++++++++++++++++ **Updates** -- None +- Explicitly declare the setuptools build backend in `pyproject.toml`. **Fixes** - None diff --git a/README.md b/README.md index 84779a1..56efd92 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ All table styles we support can be found [here](https://python-docx.readthedocs. ## Options -There is 5 options that you can use to personalize your execution: +There is 7 options that you can use to personalize your execution: - Disable Images: Ignore all images. - Disable Tables: If you do it, it will render just the raw tables content - Disable Styles: Ignore all CSS styles. Also disables Style-Map. diff --git a/pyproject.toml b/pyproject.toml index 6258393..e99e795 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + [tool.ruff] line-length = 127 target-version = "py37" diff --git a/setup.cfg b/setup.cfg index aa53921..19088e3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,20 +3,19 @@ name = html-for-docx version = 1.2.0 url = https://github.com/dfop02/html4docx project_urls = - Changelog = https://github.com/dfop02/html4docx/blob/master/HISTORY.rst + Changelog = https://github.com/dfop02/html4docx/blob/main/HISTORY.rst Bug Tracker = https://github.com/dfop02/html4docx/issues Repository = https://github.com/dfop02/html4docx author = Diogo Fernandes author_email = diogofernandesop@gmail.com maintainer = Diogo Fernandes maintainer_email = diogofernandesop@gmail.com -description = Convert valid HTML input for a valid docx. +description = Convert HTML to DOCX easily and quickly. long_description = file: README.md long_description_content_type = text/markdown license = MIT classifiers = Intended Audience :: Developers - License :: OSI Approved :: MIT License Topic :: Software Development :: Libraries Topic :: Software Development :: Build Tools Topic :: Text Processing diff --git a/setup.py b/setup.py index 4a2ec38..c0b2ebb 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name = 'html-for-docx', version = VERSION, - description = 'Convert HTML to Docx easily and fastly', + description = 'Convert HTML to DOCX easily and quickly', long_description = README, license = 'MIT', packages = find_packages(), @@ -21,14 +21,13 @@ zip_safe = False, url = 'https://github.com/dfop02/html4docx', project_urls = { - "Changelog": "https://github.com/dfop02/html4docx/blob/master/HISTORY.rst", + "Changelog": "https://github.com/dfop02/html4docx/blob/main/HISTORY.rst", "Bug Tracker": "https://github.com/dfop02/html4docx/issues", "Repository": "https://github.com/dfop02/html4docx" }, download_url = f'https://github.com/dfop02/html4docx/archive/{VERSION}.tar.gz', classifiers = [ 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Text Processing',