setup.py
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 13 Aug 2009 14:02:22 -0700
changeset 2770 71a5a56cf29e
parent 2587 ec7818110fd2
permissions -rw-r--r--
Redone the acceptedStudentsExport functionality. The method has been renamed to exportStudentsWithProjects and retrieves the document_name and the new shipping address properties. Also it filters out all invalid projects or projects for wich the scope_path doesn't match the given scope_pa th_start. Also there is no more need to use the argument given to this method when adding the extra columns. The data is now prepared by one loop which uses the key present in the accepted_students dictionary for retrieving the data used by the extra columns.

"""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,
    )