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.  :(
This commit is contained in:
Eevee 2010-05-13 18:06:50 -07:00
parent ffc30bff8f
commit 9a985f187e
1 changed files with 3 additions and 1 deletions

View File

@ -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',