python-automat: new package

This is a new requirement for the Twisted package.

From the readme:

Automat is a library for concise, idiomatic Python expression of
finite-state automata (particularly deterministic finite-state
transducers).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2018-01-16 03:33:46 +08:00
parent 72a4ac1585
commit 39914d1f2c
4 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,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",
@@ -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',
)