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

View file

@ -4,7 +4,9 @@ setup(
version = '0.1', version = '0.1',
zip_safe = False, zip_safe = False,
packages = find_packages(), packages = find_packages(),
package_data = { '': ['pokedex/data'] }, package_data = {
'pokedex': ['data/csv/*.csv']
},
install_requires=[ install_requires=[
'docutils', 'docutils',
'SQLAlchemy>=0.5.1', 'SQLAlchemy>=0.5.1',