From a0dc123627253bd56038d9d85d8ab18b23880c12 Mon Sep 17 00:00:00 2001 From: Artyom Semidolin <43622365+Artanias@users.noreply.github.com> Date: Thu, 6 Feb 2025 10:41:12 +0300 Subject: [PATCH] build: moves setuptools requirements into the build requirements of the setup script. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f7d96e9..5ee1f99 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,11 @@ import sys from pathlib import Path -from setuptools import Extension, find_packages, setup - BUILD_REQUIREMENTS: tuple[str, ...] = ( "argparse-manpage==3", "Babel==2.15.0", "Cython~=3.0.8", + "setuptools~=75.8.0", ) INSTALL_REQUIREMENTS: tuple[str, ...] = ( "argcomplete~=2.0.0", @@ -40,6 +39,7 @@ sys.exit(1) try: from Cython.Build import cythonize + from setuptools import Extension, find_packages, setup except ModuleNotFoundError: print( "For the correct build install required build dependencies: "