STUN, TURN and ICE implementation using asyncio.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

setup.py 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import ast
  2. import os
  3. from setuptools import setup, find_packages
  4. def get_version():
  5. path = os.path.join(os.path.dirname(__file__), 'aiosturnice/__init__.py')
  6. with open(path) as file:
  7. for line in file:
  8. if line.startswith('__version__'):
  9. _, value = line.split('=', maxsplit=1)
  10. return ast.literal_eval(value.strip())
  11. # Allow setup.py to be run from any path
  12. os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  13. # Import long description
  14. long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
  15. setup(
  16. name='aiosturnice',
  17. version=get_version(),
  18. packages=find_packages(),
  19. install_requires=[
  20. 'click>=6.3',
  21. 'bitstring>=3.1.3',
  22. 'passlib>=1.6.5',
  23. 'asyncio>=3.4.3',
  24. ],
  25. tests_require=[
  26. 'pytest>=2.8.7',
  27. 'pytest-asyncio>=0.3.0',
  28. ],
  29. extras_require={
  30. 'debug': ['logbook>=0.12.5'],
  31. },
  32. include_package_data=True,
  33. # PyPI metadata
  34. author='Lennart Grahl',
  35. author_email='lennart.grahl@gmail.com',
  36. description='STURN, TURN and ICE implementation of RFC5245bis using asyncio.',
  37. long_description=long_description,
  38. license='MIT License',
  39. keywords='rfc ice 5245bis turn stun 5389',
  40. url='https://vcs.zwuenf.org/lgrahl/sturnice',
  41. classifiers=[
  42. 'Development Status :: 4 - Beta',
  43. 'Environment :: Console',
  44. 'Intended Audience :: Developers',
  45. 'Intended Audience :: System Administrators',
  46. 'License :: OSI Approved :: MIT License',
  47. 'Natural Language :: English',
  48. 'Operating System :: OS Independent',
  49. 'Programming Language :: Python :: 3 :: Only',
  50. 'Topic :: Communications',
  51. 'Topic :: Internet',
  52. 'Topic :: Security',
  53. ],
  54. )