setup.py
author Daniel Hans <Daniel.M.Hans@gmail.com>
Fri, 07 Aug 2009 01:27:24 +0200
changeset 2736 8f3935f0f4ba
parent 2587 ec7818110fd2
permissions -rw-r--r--
Argument store added to updateEntityProperties. This argument determines if an entity should be stored in the data model after its properties are updated. It may be useful, for example, along with tasks (Task Queue API). One may want to make some modifications to an entity during execution of a task, but the developer is sure that at least one new task, which also wants to modify the entity, will be queued, so he or she can just update the entity without saving the changes to the data model, set the entity in memcache and the following task (which is to be executed very shortly) is to retrive the current entity from the memcache (without any expensive calls to the actual data model).

"""Minimal setup script to appease buildout for Melange.
"""
import os
import re
from setuptools import setup, find_packages

match_version = re.compile("version: ([0-9\-]+)")
try:
    appyaml = open(os.path.join("app", "app.yaml.template"))
    version = match_version.findall(appyaml.read())[0]
except:
    version = "UNKNOWN"


setup(
    name = 'melange',
    description=("The goal of this project is to create a framework for "
                 "representing Open Source contribution workflows, such as"
                 " the existing Google Summer of Code TM (GSoC) program."),
    version = version,
    packages = find_packages(exclude=['app.django.*','thirdparty','parts']),
    author=open("AUTHORS").read(),
    url='http://code.google.com/p/soc',
    license='Apache2',
    install_requires = [
        ],
    tests_require=[
        'zope.testbrowser',
        'gaeftest',
        'nose',
        ],
    entry_points = {'console_scripts': ['run-tests = tests.run:main',
                                        ],
                    },
    include_package_data = True,
    zip_safe = False,
    )