aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2012-11-14 12:22:38 -0600
committerPaul Varner <fuzzyray@gentoo.org>2012-11-14 12:22:38 -0600
commit6233f83ccce926a93d5c5ade43c62196c0fe3e78 (patch)
treed264d3a338df387b20a699d6a5279096c437f66d
parentFix python_scripts to properly create the list of scripts for set_version. (diff)
downloadmirrorselect-6233f83ccce926a93d5c5ade43c62196c0fe3e78.tar.gz
mirrorselect-6233f83ccce926a93d5c5ade43c62196c0fe3e78.tar.bz2
mirrorselect-6233f83ccce926a93d5c5ade43c62196c0fe3e78.zip
Hardcode the mirrorselect package, so setup.py doesn't get confused by
multiple builds.
-rwxr-xr-xsetup.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index 60b048d..01e7c5c 100755
--- a/setup.py
+++ b/setup.py
@@ -82,12 +82,6 @@ def load_test():
return test
-packages = [
- str('.'.join(root.split(os.sep)[1:]))
- for root, dirs, files in os.walk('.')
- if '__init__.py' in files
-]
-
test_data = {
'mirrorselect': [
]
@@ -104,7 +98,7 @@ core.setup(
url='http://www.gentoo.org/proj/en/portage/tools/index.xml',
download_url='http://distfiles.gentoo.org/distfiles/mirrorselect-%s.tar.gz'\
% __version__,
- packages=packages,
+ packages=['mirrorselect'],
#package_data = test_data,
scripts=(['bin/mirrorselect']),
data_files=(