We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abc1cc commit 4fec90dCopy full SHA for 4fec90d
setup.py
@@ -7,7 +7,7 @@
7
import os
8
from distutils.command.build import build
9
from distutils.core import Command
10
-from setuptools import modified
+from distutils.dep_util import newer
11
from glob import glob
12
from itertools import chain
13
@@ -32,7 +32,7 @@ def finalize_options(self):
32
def run(self):
33
for name in chain.from_iterable(glob(mask) for mask in LOCALE_MASKS):
34
output = os.path.splitext(name)[0] + ".mo"
35
- if not modified.newer(name, output):
+ if not newer(name, output):
36
continue
37
print(f"compiling {name} -> {output}")
38
with open(name, "rb") as pofile, open(output, "wb") as mofile:
0 commit comments