From 7385911fa4f59ca773fafff75b8d7a3939bd98f4 Mon Sep 17 00:00:00 2001 From: gregkub <gregoire.kubler@proton.me> Date: Thu, 2 May 2024 15:13:49 +0200 Subject: [PATCH] feat : pyproject.toml + created pyproject.toml --- .gitignore | 5 ++++- pyproject.toml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore index 9fbfccc..aa7d881 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,9 @@ install*/ __pycache__ *.pyc *.egg-info +dist*/ +wheelhouse/* +_version.py # Mermaid *.mmd @@ -18,4 +21,4 @@ __pycache__ xml*/ # ONNX -*.onnx \ No newline at end of file +*.onnx diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..02d28fc --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,33 @@ +[project] +name = "aidge_backend_cuda" +description="CUDA implementations of the operators and graph of aidge framework" +dynamic = ["version"] +dependencies = ["numpy"] +requires-python = ">= 3.7" +readme = "README.md" +license = { file = "LICENSE" } +classifiers = [ + "Development Status :: 2 - Pre-Alpha", + "Programming Language :: Python :: 3" + ] + +[build-system] +requires = ["setuptools>=68", "setuptools-scm", "cmake"] +build-backend = "setuptools.build_meta" + +##################################################### +#Â CIBUILDWHEEL +[tool.cibuildwheel] +build-frontend = "build" +before-build = ["bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"] +[tool.cibuildwheel.environment] +# aidge_core do not rely on any aidge dependency, hence this string is empty +AIGE_DEPENDENCIES = "aidge_core" # format => "dep_1 dep_2 ... dep_n" + +##################################################### +#Â SETUPTOOLS +[tool.setuptools] +# packages=["aidge_core", "export"] + +[tool.setuptools_scm] +version_file = "_version.py" -- GitLab