Crypto-TII / CryptographicEstimators

This project gathers and standardize command line scripts to estimate the difficulty of solving hard mathematical problems related to cryptography.
https://estimators.crypto.tii.ae/
GNU General Public License v3.0
34 stars 5 forks source link

Refactor/python migration cleanup #201

Closed Dioprz closed 1 week ago

Dioprz commented 1 week ago

Description

This PR is the last step in the python migration milestone for the library. It includes the next aspects:

  1. A general cleanup in the library, removing all the remanent Sage imports.

  2. Deprecation of the old setup.py and the introduction of the new python standard, pyproject.toml as the file to declare all the metainformation necessary to build the library.

  3. A refactor in the Dockerfile removing the necessity for hardcoding the library dependencies. It preserves the performance on build/rebuild for the docker-commands.

  4. A great refactor and cleanup of the Makefile, as well as the introduction of local commands equivalent to the docker-based ones (make doctests, make doctests-fast, make tests-all, make functional-tests, make kat-tests )

Review process

Pre-approval checklist

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud