Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
f769f8e0
Commit
f769f8e0
authored
4 years ago
by
Bastien Abadie
Browse files
Options
Downloads
Plain Diff
Merge branch 'binary-preserve-assert' into 'master'
Preserve Python assert statements in binary build Closes
#432
See merge request
!935
parents
eaca1c6a
e4af211d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!935
Preserve Python assert statements in binary build
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile.binary
+1
-1
1 addition, 1 deletion
Dockerfile.binary
with
1 addition
and
1 deletion
Dockerfile.binary
+
1
−
1
View file @
f769f8e0
...
...
@@ -52,6 +52,7 @@ RUN find /usr/share/arkindex/*/management -name '*.py' -not -name '__init__.py'
RUN find /usr/share/arkindex /usr/share/ponos -type d -name tests | xargs rm -rf
# Compile all our python source code
# Do not use the -O or -OO python flags here as it removes assert statements (see backend#432)
RUN python -m nuitka \
--nofollow-imports \
--include-package=arkindex \
...
...
@@ -59,7 +60,6 @@ RUN python -m nuitka \
--include-package=ponos \
--include-package=transkribus \
--show-progress \
--python-flag=-OO \
--lto \
--output-dir=/build \
arkindex/manage.py
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment