Skip to content
Snippets Groups Projects
Commit dc7a204b authored by Cyril Moineau's avatar Cyril Moineau
Browse files
parents cc65305e a52da6e7
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,12 @@ from setuptools import find_packages
from setuptools.command.build_ext import build_ext
def get_aidge_version() -> str:
aidge_root = pathlib.Path().absolute()
version = open(aidge_root / "version.txt", "r").read().strip()
return version
class CMakeExtension(Extension):
def __init__(self, name):
super().__init__(name, sources=[])
......@@ -93,7 +99,7 @@ if __name__ == '__main__':
setup(
name='aidge',
version="0.0.1",
version=get_aidge_version(),
python_requires='>=3.7',
description=DOCLINES[0],
long_description_content_type="text/markdown",
......
0.0.1
\ No newline at end of file
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