setup Pylons infrastructure

paster create -t pylons ...
paster controller ddportfolio
add support for sphinx
This commit is contained in:
Jan Dittberner 2009-01-20 22:39:05 +01:00
parent 0c5816154b
commit 9c800c0ed8
27 changed files with 689 additions and 35 deletions

View file

@ -1,39 +1,45 @@
from setuptools import setup, find_packages
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '0.1'
setup(name='ddportfolioservice',
version=version,
description="service to create DDPortfolio URLs",
long_description="""This is a service implementation that
setup(
name='ddportfolioservice',
version='0.1',
description='service to create DDPortfolio URLs',
long_description="""This is a service implementation that
returns a set of personalized URLs as outlined in
http://wiki.debian.org/DDPortfolio. It takes the Debian developers
full name and email address as input and returns a JSON formatted
array of URLs.""",
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'License :: DFSG approved',
'License :: OSI approved :: ' +
'GNU Affero General Public License v3',
'Programming Language :: Python'],
keywords='Debian service JSON',
author='Jan Dittberner',
author_email='jan@dittberner.info',
url='http://debian-stuff.dittberner.info/ddportfolioservice/',
license='AGPLv3',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
package_data= {
'ddportfolioservice' : ['*.ini'],
},
install_requires=[
# -*- Extra requirements: -*-
'Paste',
'PasteDeploy',
'simplejson',
'formencode'
],
)
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'License :: DFSG approved',
'License :: OSI approved :: ' +
'GNU Affero General Public License v3',
'Programming Language :: Python'],
keywords='Debian service JSON',
author='Jan Dittberner',
author_email='jan@dittberner.info',
url='http://debian-stuff.dittberner.info/ddportfolioservice',
license='AGPL-3.0+',
install_requires=["Pylons>=0.9.6.2"],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
package_data={'ddportfolioservice': ['*.ini', 'i18n/*/LC_MESSAGES/*.mo']},
message_extractors = {'ddportfolioservice': [
('**.py', 'python', None),
('templates/**.mako', 'mako', None),
('public/**', 'ignore', None)]},
entry_points="""
[paste.app_factory]
main = ddportfolioservice.config.middleware:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
""",
)