X Tutup
Skip to content

Commit f66393c

Browse files
committed
Import package_dir as late as possible
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 8f628bb commit f66393c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
from setuptools import setup
1212
from setuptools.command.install import install as _install
1313

14-
from bpython import package_dir
15-
1614
try:
1715
from babel.messages.frontend import compile_catalog as _compile_catalog
1816
from babel.messages.frontend import extract_messages as _extract_messages
@@ -72,6 +70,7 @@ def run(self):
7270
'install': install
7371
}
7472

73+
from bpython import package_dir
7574
translations_dir = os.path.join(package_dir, 'translations')
7675

7776
# localization options

0 commit comments

Comments
 (0)
X Tutup