File: setup.py

package info (click to toggle)
python-pylibsrtp 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 176 kB
  • sloc: python: 400; makefile: 16
file content (42 lines) | stat: -rw-r--r-- 1,331 bytes parent folder | download
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
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_srtp.py:ffibuilder']

setuptools.setup(
    name='pylibsrtp',
    version='0.6.1',
    description='Python wrapper around the libsrtp library',
    long_description=long_description,
    url='https://github.com/aiortc/pylibsrtp',
    author='Jeremy Lainé',
    author_email='jeremy.laine@m4x.org',
    license='BSD',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        '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',
        'Topic :: Communications :: Telephony',
        'Topic :: Security :: Cryptography',
    ],
    cffi_modules=cffi_modules,
    packages=['pylibsrtp'],
    install_requires=['cffi>=1.0.0'],
    setup_requires=['cffi>=1.0.0'],
)