Skip to content
Snippets Groups Projects
Commit 337e9dce authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

chore : format

parent 968b0507
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #48560 waiting for manual action
......@@ -12,8 +12,9 @@ import toml
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
def get_project_name() -> str:
with open(pathlib.Path().absolute() / "pyproject.toml", "r") as file :
with open(pathlib.Path().absolute() / "pyproject.toml", "r") as file:
project_toml = toml.load(file)
return project_toml["project"]["name"]
......@@ -24,7 +25,6 @@ class CMakeExtension(Extension):
class CMakeBuild(build_ext):
def run(self):
# This lists the number of processors available on the machine
# The compilation will use half of them
......@@ -61,7 +61,7 @@ class CMakeBuild(build_ext):
f"-DCMAKE_BUILD_TYPE={compile_type}",
"-DPYBIND=ON",
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON",
"-DCOVERAGE=OFF"
"-DCOVERAGE=OFF",
]
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment