File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ option(MLX_BUILD_METAL "Build metal backend" ON)
1818option (BUILD_SHARED_LIBS "Build mlx as a shared library" OFF )
1919
2020if (NOT MLX_VERSION)
21- set (MLX_VERSION 0.0.9 )
21+ set (MLX_VERSION 0.0.10 )
2222endif ()
2323
2424# --------------------- Processor tests -------------------------
Original file line number Diff line number Diff line change 55import os
66import subprocess
77
8+ import mlx .core as mx
9+
810# -- Project information -----------------------------------------------------
911
1012project = "MLX"
1113copyright = "2023, MLX Contributors"
1214author = "MLX Contributors"
13- version = "0.0.9"
14- release = "0.0.9"
15+ version = "." . join ( mx . __version__ . split ()[: - 1 ])
16+ release = version
1517
1618# -- General configuration ---------------------------------------------------
1719
Original file line number Diff line number Diff line change 1515def get_version (version ):
1616 if "PYPI_RELEASE" not in os .environ :
1717 today = datetime .date .today ()
18- version = f"{ version } .dev{ today .year } { today .month } { today .day } "
18+ version = f"{ version } .dev{ today .year } { today .month :02d } { today .day :02d } "
1919
2020 if "DEV_RELEASE" not in os .environ :
2121 git_hash = (
@@ -152,7 +152,7 @@ def run(self) -> None:
152152
153153 setup (
154154 name = "mlx" ,
155- version = get_version ("0.0.9 " ),
155+ version = get_version ("0.0.10 " ),
156156 author = "MLX Contributors" ,
157157158158 description = "A framework for machine learning on Apple silicon." ,
You can’t perform that action at this time.
0 commit comments