-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
58 lines (52 loc) · 1.67 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python3
import setuptools
import os
try:
from stdeb.command.sdist_dsc import sdist_dsc
from stdeb.command.bdist_deb import bdist_deb
except ImportError:
sdist_dsc = None
bdist_deb = None
__version__ = '1.0.4'
if os.path.exists('requirements.txt'):
with open("requirements.txt", "r") as obj:
requirements = obj.read().splitlines()
else:
requirements = []
with open("README.md", "r") as obj:
long_description = obj.read()
setuptools.setup(
name="sibc",
version=__version__,
author="JJChiDguez",
author_email="chidoys@gmail.com",
description=("Supersingular Isogeny-Based Cryptography constructions: currently, csidh, bsidh, sidh, and sike are implemented by using traditional and velusqrt formulae on Montgomery curve x-only projective coordinates"),
long_description=long_description,
long_description_content_type="text/markdown",
license="GPLv3",
url="https://github.com/JJChiDguez/sibc",
packages=setuptools.find_packages(),
keywords="csidh, bsidh, sidh, sike, sibc, encryption",
classifiers=[
"Programming Language :: Python :: 3",
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
"Operating System :: OS Independent",
],
python_requires=">=3.7",
entry_points={
"console_scripts": [
"sibc=sibc.__main__:main",
"sibc-precompute-sdacs=sibc.precompute_sdacs:main",
]
},
zip_safe=False,
install_requires=requirements,
include_package_data=True,
cmdclass=dict(
bdist_deb=bdist_deb,
sdist_dsc=sdist_dsc,
),
package_data = {
"" : [ "sibc/data/*" ]
}
)