diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2012-11-23 22:47:17 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2012-11-23 22:47:17 +0100 |
commit | cec0f39ba3c37d25d74379aba76f809b9cca64b3 (patch) | |
tree | f9226c2753b597ba6251dfd96128267839cbe946 /setup.py | |
parent | 78c92e59f5eb2a7e4323b2033eefc27f855a5ed6 (diff) | |
download | python-lxml-cec0f39ba3c37d25d74379aba76f809b9cca64b3.tar.gz |
avoid warning about unknown setup() option during build
--HG--
extra : rebase_source : e4ddf6649d0d8cd722f9dc0f20ae4d5a9564b501
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -50,7 +50,10 @@ if versioninfo.is_pre_release(): branch_link = "" -extra_options = {'zip_safe': False} +extra_options = {} +if 'setuptools' in sys.modules: + extra_options['zip_safe'] = False + extra_options.update(setupinfo.extra_setup_args()) extra_options['package_data'] = { |