From 6a5986c7ed87ac21e7aa2cfdad4e2e03bd612faa Mon Sep 17 00:00:00 2001 From: Christophe Benz Date: Thu, 12 Aug 2010 15:40:15 +0200 Subject: [PATCH] install xdg data only for install and develop commands --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 78930062..564eb7a4 100755 --- a/setup.py +++ b/setup.py @@ -106,6 +106,5 @@ setup( ], ) - -if options.xdg: +if sys.argv[1] in ('install', 'develop') and options.xdg: install_xdg()