Skip to content

Commit

Permalink
Merge pull request #672 from sebastic/no-distutils
Browse files Browse the repository at this point in the history
Don't use deprecated distutils module.
  • Loading branch information
cehbrecht authored Jul 7, 2023
2 parents d0bb978 + 905208e commit c56aba6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
7 changes: 1 addition & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@

import sys

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

from setuptools import find_packages
from setuptools import find_packages, setup

with open("VERSION.txt") as ff:
VERSION = ff.read().strip()
Expand Down

0 comments on commit c56aba6

Please sign in to comment.