aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-automat/patches/003-omit-tests.patch
blob: 81f9e8b363094eb562be366d5574441658c3472a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ setup(
     Self-service finite-state machines for the programmer on the go.
     """.strip(),
     long_description=long_description,
-    packages=find_packages(exclude=[]),
+    packages=find_packages(exclude=["*._test", "*._test.*"]),
     package_dir={'automat': 'automat'},
     install_requires=[
         "attrs>=19.2.0",
@@ -30,6 +30,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=[