-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathsetup.py
46 lines (42 loc) · 1.96 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
from setuptools import setup
from misc import __version__
setup(
name = "cpppo",
version = __version__,
tests_require = [ 'pytest' ],
install_requires = open( 'requirements.txt' ).readlines(),
packages = ['', 'server', 'server/enip'],
package_dir = {'': '.'},
extra_path = 'cpppo',
author = "Perry Kundert",
author_email = "[email protected]",
description = "Cpppo is a Communication Protocol Python Parser and Originator",
long_description = """\
Cpppo is used to create event-driven state machines which consume a stream
of input and generate a series of state changes, or an indication that no
progress is possible due to (for example) exhaustion of input symbols.
This is useful for creating parsers for complex grammars describing
languages, including binary computer protocols.
An example included with cpppo is an implementation of a subset of the
EtherNet/IP CIP language used by some industrial control equipment, such as
Rockwell's Logix Controllers. The cpppo.server.enip package can be used to
create Python programs which can parse requests in this protocol (eg. as a
server, to implement something like a simulated Controller) or originate
requests in this protocol (eg. as a client, sending commands to a
Controller).""",
license = "Dual License; GPLv3 and Proprietary",
keywords = "cpppo protocol parser DFA",
url = "https://github.com/pjkundert/cpppo",
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"License :: Other/Proprietary License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Environment :: Console",
"Environment :: Web Environment",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Text Processing :: Filters"
],
)