forked from hydralabs/pyamf
-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
78 lines (65 loc) · 2.16 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python
# Copyright (c) The PyAMF Project.
# See LICENSE.txt for details.
# import ordering is important
import setupinfo
from setuptools import setup, find_packages
version = (0, 8, 11)
name = "Py3AMF"
description = "AMF support for Python"
long_description = setupinfo.read('README.rst')
url = "https://github.com/StdCarrot/Py3AMF"
author = "The Py3AMF Project"
author_email = "yhbu@stdc.so"
license = "MIT License"
classifiers = """
Framework :: Django
Framework :: Pylons
Framework :: Twisted
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: C
Programming Language :: Python
Programming Language :: Cython
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Topic :: Software Development :: Libraries :: Python Modules
"""
keywords = """
python3 amf amf0 amf3 flex flash remoting rpc http flashplayer air bytearray
objectproxy arraycollection recordset actionscript decoder encoder gateway
remoteobject twisted pylons django sharedobject lso sol
"""
def setup_package():
setupinfo.set_version(version)
setupinfo.write_version_py()
setup(
name=name,
version=setupinfo.get_version(),
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
keywords=keywords.strip(),
license=license,
packages=find_packages(),
ext_modules=setupinfo.get_extensions(),
install_requires=setupinfo.get_install_requirements(),
tests_require=setupinfo.get_test_requirements(),
test_suite="pyamf.tests.get_suite",
zip_safe=False,
extras_require=setupinfo.get_extras_require(),
classifiers=(
[_f for _f in classifiers.strip().split('\n') if _f] +
setupinfo.get_trove_classifiers()
),
**setupinfo.extra_setup_args())
if __name__ == '__main__':
setup_package()