From 65e72f1bd2b2ffaefd67b326bf97112c7d92f638 Mon Sep 17 00:00:00 2001 From: Eevee Date: Thu, 13 May 2010 18:06:50 -0700 Subject: [PATCH] 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. :( --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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', -- 2.7.4