-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
41 lines (38 loc) · 1.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""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=['thirdparty','parts']),
author=open("AUTHORS").read(),
url='http://code.google.com/p/soc',
license='Apache2',
install_requires = [
],
tests_require=[
'zope.testbrowser',
'gaeftest',
'gaetestbed',
'webtest',
'mox',
'nose',
],
entry_points = {'console_scripts': ['run-tests = tests.run:main',
'gen-app-yaml = scripts.gen_app_yaml:main',
],
},
include_package_data = True,
zip_safe = False,
)