aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: e7b1df452fcd61475a9e2c8fb8a7310524c8bc01 (plain)
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
#!/usr/bin/env python3
from setuptools import setup, find_namespace_packages

setup(
    name='pyecsca',
    author='Jan Jancar',
    author_email='johny@neuromancer.sk',
    version='0.1.0',
    url="https://neuromancer.sk/pyecsca/",
    packages=find_namespace_packages(include=["pyecsca.*"]),
    license="MIT",
    description="Python Elliptic Curve cryptography Side Channel Analysis toolkit.",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: MIT License",
        "Topic :: Security",
        "Topic :: Security :: Cryptography",
        "Programming Language :: Python :: 3",
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research"
    ],
    package_data={
        "pyecsca.ec": ["efd/*/*", "efd/*/*/*", "efd/*/*/*/*", "std/*", "std/*/*"]
    },
    # install_package_data=True,
    python_requires='>=3.8',
    install_requires=[
        "numpy==1.23.5",
        "scipy",
        "sympy>=1.7.1",
        "atpublic",
        "cython",
        "fastdtw",
        "asn1crypto",
        "h5py",
        "holoviews",
        "bokeh",
        "matplotlib",
        "datashader",
        "xarray",
        "astunparse",
        "numba==0.56.4"
    ],
    extras_require={
        "picoscope_sdk": ["picosdk"],
        "picoscope_alt": ["picoscope"],
        "chipwhisperer": ["chipwhisperer"],
        "smartcard": ["pyscard"],
        "leia": ["smartleia"],
        "gmp": ["gmpy2"],
        "dev": ["mypy", "flake8", "interrogate", "pyinstrument", "black", "types-setuptools"],
        "test": ["nose2", "parameterized", "coverage"],
        "doc": ["sphinx", "sphinx-autodoc-typehints", "nbsphinx", "sphinx-paramlinks"]
    }
)