Remove old import of distutils

This commit is contained in:
Tony Garnock-Jones 2022-06-03 21:21:44 +02:00
parent 2e50591946
commit 4ef1341883
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
[ -d .venv ] || python -m venv .venv
. .venv/bin/activate
pip install -U coverage setuptools setuptools_scm wheel
if ! [ -d .venv ]
then
python -m venv .venv
. .venv/bin/activate
pip install -U coverage setuptools setuptools_scm wheel
else
. .venv/bin/activate
fi

View File

@ -1,7 +1,4 @@
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import setup
setup(
name="preserves",