Skip to content

Commit

Permalink
debian: remove any python bytecode from package (ros-infrastructure#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Sep 17, 2019
1 parent 07d8f1c commit 32ee076
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bloom/generators/debian/templates/ament_cmake/rules.em
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ override_dh_auto_install:
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_auto_install
find $(DESTDIR) -name '*.py[co]' -delete
1 change: 1 addition & 0 deletions bloom/generators/debian/templates/ament_python/rules.em
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ override_dh_auto_install:
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_auto_install
find $(DESTDIR) -name '*.py[co]' -delete
1 change: 1 addition & 0 deletions bloom/generators/debian/templates/catkin/rules.em
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ override_dh_auto_install:
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_auto_install
find $(DESTDIR) -name '*.py[co]' -delete
1 change: 1 addition & 0 deletions bloom/generators/debian/templates/cmake/rules.em
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ override_dh_auto_install:
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_auto_install
find $(DESTDIR) -name '*.py[co]' -delete

0 comments on commit 32ee076

Please sign in to comment.