Skip to content

Commit

Permalink
Import distutils after setuptools to avoid warning
Browse files Browse the repository at this point in the history
Setuptools started warning about importing distutils before setuptools in version 49.2.0.
  • Loading branch information
mjakob committed Jul 14, 2020
1 parent 4a23fb5 commit 899f133
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion check_manifest.py
Expand Up @@ -31,13 +31,15 @@
import unicodedata
import zipfile
from contextlib import closing, contextmanager
from distutils.text_file import TextFile
from typing import List, Optional, Union
from xml.etree import ElementTree as ET

import toml
from setuptools.command.egg_info import translate_pattern

# import distutils after setuptools to avoid a warning
from distutils.text_file import TextFile


__version__ = '0.43.dev0'
__author__ = 'Marius Gedminas <marius@gedmin.as>'
Expand Down

0 comments on commit 899f133

Please sign in to comment.