aboutsummaryrefslogtreecommitdiff
path: root/source/setup.py
blob: 97b405d07a3df5203ae3762c5f148538cd2a0188 (plain) (blame)
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
# Minimal distutils-based setup for Cryptech Alpha board software.
#
# Yes I know that the cool kids use setuptools these days, but that
# drags in a lot of complex stuff which I don't think we really need
# or even want here.  Revisit if I turn out to be wrong about this.

from distutils.core import setup

try:
    from cryptech_version import VERSION
except ImportError:
    VERSION = "0.0.0"

setup(
    name        = "Cryptech Alpha",
    version     = VERSION,
    description = "Software for Cryptech Alpha prototype HSM",
    license     = "BSD",
    url         = "https://cryptech.is/",

    py_modules  = [ "cryptech.libhal",
    ],

    packages    = [ "cryptech.py11",
    ],

    package_dir = { "cryptech"      : "sw/libhal/cryptech",
                    "cryptech.py11" : "sw/pkcs11/cryptech/py11",
    },

    scripts     = [ "sw/libhal/cryptech_backup",
                    "sw/libhal/cryptech_console",
                    "sw/libhal/cryptech_muxd",
                    "sw/stm32/projects/hsm/cryptech_miniterm",
                    "sw/stm32/projects/hsm/cryptech_probe",
                    "sw/stm32/projects/hsm/cryptech_upload",
    ],
)