josephsurin/lattice-based-cryptanalysis

Making this pip installable

Closed this issue · 1 comments

I think it would be good if it is possible to install this using pip install .

A minimal working example would be like this:

pyproject.toml:

[project]
name = "lbc_toolkit"
version = "0.0.1"
dependencies = [
    "sagemath-standard >= 9.8",
]

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

setup.cfg:

[options]
include_package_data = True

[options.package_data]
lbc_toolkit = **/*.sage

I am not sure "sagemath-standard >= 9.8" dependency requirement will work correctly in all setups, but it works correctly for me.

Thank you!! I tested that this also works well for me. I added these files and some documentation in the readme. This is a lot easier to use :)