From: Eevee Date: Fri, 14 May 2010 01:06:50 +0000 (-0700) Subject: Make setup.py install work with package_data. X-Git-Tag: veekun-promotions/2010051501 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/refs/tags/veekun-promotions/2010051501 Make setup.py install work with package_data. The CSVs are now the only package data. Otherwise, setuptools would copy every single sprite individually to the standard library directory, which is slow and time-consuming and wasteful. If you need the sprites, use them from the repo. :( --- diff --git a/setup.py b/setup.py index 62da748..ee8a33c 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,9 @@ setup( version = '0.1', zip_safe = False, packages = find_packages(), - package_data = { '': ['pokedex/data'] }, + package_data = { + 'pokedex': ['data/csv/*.csv'] + }, install_requires=[ 'docutils', 'SQLAlchemy>=0.5.1',