Skip to content

Commit

Permalink
Merge pull request #10042 from tk0miya/9820_distutils
Browse files Browse the repository at this point in the history
refactor: Reduce usages of distutils (refs: #9820)
  • Loading branch information
tk0miya committed Jan 2, 2022
2 parents f4f7341 + 0ba2020 commit e434dd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
import sys
from distutils import log
from io import StringIO

from setuptools import find_packages, setup
Expand Down Expand Up @@ -148,8 +147,8 @@ def _run_domain_js(self, domain):
if catalog.fuzzy and not self.use_fuzzy:
continue

log.info('writing JavaScript strings in catalog %r to %r',
po_file, js_file)
self.log.info('writing JavaScript strings in catalog %r to %r',
po_file, js_file)

jscatalog = {}
for message in catalog:
Expand Down
2 changes: 1 addition & 1 deletion tests/roots/test-setup/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from distutils.core import setup
from setuptools import setup

from sphinx.setup_command import BuildDoc

Expand Down

0 comments on commit e434dd6

Please sign in to comment.