Skip to content

Commit

Permalink
Remove distutils use
Browse files Browse the repository at this point in the history
setuptools is a better documented and well maintained enhancement based on distutils. While it provides very similar functionality, it is much better able to support users on earlier Python releases, and can respond to bug reports more quickly. A number of platform-specific enhancements already exist in setuptools that have not been added to distutils, and there is been a long-standing recommendation in the distutils documentation to prefer setuptools.
https://peps.python.org/pep-0632
  • Loading branch information
j-t-1 authored Jul 4, 2024
1 parent 7368b0c commit 5e0f08b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
import os
import re
import sys

try:
from setuptools import Command, setup
except ImportError as excp:
from distutils.core import setup, Command

from unittest import TestLoader, TextTestRunner

from setuptools import Command, setup


os.environ["COPY_EXTENDED_ATTRIBUTES_DISABLE"] = "true"
os.environ["COPYFILE_DISABLE"] = "true"
Expand Down

0 comments on commit 5e0f08b

Please sign in to comment.