aboutsummaryrefslogblamecommitdiff
path: root/source/setup.py
blob: 97b405d07a3df5203ae3762c5f148538cd2a0188 (plain) (tree)





































                                                                    
# 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",
    ],
)