|
Revision 4823, 1.4 kB
(checked in by mramm, 5 months ago)
|
* Added tg to the template namespace, with many useful bits (like tg1)
* Exported override_template from tg
* Added docstring for override_template
* cleaned up a couple docstrings
* Updated ToscaWidgets? requirement. (I think this will be moved to tg.devtools eventually)
|
| Line | |
|---|
| 1 |
import paver.doctools |
|---|
| 2 |
import paver.virtual |
|---|
| 3 |
from setuptools import find_packages |
|---|
| 4 |
|
|---|
| 5 |
execfile(path("tg") / "release.py") |
|---|
| 6 |
|
|---|
| 7 |
options( |
|---|
| 8 |
sphinx=Bunch( |
|---|
| 9 |
|
|---|
| 10 |
), |
|---|
| 11 |
virtualenv=Bunch( |
|---|
| 12 |
), |
|---|
| 13 |
setup=Bunch( |
|---|
| 14 |
name='TurboGears2', |
|---|
| 15 |
version=version, |
|---|
| 16 |
description=description, |
|---|
| 17 |
long_description=long_description, |
|---|
| 18 |
classifiers=[], |
|---|
| 19 |
keywords='turbogears pylons', |
|---|
| 20 |
author=author, |
|---|
| 21 |
author_email=email, |
|---|
| 22 |
url=url, |
|---|
| 23 |
license=license, |
|---|
| 24 |
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
|---|
| 25 |
include_package_data=True, |
|---|
| 26 |
zip_safe=False, |
|---|
| 27 |
install_requires=[ |
|---|
| 28 |
'Babel', |
|---|
| 29 |
'Pylons', |
|---|
| 30 |
'Genshi>=0.4', |
|---|
| 31 |
'SQLAlchemy>=0.4', |
|---|
| 32 |
'ToscaWidgets>=0.9.2', |
|---|
| 33 |
], |
|---|
| 34 |
extras_require={ |
|---|
| 35 |
'core-testing':["nose", "TurboKid", "TurboJson"] |
|---|
| 36 |
}, |
|---|
| 37 |
entry_points=''' |
|---|
| 38 |
[paste.global_paster_command] |
|---|
| 39 |
tginfo = tg.commands.info:InfoCommand |
|---|
| 40 |
[turbogears2.command] |
|---|
| 41 |
tginfo = tg.commands.info:InfoCommand |
|---|
| 42 |
serve = paste.script.serve:ServeCommand [Config] |
|---|
| 43 |
shell = pylons.commands:ShellCommand |
|---|
| 44 |
''' |
|---|
| 45 |
) |
|---|
| 46 |
) |
|---|
| 47 |
|
|---|
| 48 |
@task |
|---|
| 49 |
@needs(["minilib", "generate_setup", "setuptools.command.sdist"]) |
|---|
| 50 |
def sdist(): |
|---|
| 51 |
pass |
|---|
| 52 |
|
|---|
| 53 |
@task |
|---|
| 54 |
@needs(["minilib", "generate_setup", "setuptools.command.bdist_egg"]) |
|---|
| 55 |
def bdist_egg(): |
|---|
| 56 |
pass |
|---|