aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup.py
diff options
context:
space:
mode:
authorJ08nY2024-07-17 16:44:58 +0200
committerJ08nY2024-07-17 16:44:58 +0200
commitfd61cf7b86f2b7c61de7794b616c80c23f0ca364 (patch)
tree5fac4e3f630a43728d7f0248d0f81f116bf31f04 /setup.py
parentbccdd6404dfb2a1f87656f1a47bf242ac87c8825 (diff)
downloadpyecsca-codegen-fd61cf7b86f2b7c61de7794b616c80c23f0ca364.tar.gz
pyecsca-codegen-fd61cf7b86f2b7c61de7794b616c80c23f0ca364.tar.zst
pyecsca-codegen-fd61cf7b86f2b7c61de7794b616c80c23f0ca364.zip
Bump to 0.3.2.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index ac4958e..4831b6a 100644
--- a/setup.py
+++ b/setup.py
@@ -16,9 +16,8 @@ class CustomTommath(Command):
def run(self) -> None:
if self.build_lib:
- subprocess.run(["make", "host", "nano", "stm32f0", "stm32f3"], cwd="ext")
- tommath_dir = Path("pyecsca/codegen/tommath")
- shutil.copytree(tommath_dir, self.build_lib / tommath_dir)
+ tommath_dir = Path("..") / self.build_lib / Path("pyecsca/codegen/tommath")
+ subprocess.run(["make", "host", "nano", "stm32f0", "stm32f3", f"TOMMATH_DIR={tommath_dir}"], cwd="ext")