save point (see note)

Added initial alembic skeleton, improved base pyramid templates, added auth db
extension, etc...
This commit is contained in:
Lance Edgar 2012-04-09 11:18:34 -05:00
parent 727b9a5fa7
commit b1e6b12b71
43 changed files with 2293 additions and 347 deletions

View file

@ -37,7 +37,8 @@ from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
execfile(os.path.join(here, 'edbob', '_version.py'))
readme = open(os.path.join(here, 'README.txt')).read()
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
@ -67,10 +68,11 @@ requires = [
# outside the lines with regard to these soft limits. If bugs are
# encountered then they should be filed as such.
#
# package # low high
# package # low high
'progressbar', # 2.3
'pytz', # 2012b
'decorator', # 3.3.2
'progressbar', # 2.3
'pytz', # 2012b
]
if sys.version_info < (2, 7):
@ -79,7 +81,7 @@ if sys.version_info < (2, 7):
requires += [
#
# package # low high
#
'argparse', # 1.2.1
]
@ -92,7 +94,7 @@ setup(
url = "http://edbob.org/",
license = "GNU Affero GPL v3",
description = "Pythonic Software Framework",
long_description = readme,
long_description = README + '\n\n' + CHANGES,
classifiers = [
'Development Status :: 3 - Alpha',
@ -117,30 +119,44 @@ setup(
'db': [
#
# package # low high
#
'alembic', # 0.2.1
'decorator', # 3.3.2
'py-bcrypt', # 0.2
'SQLAlchemy', # 0.7.6
# 'sqlalchemy-migrate', # 0.7.2
'Tempita', # 0.5.1
],
'docs': [
#
# package # low high
#
'Sphinx', # 1.1.3
],
'pyramid': [
#
# package # low high
#
# Beaker dependency included here because 'pyramid_beaker' uses incorrect
# case in its requirement declaration.
'Beaker', # 1.6.3
# Pyramid 1.3 introduced 'pcreate' command (and friends) to replace
# deprecated 'paster create' (and friends).
'pyramid>=1.3a1', # 1.3b2
'FormAlchemy', # 1.4.2
'FormEncode', # 1.2.4
'Mako', # 0.6.2
'pyramid_beaker', # 0.6.1
'pyramid_debugtoolbar', # 1.0
'pyramid_simpleform', # 0.6.1
'pyramid_tm', # 0.3
'Tempita', # 0.5.1
'transaction', # 1.2.0
'waitress', # 0.8.1
'WebHelpers', # 1.3
'zope.sqlalchemy', # 0.7
],
},
@ -164,5 +180,8 @@ db = edbob.commands:DatabaseCommand
shell = edbob.commands:ShellCommand
uuid = edbob.commands:UuidCommand
[edbob.db.extensions]
auth = edbob.db.extensions.auth:AuthExtension
""",
)