mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
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:
parent
ffc30bff8f
commit
9a985f187e
1 changed files with 3 additions and 1 deletions
4
setup.py
4
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',
|
||||
|
|
Loading…
Reference in a new issue