setup.py: Move distutils import after setuptools import

Fixes: #2267

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2022-09-26 21:20:04 -04:00
parent bc26cfa4cf
commit 23e760c9a0
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 4 additions and 3 deletions

1
debian/changelog vendored
View File

@ -45,6 +45,7 @@ freedombox (22.21) unstable; urgency=medium
* janus: Allow AF_UNIX and AF_NETLINK
* locale: Update translation strings
* doc: Fetch latest manual
* setup.py: Move distutils import after setuptools import
[ nbenedek ]
* wordpress: disable readme.html, xmlrpc.php, wp-cron.php

View File

@ -11,6 +11,9 @@ import pathlib
import re
import shutil
import subprocess
import setuptools
from setuptools.command.install import install
from distutils import log
from distutils.command.build import build
from distutils.command.clean import clean
@ -19,9 +22,6 @@ from distutils.core import Command
from distutils.dir_util import remove_tree
from distutils.util import change_root
import setuptools
from setuptools.command.install import install
from plinth import __version__
DIRECTORIES_TO_CREATE = [