veekun_pokedex/setup.py
Petr Viktorin d813e24b25 I18n for the database schema
- Helper base class: Named
  Subclasses: OfficiallyNamed, UnofficiallyNamed
  for these, a 'name' column is created in the appropriate text table
  also, they get automatic __str__/__repr__/__unicode__
- Faux columns: ProseColumn, TextColumn
  these become columns in the appropriate text tables
  these text tables (*_text, *_prose) are auto-generated at the end
  the main table gets one property (singular name) that gets the English text
   and one (plural name) with dict of texts keyed by language
- Every named table gets 'identifier'
- Languages compare & hash equal to their identifiers
- Existing foreign-name tables replaced by the autogenerated ones
- order_by: names replaced by identifiers
- New function: all_tables(), yields all tables
- Markdown move properties removed for now
- Schema test suite
2011-03-13 15:10:10 -07:00

22 lines
448 B
Python

from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
zip_safe = False,
packages = find_packages(),
package_data = {
'pokedex': ['data/csv/*.csv']
},
install_requires=[
'SQLAlchemy>=0.6.6',
'whoosh>=1.1.0',
'markdown',
'construct',
],
entry_points = {
'console_scripts': [
'pokedex = pokedex:main',
],
},
)