From 594ba31d8e9f7ad730b12784bd15ce17de1d1be4 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 20 Nov 2009 21:30:39 -0800 Subject: [PATCH] Remove extra files in distribution tar. --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) 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: -- 2.26.2