<commit_before>import os.path
import sys

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()

if os.environ.get('READTHEDOCS') == 'True':
    cffi_modules=[]
else:
    cffi_modules=[
        'src/build_opus.py:ffibuilder',
        'src/build_vpx.py:ffibuilder',
    ]

setuptools.setup(
    name='aiortc',
    version='0.9.6',
    description='An implementation of WebRTC and ORTC',
    long_description=long_description,
    url='https://github.com/jlaine/aiortc',
    author='<NAME>',
    author_email='<EMAIL>',
    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'],
    install_requires=['aioice>=0.6.7,<0.7.0', 'attrs', 'crcmod', 'cryptography>=2.2', 'opencv-python', 'pyee', 'pylibsrtp>=0.5.6', 'pyopenssl'],
)<commit_msg>[package] add versioned dependency on cffi (fixes #62)<commit_after>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()

if os.environ.get('READTHEDOCS') == 'True':
    cffi_modules = []
else:
    cffi_modules = [
        'src/build_opus.py:ffibuilder',
        'src/build_vpx.py:ffibuilder',
    ]

setuptools.setup(
    name='aiortc',
    version='0.9.6',
    description='An implementation of WebRTC and ORTC',
    long_description=long_description,
    url='https://github.com/jlaine/aiortc',
    author='<NAME>',
    author_email='<EMAIL>',
    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=[
        'aioice>=0.6.7,<0.7.0',
        'attrs',
        'cffi>=1.0.0',
        'crcmod',
        'cryptography>=2.2',
        'opencv-python',
        'pyee',
        'pylibsrtp>=0.5.6',
        'pyopenssl',
    ],
)
{'fraction_non_alphanumeric': 0.16454039908406934, 'fraction_numerical': 0.017664376840039256, 'mean_word_length': 3.1157469717362045, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '29503', 'n_tokens_mistral': 1080, 'n_tokens_neox': 1055, 'n_words': 191}