projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3609d3
)
Remove extra files in distribution tar.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Sat, 21 Nov 2009 05:30:39 +0000
(21:30 -0800)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Sat, 21 Nov 2009 05:30:39 +0000
(21:30 -0800)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 627affb6832a00d95e29b921f3a5d096b32891ac..3c8b0d9fcb51cf95d19ab0408611cc6902b717a3 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-7,6
+7,11
@@
compiler_dir = os.path.join(get_python_lib(prefix=''), 'Cython/Compiler')
if sys.platform == "win32":
compiler_dir = compiler_dir[len(sys.prefix)+1:]
+if sys.platform == "darwin":
+ # Don't create resource files on OS X tar.
+ os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
+ os.environ['COPYFILE_DISABLE'] = 'true'
+
setup_args = {}
if sys.version_info[0] >= 3: