-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
42 lines (38 loc) · 1.32 KB
/
setup.py
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
from setuptools import setup, Extension, Command
_chacha20 = Extension(
'rfc7539._chacha20',
include_dirs=['src/'],
sources=['src/_chacha20.c'],
extra_compile_args=['-std=c99', '-O2']
)
_poly1305 = Extension(
'rfc7539._poly1305',
include_dirs=['src/'],
sources=['src/_poly1305.c'],
extra_compile_args=['-std=c99', '-O2']
)
setup(
name='rfc7539',
version='2.0.1',
author='Anton Kueltz',
author_email='kueltz.anton@gmail.com',
license='GNU General Public License v3 (GPLv3)',
keywords='rfc7539 poly1305 chacha20 chacha20poly1305',
description='An AEAD construction per RFC7539',
long_description=''.join(open('README.rst', 'r').readlines()),
url='https://github.com/AntonKueltz/rfc7539',
packages=['rfc7539'],
ext_modules=[_chacha20, _poly1305],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Security :: Cryptography',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)