b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/setup.py |
| 2 | +++ b/setup.py |
| 3 | @@ -12,7 +12,7 @@ setup( |
| 4 | Self-service finite-state machines for the programmer on the go. |
| 5 | """.strip(), |
| 6 | readme='README.md', |
| 7 | - packages=find_packages(exclude=[]), |
| 8 | + packages=find_packages(exclude=["*._test", "*._test.*"]), |
| 9 | package_dir={'automat': 'automat'}, |
| 10 | setup_requires=[ |
| 11 | 'wheel', |
| 12 | @@ -25,6 +25,7 @@ setup( |
| 13 | author='Glyph', |
| 14 | author_email='glyph@twistedmatrix.com', |
| 15 | include_package_data=True, |
| 16 | + exclude_package_data={'':['_test/*']}, |
| 17 | license="MIT", |
| 18 | keywords='fsm finite state machine automata', |
| 19 | classifiers=[ |