-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (27 loc) · 994 Bytes
/
Copy pathsetup.py
File metadata and controls
28 lines (27 loc) · 994 Bytes
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
from __future__ import print_function
from glob import glob
from setuptools import setup,Extension
sources = ['curve25519module.c', 'curve/curve25519-donna.c']
sources.extend(glob("curve/ed25519/*.c"))
sources.extend(glob("curve/ed25519/additions/*.c"))
sources.extend(glob("curve/ed25519/nacl_sha512/*.c"))
#headers = ['curve25519-donna.h']
module_curve = Extension('axolotl_curve25519',
sources = sorted(sources),
# headers = headers,
include_dirs = [
'curve/ed25519/nacl_includes',
'curve/ed25519/additions',
'curve/ed25519'
]
)
setup(
name='python-axolotl-curve25519',
version="0.4.1-2",
license='GPLv3 License',
author='Tarek Galal',
ext_modules = [module_curve],
author_email='tare2.galal@gmail.com',
description='curve25519 with ed25519 signatures, used by libaxolotl',
platforms='any'
)