From ebb9a152a2ef588a486af530b122fbd96e3b3885 Mon Sep 17 00:00:00 2001 From: vgrem Date: Wed, 26 Jun 2024 11:08:20 +0300 Subject: [PATCH] fix: replace distutils with setuptools --- requirements.txt | 2 +- setup.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5dcc29ad..8cbe05e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ requests==2.32.0 requests_ntlm [NTLMAuthentication] -setuptools==65.5.1 +setuptools==70.1.1 msal==1.28.0 pytz==2021.1 # The codebase uses "Self" and "Required" available in the typing module diff --git a/setup.py b/setup.py index d9a44473..b333c6e4 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- import io -from distutils.core import setup -import setuptools +from setuptools import setup, find_packages with io.open("README.md", mode="r", encoding="utf-8") as fh: long_description = fh.read() @@ -48,7 +47,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ], - packages=setuptools.find_packages( + packages=find_packages( exclude=[ "tests", "tests.*",