Skip to content

Commit ebb9a15

Browse files
committed
fix: replace distutils with setuptools
1 parent 5445a1d commit ebb9a15

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
requests==2.32.0
22
requests_ntlm [NTLMAuthentication]
3-
setuptools==65.5.1
3+
setuptools==70.1.1
44
msal==1.28.0
55
pytz==2021.1
66
# The codebase uses "Self" and "Required" available in the typing module

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
import io
4-
from distutils.core import setup
54

6-
import setuptools
5+
from setuptools import setup, find_packages
76

87
with io.open("README.md", mode="r", encoding="utf-8") as fh:
98
long_description = fh.read()
@@ -48,7 +47,7 @@
4847
"Programming Language :: Python :: 3.10",
4948
"Programming Language :: Python :: 3.11",
5049
],
51-
packages=setuptools.find_packages(
50+
packages=find_packages(
5251
exclude=[
5352
"tests",
5453
"tests.*",

0 commit comments

Comments
 (0)