File: setup.py

package info (click to toggle)
siphashc 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 108 kB
  • sloc: ansic: 209; python: 91; makefile: 2
file content (41 lines) | stat: -rwxr-xr-x 1,275 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import io
import os.path
from setuptools import setup, Extension

with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme:
    LONG_DESCRIPTION = readme.read()

setup(
    name='siphashc',
    version='1.2',
    author='Michal Čihař',
    author_email='michal@cihar.com',
    description='Python module (in c) for siphash-2-4',
    long_description=LONG_DESCRIPTION,
    keywords='siphash siphash-2-4',
    url='https://github.com/WeblateOrg/siphashc',
    bugtrack_url='https://github.com/WeblateOrg/siphashc/issues',
    license="MIT",
    ext_modules=[
        Extension(
            name="siphashc",
            sources=["siphashc.c", "siphash/siphash.c"],
            language="c"
        ),
    ],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: MIT License',
    ],
    test_suite='test_siphashc',
    zip_safe=True,
)