From: Robert Bradshaw Date: Sat, 21 Nov 2009 05:30:39 +0000 (-0800) Subject: Remove extra files in distribution tar. X-Git-Tag: 0.12~2^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=594ba31d8e9f7ad730b12784bd15ce17de1d1be4;p=cython.git Remove extra files in distribution tar. --- diff --git a/setup.py b/setup.py index 627affb6..3c8b0d9f 100644 --- 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: