forked from aiortc/aiortc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (50 loc) · 1.57 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
import os.path
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
readme_file = os.path.join(root_dir, 'README.rst')
with open(readme_file, encoding='utf-8') as f:
long_description = f.read()
cffi_modules = [
'src/build_opus.py:ffibuilder',
'src/build_vpx.py:ffibuilder',
]
install_requires = [
'aioice>=0.6.12,<0.7.0',
'attrs',
'av>=6.1.0,<7.0.0',
'cffi>=1.0.0',
'crc32c',
'cryptography>=2.2',
'pyee',
'pylibsrtp>=0.5.6',
'pyopenssl',
]
if os.environ.get('READTHEDOCS') == 'True':
cffi_modules = []
install_requires = list(filter(lambda x: x != 'av', install_requires))
setuptools.setup(
name='aiortc',
version='0.9.18',
description='An implementation of WebRTC and ORTC',
long_description=long_description,
url='https://github.com/jlaine/aiortc',
author='Jeremy Lainé',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
cffi_modules=cffi_modules,
packages=['aiortc', 'aiortc.codecs', 'aiortc.contrib'],
setup_requires=['cffi>=1.0.0'],
install_requires=install_requires,
)