forked from jtriley/pystun
-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
42 lines (36 loc) · 1.22 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
import os.path
from setuptools import setup, find_packages
import stun
def main():
src = os.path.realpath(os.path.dirname(__file__))
README = open(os.path.join(src, 'README.rst')).read()
setup(
name='pystun3',
version=stun.__version__,
packages=find_packages(),
zip_safe=False,
license='MIT',
author='TalkIQ (original authors: gaohawk, Justin Riley)',
author_email='[email protected]',
url='http://github.com/talkiq/pystun3',
description='A Python STUN client for getting NAT type and external IP (RFC 3489)',
long_description=README,
keywords='STUN NAT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Internet',
'Topic :: System :: Networking :: Firewalls',
],
tests_require=['coverage', 'nose', 'prospector'],
test_suite='tests',
entry_points={
'console_scripts': [
'pystun3=stun.cli:main'
]
}
)
if __name__ == '__main__':
main()