From 9ad260f73193a6a30416dbae28030aad75bfbef7 Mon Sep 17 00:00:00 2001 From: cpburnz <2126043+cpburnz@users.noreply.github.com> Date: Tue, 24 Jan 2023 22:57:30 -0500 Subject: [PATCH] Include missing files in sdist --- pyproject.toml | 46 +++++++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fac42f5..81ee2be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,21 +7,21 @@ authors = [ {name = "Caleb P. Burns", email = "cpburnz@gmail.com"}, ] classifiers = [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", - "Topic :: Software Development :: Libraries :: Python Modules", - "Topic :: Utilities", + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Utilities", ] description = "Utility library for gitignore style pattern matching of file paths." dynamic = ["version"] @@ -34,3 +34,19 @@ requires-python = ">=3.7" "Source Code" = "https://github.com/cpburnz/python-pathspec" "Documentation" = "https://python-path-specification.readthedocs.io/en/latest/index.html" "Issue Tracker" = "https://github.com/cpburnz/python-pathspec/issues" + + +[tool.flit.sdist] +include = [ + "*.cfg", + "*.in", + "*.ini", + "*.py", + "*.rst", + "LICENSE", + "doc/", + "tests/", +] +exclude = [ + "doc/build/", +]