Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.mo files created when they are not present #932

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class UraniumConan(ConanFile):
}
default_options = {
"devtools": False,
"enable_i18n": False,
"enable_i18n": True,
}

def set_version(self):
Expand Down Expand Up @@ -94,7 +94,7 @@ def export_sources(self):
copy(self, "requirements-dev.txt", self.recipe_folder, self.export_sources_folder)

def config_options(self):
if self.settings.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", check_type = str):
if self.settings.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", check_type=str):
del self.options.enable_i18n

def configure(self):
Expand Down Expand Up @@ -170,5 +170,3 @@ def package_id(self):
self.info.clear()

del self.info.options.devtools
self.options.rm_safe("enable_i18n")

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,4 @@ typing-extensions==4.3.0 \
# colorlog requires colorama under windows:
colorama==0.4.5; \
sys_platform=="win32" \
--hash=sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da
--hash=sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da