commit 239e9da374429011b3981c73f5797052c93f7839 Author: Isis Lovecruft isis@torproject.org Date: Fri Oct 11 03:12:23 2013 +0000
Update setup.py to exclude .po files from installs; update crunchbang.
* ADD exclude_package_data directive to setuptools.setup() call, to exclude all .po files from being installed. * FIX the crunchbang in setup.py to respect the environment and save the whales and all that. * UPDATE the copyright/authors/license header. I hear it's not 2007 anymore. --- setup.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/setup.py b/setup.py index d7ef9f5..8a6175c 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,16 @@ -#!/usr/bin/python -# BridgeDB by Nick Mathewson. -# Copyright (c) 2007-2009, The Tor Project, Inc. -# See LICENSE for licensing information +#!/usr/bin/env python +#_____________________________________________________________________________ +# +# This file is part of BridgeDB, a Tor bridge distribution system. +# +# :authors: Isis Lovecruft 0xA3ADB67A2CDB8B35 isis@torproject.org +# Aaron Gibson 0x2C4B239DD876C9F6 aagbsn@torproject.org +# Nick Mathewson 0x21194EBB165733EA nickm@torproject.org +# please also see AUTHORS file +# :copyright: (c) 2007-2013, The Tor Project, Inc. +# (c) 2007-2013, all entities within the AUTHORS file +# :license: see LICENSE for licensing information +#_____________________________________________________________________________
from __future__ import print_function
@@ -143,6 +152,7 @@ setuptools.setup( package_data={'bridgedb': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*.html', 'templates/assets/*']}, + exclude_package_data={'': ['*.po']}, message_extractors = {'lib/bridgedb': [ ('**.py', 'python', None), ('templates/**.html', 'mako', None),