From 1de21d566947a3537757ad0d6513e9bc3dfa7b98 Mon Sep 17 00:00:00 2001 From: Logan Adams Date: Tue, 25 Feb 2025 14:57:25 -0800 Subject: [PATCH 1/3] Add pyproject.toml Signed-off-by: Logan Adams --- pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..10ed7c2 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,11 @@ +[build-system] +requires = [ + "setuptools>=64", + "wheel", + "ninja", + "typing-extensions>=4.10.0", + "torch", + "deepspeed" +] +# Use legacy backend to import local packages in setup.py +build-backend = "setuptools.build_meta:__legacy__" \ No newline at end of file From 8f6b0f921d5875d913c07f230b50608cd7879865 Mon Sep 17 00:00:00 2001 From: Logan Adams Date: Tue, 25 Mar 2025 11:15:45 -0700 Subject: [PATCH 2/3] Update Signed-off-by: Logan Adams --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 10ed7c2..36f9922 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,10 +2,7 @@ requires = [ "setuptools>=64", "wheel", - "ninja", - "typing-extensions>=4.10.0", - "torch", - "deepspeed" + "packaging" ] # Use legacy backend to import local packages in setup.py build-backend = "setuptools.build_meta:__legacy__" \ No newline at end of file From f18da8dc35a63f357810203a6dad0d9ea31a4564 Mon Sep 17 00:00:00 2001 From: Logan Adams Date: Tue, 25 Mar 2025 11:18:31 -0700 Subject: [PATCH 3/3] Fix whitespace Signed-off-by: Logan Adams --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 36f9922..648f5bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,4 +5,4 @@ requires = [ "packaging" ] # Use legacy backend to import local packages in setup.py -build-backend = "setuptools.build_meta:__legacy__" \ No newline at end of file +build-backend = "setuptools.build_meta:__legacy__"