# HG changeset patch # User Sylvain Thénault # Date 1271750308 -7200 # Node ID 7da1a6ca8f65d9bfb0ea1fb4b43beb4d08165270 # Parent 9eea4a5eaf1a102115b3b0220eaf7c2e0c09a77a [skel] packaging fix: should build package without setuptools, and fix default for dependency_links diff -r 9eea4a5eaf1a -r 7da1a6ca8f65 skeleton/debian/rules.tmpl --- a/skeleton/debian/rules.tmpl Tue Apr 20 09:57:47 2010 +0200 +++ b/skeleton/debian/rules.tmpl Tue Apr 20 09:58:28 2010 +0200 @@ -7,7 +7,7 @@ build: build-stamp build-stamp: dh_testdir - python setup.py -q build + NO_SETUPTOOLS=1 python setup.py -q build touch build-stamp clean: @@ -23,7 +23,7 @@ dh_testroot dh_clean -k dh_installdirs -i - python setup.py -q install --no-compile --prefix=debian/%(distname)s/usr/ + NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/%(distname)s/usr/ # remove generated .egg-info file rm -rf debian/%(distname)s/usr/lib/python* diff -r 9eea4a5eaf1a -r 7da1a6ca8f65 skeleton/setup.py --- a/skeleton/setup.py Tue Apr 20 09:57:47 2010 +0200 +++ b/skeleton/setup.py Tue Apr 20 09:58:28 2010 +0200 @@ -36,7 +36,7 @@ data_files = getattr(__pkginfo__, 'data_files', None) include_dirs = getattr(__pkginfo__, 'include_dirs', []) ext_modules = getattr(__pkginfo__, 'ext_modules', None) -dependency_links = getattr(__pkginfo__, 'dependency_links', None) +dependency_links = getattr(__pkginfo__, 'dependency_links', []) STD_BLACKLIST = ('CVS', '.svn', '.hg', 'debian', 'dist', 'build')