mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
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:
@@ -0,0 +1,30 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -2,6 +2,7 @@
|
||||
Setup file for automat
|
||||
"""
|
||||
|
||||
+import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
try:
|
||||
@@ -14,7 +15,7 @@ except(IOError, ImportError):
|
||||
|
||||
setup(
|
||||
name='Automat',
|
||||
- use_scm_version=True,
|
||||
+ version=os.getenv('PKG_VERSION'),
|
||||
url='https://github.com/glyph/Automat',
|
||||
description="""
|
||||
Self-service finite-state machines for the programmer on the go.
|
||||
@@ -22,10 +23,6 @@ setup(
|
||||
long_description=long_description,
|
||||
packages=find_packages(exclude=[]),
|
||||
package_dir={'automat': 'automat'},
|
||||
- setup_requires=[
|
||||
- 'setuptools-scm',
|
||||
- 'm2r',
|
||||
- ],
|
||||
install_requires=[
|
||||
"attrs",
|
||||
"six",
|
||||
Reference in New Issue
Block a user