packages/lang/python/python-automat/patches/003-omit-tests.patch
Jeffery To d2ad1f47d3 python-automat: Update to 22.10.0, refresh patches
This also removes the patch to avoid setuptools-scm and adds a build
dependency on python-setuptools-scm/host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 10:30:52 +03:00

19 lines
610 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ setup(
Self-service finite-state machines for the programmer on the go.
""".strip(),
readme='README.md',
- packages=find_packages(exclude=[]),
+ packages=find_packages(exclude=["*._test", "*._test.*"]),
package_dir={'automat': 'automat'},
setup_requires=[
'wheel',
@@ -25,6 +25,7 @@ setup(
author='Glyph',
author_email='glyph@twistedmatrix.com',
include_package_data=True,
+ exclude_package_data={'':['_test/*']},
license="MIT",
keywords='fsm finite state machine automata',
classifiers=[