diff --git a/debian/control b/debian/control index 9fe1f597..ebf3921a 100644 --- a/debian/control +++ b/debian/control @@ -1,46 +1,45 @@ Source: python-sipsimple Section: python Priority: optional Maintainer: Adrian Georgescu Uploaders: Tijmne de Mes -Build-Depends: debhelper, python3, +Build-Depends: debhelper (>= 11), python3, dh-python, - python3-all-dev (>= 2.7), - python3-all-dbg (>= 2.7), - cython3-dbg, + python3-all-dev, + cython, libasound2-dev, libssl-dev, libv4l-dev, - libavcodec-dev (>= 7:2.7), - libavformat-dev (>= 7:2.7), - libavutil-dev (>= 7:2.7), - libswscale-dev (>= 7:2.7), + libavcodec-dev, + libavformat-dev, + libavutil-dev, + libswscale-dev, libx264-dev, libvpx-dev, libsqlite3-dev, pkg-config, uuid-dev Standards-Version: 4.5.0 Homepage: http://sipsimpleclient.org Package: python3-sipsimple Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, python3-application, python3-dateutil, python3-dnspython, python3-eventlib, python3-gnutls, python3-lxml, python3-msrplib, - python3-otr + python3-otr, python3-twisted, python3-xcaplib Suggests: libavahi-compat-libdnssd1 Provides: ${python3:Provides} Description: Python SDK for development of SIP end-points SIP SIMPLE client SDK is a Software Development Kit for easy development of SIP end-points that support rich media like Audio, Video, Instant Messaging, File Transfers, Desktop Sharing and Presence. Other media types can be added by using an extensible high-level API. diff --git a/setup.py b/setup.py index 9675c405..755fe188 100755 --- a/setup.py +++ b/setup.py @@ -1,66 +1,66 @@ -#!/usr/bin/python2 +#!/usr/bin/python3 import glob import os from distutils.core import setup from distutils.extension import Extension from setup_pjsip import PJSIP_build_ext def find_packages(root): return [directory.replace(os.path.sep, '.') for directory, sub_dirs, files in os.walk(root) if '__init__.py' in files] class PackageInfo(object): def __init__(self, info_file): with open(info_file) as f: exec(f.read(), self.__dict__) self.__dict__.pop('__builtins__', None) def __getattribute__(self, name): # this is here to silence the IDE about missing attributes return super(PackageInfo, self).__getattribute__(name) package_info = PackageInfo(os.path.join('sipsimple', '__info__.py')) setup( name=package_info.__project__, version=package_info.__version__, description=package_info.__summary__, license=package_info.__license__, url=package_info.__webpage__, author=package_info.__author__, author_email=package_info.__email__, platforms=["Platform Independent"], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: C", "Programming Language :: Cython", "Programming Language :: Python" ], packages=find_packages('sipsimple'), package_data={ 'sipsimple.payloads': ['xml-schemas/*'] }, ext_modules=[ Extension(name="sipsimple.core._core", sources=["sipsimple/core/_core.pyx", "sipsimple/core/_core.pxd"] + glob.glob(os.path.join("sipsimple", "core", "_core.*.pxi"))), Extension(name="sipsimple.util._sha1", sources=["sipsimple/util/_sha1.pyx"], depends=["sipsimple/util/_sha1.h"]) ], cmdclass={ 'build_ext': PJSIP_build_ext }, provides=['sipsimple'] ) diff --git a/sipsimple/__info__.py b/sipsimple/__info__.py index 10de707a..57091425 100644 --- a/sipsimple/__info__.py +++ b/sipsimple/__info__.py @@ -1,14 +1,14 @@ """Package information""" -__project__ = "python-sipsimple" +__project__ = "python3-sipsimple" __summary__ = "SIP SIMPLE implementation for Python" __webpage__ = "https://sipsimpleclient.org" __version__ = "4.0.0" __author__ = "AG Projects" __email__ = "support@ag-projects.com" __license__ = "GPL" __copyright__ = "Copyright 2008-2021 {}".format(__author__)