A webapp/form for people to join pEp coop. Fork of Cultural Commons Collecting Society (C3S) SCE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

90 lines
2.8 KiB

import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
VERSION = open(os.path.join(here, 'VERSION')).read()
requires = [
'alembic==0.8.10', # migrate the database when introducing new fields
'Babel',
'colander==1.0',
'cornice==0.17',
'cryptacular==1.4.1',
'deform==2.0a2', # should get deform-2.0...
'fdfgen==0.11.0',
'lingua==1.5', # stick to 1.5 for now. TODO: learn to use 2.1/2.3
'pycountry', # replacing 'webhelpers',
'pyramid==1.5.2', # use pyramid 1.5.2
'pyramid_beaker==0.8',
'pyramid_chameleon==0.3', # 'pyramid 1.5 extension'
'pyramid_debugtoolbar==2.2.2',
'pyramid_mailer==0.13.', # maybe not the last version to work
'pyramid_tm==0.8',
'python-gnupg==0.4.2',
'repoze.sendmail==4.1', # pin to 4.1 because of repoze/repoze.sendmail#31
# see https://github.com/repoze/repoze.sendmail/issues/31
'SQLAlchemy==1.0.9',
'transaction==1.4.3',
'unicodecsv==0.9.4',
'venusian==1.0',
'waitress==0.8.9',
'zope.sqlalchemy==0.7.5',
]
# for the translations machinery using transifex you also need to
# "pip install transifex-client"
test_requirements = [
'coverage',
'nose',
'pdfminer', # and its dependency
'mock', # for creating mock objects
'pyquery',
'selenium',
'slate', # pdf to text helper
'webtest',
]
docs_require = [
'sphinx', # for generating the documentation
'sphinxcontrib-plantuml',
]
if sys.version_info[:3] < (2, 5, 0):
requires.append('pysqlite')
setup(name='c3smembership',
version=VERSION,
description='Membership Form for C3S (form, PDF, email)',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Christoph Scheid',
author_email='christoph@c3s.cc',
url='https://yes.c3s.cc',
keywords='web wsgi bfg pylons pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='c3smembership',
install_requires=requires + test_requirements + docs_require,
entry_points="""\
[paste.app_factory]
main = c3smembership:main
[console_scripts]
initialize_c3sMembership_db = c3smembership.scripts.initialize_db:main
""",
# http://opkode.com/media/blog/
# using-extract_messages-in-your-python-egg-with-a-src-directory
message_extractors={
'c3smembership': [
('**.py', 'lingua_python', None),
('**.pt', 'lingua_xml', None),
]},
)