Skip to content

Commit

Permalink
Merge branch 'develop-mode-maintain-file-bits'
Browse files Browse the repository at this point in the history
* develop-mode-maintain-file-bits:
  skbuild: Ensure file copied in "develop" mode have "mode bits" maintained
  • Loading branch information
jcfr committed Dec 23, 2016
2 parents c232c99 + dcbd6c6 commit c96f800
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGES.rst
Expand Up @@ -8,6 +8,15 @@ details, see the commit logs at http://github.com/scikit-build/scikit-build
Next Release
============

Scikit-build 0.5.1
==================

Bug fixes
---------

* Ensure file copied in "develop" mode have "mode bits" maintained.


Scikit-build 0.5.0
==================

Expand Down
3 changes: 2 additions & 1 deletion skbuild/setuptools_wrap.py
Expand Up @@ -13,7 +13,7 @@
from distutils.errors import (DistutilsArgError,
DistutilsError,
DistutilsGetoptError)
from shutil import copyfile
from shutil import copyfile, copymode

# XXX If 'six' becomes a dependency, use 'six.StringIO' instead.
try:
Expand Down Expand Up @@ -633,6 +633,7 @@ def _copy_file(src_file, dest_file, hide_listing=True):
if not hide_listing:
print("copying {} -> {}".format(src_file, dest_file))
copyfile(src_file, dest_file)
copymode(src_file, dest_file)


def _consolidate(
Expand Down

0 comments on commit c96f800

Please sign in to comment.