setup.py 1.23 KB
Newer Older
1
from setuptools import setup
2
from distutils.extension import Extension
3
from Cython.Build import cythonize
4
import os
5
import versioneer
6

Andreas Schmidt's avatar
Andreas Schmidt committed
7
os.environ["CC"] = "gcc-5"
8
os.environ["CXX"] = "g++-5"
9

10
ext = Extension(name='prrt', sources=["prrt/*.pyx"])
11 12
ext_modules = cythonize(ext, gdb_debug=True)

13
setup(
14
    name='prrt',
15
    version=versioneer.get_version(),
16 17 18 19 20 21 22 23 24 25 26 27 28
    description='Predictably Reliable Real-time Transport',
    long_description='Predictably Reliable Real-time Transport Protocol',
    url='https://git.nt.uni-saarland.de/LARN/PRRT',
    author='Andreas Schmidt',
    author_email='schmidt@nt.uni-saarland.de',
    license='MIT',
    classifiers=[
        # 3 - Alpha // 4 - Beta // 5 - Production/Stable
        'Development Status :: 3 - Alpha',
        # Audience and Topic
        'Intended Audience :: Developers',
        'Topic :: Communications'
        # Supported Python Versions
29 30
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
31
        'Programming Language :: Python :: 3',
32
        'Programming Language :: Python :: 3.5'
33
    ],
34
    install_requires=["cython"],
35
    keywords='prrt protocol',
36
    cmdclass=versioneer.get_cmdclass(),
37
    include_dirs=["./prrt"],
38 39 40
    ext_modules=ext_modules

)