diff --git a/setup.py b/setup.py index 4f2e21711f193eb7d5c37ace7b5ad83ac63d3635..2fb84a991e416c41da709845f44c1cd6042a278d 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,11 @@ from setuptools import setup, Extension from setuptools.command.build_ext import build_ext -PROJECT_NAME = "aidge_core" +def get_project_name() -> str: + return open(pathlib.Path().absolute() / "project_name.txt", "r").read().strip() + + +PROJECT_NAME = get_project_name() SETUP_DIR = pathlib.Path(__file__).parent