Source

jp-places / setup.py

# -*- coding: utf-8 -*-
# 
#  setup.py
#  jp-places
#  
#  Created by Lars Yencken on 2009-04-09.
#  Copyright 2009 Lars Yencken. All rights reserved.
# 

from setuptools import setup

VERSION = '0.1.0'

f = open('src/__version__.py', 'w')
f.write('# Autogenerated by setup.py\n')
f.write('version = "%s"\n' % VERSION)
f.close()

setup(
        name='jp-places',
        description="A simple Django app providing database storage and access for Japanese place name gazetteers.",
        long_description = """
        Provides database models and access to place names in the Japan Post
        Gazetteer, as well as aliases for these places in enamdict. Uses 
        django-hierarchy to describe the hierarchical relationship between
        places.
        """,
        url="http://bitbucket.org/larsyencken/jp-places/",
        version=VERSION,
        author="Lars Yencken",
        author_email="lars@yencken.org",
        license="BSD",
        install_requires=[
                'django',
                'django-hierarchy',
                'cjktools', 
                'cjktools-data',
            ],

        package_dir={'jp_places': 'src'},
        packages=['jp_places'],
    )