equal
deleted
inserted
replaced
|
1 """Minimal setup script to appease buildout for Melange. |
|
2 """ |
|
3 import os |
|
4 import re |
|
5 from setuptools import setup, find_packages |
|
6 |
|
7 match_version = re.compile("version: ([0-9\-]+)") |
|
8 try: |
|
9 appyaml = open(os.path.join("app", "app.yaml.template")) |
|
10 version = match_version.findall(appyaml.read())[0] |
|
11 except: |
|
12 version = "UNKNOWN" |
|
13 |
|
14 |
|
15 setup( |
|
16 name = 'melange', |
|
17 description=("The goal of this project is to create a framework for " |
|
18 "representing Open Source contribution workflows, such as" |
|
19 " the existing Google Summer of Code TM (GSoC) program."), |
|
20 version = version, |
|
21 packages = find_packages(exclude=['app.django.*','thirdparty','parts']), |
|
22 author=open("AUTHORS").read(), |
|
23 url='http://code.google.com/p/soc', |
|
24 license='Apache2', |
|
25 install_requires = [ |
|
26 ], |
|
27 tests_require=[ |
|
28 'zope.testbrowser', |
|
29 'gaeftest', |
|
30 'nose', |
|
31 ], |
|
32 entry_points = {'console_scripts': ['run-tests = tests.run:main', |
|
33 ], |
|
34 }, |
|
35 include_package_data = True, |
|
36 zip_safe = False, |
|
37 ) |