-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
48 lines (44 loc) · 1.61 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
47
48
try:
from setuptools import setup
except:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
setup(
name = "protlib",
version = "1.5.0",
py_modules = ["protlib"],
cmdclass = {'build_py': build_py},
author = "Eli Courtwright",
author_email = "[email protected]",
description = "library for implementing binary network protocols",
license = "BSD",
url = "http://pythonhosted.org/protlib/",
use_2to3=True,
test_suite="unit_tests",
long_description = """
protlib makes it easy to implement binary network protocols. It uses
the struct and SocketServer modules from the standard library. It
provides support for default and constant struct fields, nested structs,
arrays of structs, better handling for strings and arrays, struct
inheritance, and convenient syntax for instantiating and using your
custom structs.
protlib requires Python 2.7 or later and works in Python 3.
""",
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking"
]
)