annotate setup.py @ 2941:ccad02fc9281

use emeraldtree 0.10.0 release
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 10 Jun 2015 01:23:47 +0200
parents f09bf7d9578e
children 70d81ebcf2c5
rev   line source
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
1 #!/usr/bin/env python
72
f8976b828425 setup.* - use std. copyright/license comments, add LICENSE.txt
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 33
diff changeset
2 # Copyright: 2001 by Juergen Hermann <jh@web.de>
1291
2550e65b6890 remove/comment some outdated stuff in setup.py
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1155
diff changeset
3 # Copyright: 2001-2012 MoinMoin:ThomasWaldmann
72
f8976b828425 setup.* - use std. copyright/license comments, add LICENSE.txt
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 33
diff changeset
4 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details.
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
5
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
6 import os
2923
f09bf7d9578e fix E402 errors; imports not at top of file after installing pep8 1.6.1; partial fix for #492
RogerHaase <haaserd@gmail.com>
parents: 2897
diff changeset
7 from setuptools import setup, find_packages
f09bf7d9578e fix E402 errors; imports not at top of file after installing pep8 1.6.1; partial fix for #492
RogerHaase <haaserd@gmail.com>
parents: 2897
diff changeset
8
2304
aaeb6bba4b0f fix #379 quickinstall.py fails with obscure error message
RogerHaase
parents: 2208
diff changeset
9 import MoinMoin # validate python version
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
10
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
11
2304
aaeb6bba4b0f fix #379 quickinstall.py fails with obscure error message
RogerHaase
parents: 2208
diff changeset
12 basedir = os.path.abspath(os.path.dirname(__file__))
aaeb6bba4b0f fix #379 quickinstall.py fails with obscure error message
RogerHaase
parents: 2208
diff changeset
13 with open(os.path.join(basedir, 'README.txt')) as f:
1311
bc7d15a2a06c setup.py: add foobar theme, cosmetic changes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1310
diff changeset
14 long_description = f.read()
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
15
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
16
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
17 setup_args = dict(
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
18 name="moin",
2304
aaeb6bba4b0f fix #379 quickinstall.py fails with obscure error message
RogerHaase
parents: 2208
diff changeset
19 version=str(MoinMoin.version),
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
20 description="MoinMoin is an easy to use, full-featured and extensible wiki software package",
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
21 long_description=long_description,
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
22 author="Juergen Hermann et al.",
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
23 author_email="moin-user@lists.sourceforge.net",
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
24 # maintainer(_email) not active because distutils/register can't handle author and maintainer at once
2304
aaeb6bba4b0f fix #379 quickinstall.py fails with obscure error message
RogerHaase
parents: 2208
diff changeset
25 download_url='http://static.moinmo.in/files/moin-%s.tar.gz' % (MoinMoin.version, ),
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
26 url="http://moinmo.in/",
114
f436f37cff0d setup.py: be more precise with the license info
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 83
diff changeset
27 license="GNU GPL v2 (or any later version)",
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
28 keywords="wiki web",
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
29 platforms="any",
2589
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
30 classifiers=[
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
31 "Development Status :: 2 - Pre-Alpha",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
32 "Environment :: Web Environment",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
33 "Intended Audience :: Education",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
34 "Intended Audience :: End Users/Desktop",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
35 "Intended Audience :: Information Technology",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
36 "Intended Audience :: Other Audience",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
37 "Intended Audience :: Science/Research",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
38 "License :: OSI Approved :: GNU General Public License (GPL)",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
39 "Natural Language :: English",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
40 "Operating System :: OS Independent",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
41 "Programming Language :: Python",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
42 "Programming Language :: Python :: 2.7",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
43 "Topic :: Internet :: WWW/HTTP :: WSGI",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
44 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
45 "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
46 "Topic :: Office/Business :: Groupware",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
47 "Topic :: Text Processing :: Markup",
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
48 ],
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
49
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
50 packages=find_packages(exclude=['_tests', ]),
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
51
2589
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
52 # package_dir={'MoinMoin.translations': 'MoinMoin/translations',
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
53 # 'MoinMoin.static': 'MoinMoin/static',
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
54 # 'MoinMoin.themes.modernized': 'MoinMoin/themes/modernized',
1311
bc7d15a2a06c setup.py: add foobar theme, cosmetic changes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1310
diff changeset
55 # 'MoinMoin.themes.foobar': 'MoinMoin/themes/foobar',
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
56 # 'MoinMoin.templates': 'MoinMoin/templates',
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
57 # 'MoinMoin.apps.admin.templates': 'MoinMoin/apps/admin/templates',
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
58 # 'MoinMoin.apps.misc.templates': 'MoinMoin/apps/misc/templates',
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
59 # },
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
60
2011
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
61 package_data={
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
62 'MoinMoin.translations': ['MoinMoin.pot', '*.po', ],
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
63 'MoinMoin.static': ['*', ],
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
64 'MoinMoin.themes.modernized': ['*', ],
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
65 'MoinMoin.themes.foobar': ['*', ],
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
66 'MoinMoin.templates': ['*.html', '*.xml', ],
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
67 'MoinMoin.apps.admin.templates': ['*.html', ],
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
68 'MoinMoin.apps.misc.templates': ['*.html', '*.txt', ],
791bdedb0c20 fix lots of pep8 issues, mainly E12x
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1975
diff changeset
69 },
973
854211821d1b fixes the data files installation
Bruno Gola <brunogola@gmail.com>
parents: 968
diff changeset
70 include_package_data=True,
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
71 zip_safe=False,
1395
249b7900fe28 fix some pep8 issues, remove the fixed files from pep8 checker's exlusion list
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1394
diff changeset
72 dependency_links=[
2589
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
73 # 'https://github.com/mitsuhiko/werkzeug/tarball/master#egg=Werkzeug-0.9.2-dev',
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
74 # 'https://github.com/mitsuhiko/flask/tarball/master#egg=Flask-0.11-dev',
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
75 # 'https://bitbucket.org/thomaswaldmann/whoosh/get/default.tar.gz#egg=Whoosh-2.5.99dev',
2117
ad303592c64c Raise requirements to require latest flask/werkzeug/jinja2 release, latest emeraldtree.
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2109
diff changeset
76 # use a pre-release and fixed flask-themes 0.2.0 as 0.1.3 does not work for flask 0.8.x:
ad303592c64c Raise requirements to require latest flask/werkzeug/jinja2 release, latest emeraldtree.
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2109
diff changeset
77 'https://bitbucket.org/thomaswaldmann/flask-themes/get/a87399231886.tar.gz#egg=Flask-Themes-0.2.0',
2563
f046e1e696c4 setup.py: fix indentation, add comment about flatland
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2562
diff changeset
78 'https://bitbucket.org/thomaswaldmann/flatland-fixes/get/bb7ecc64bf96.tar.gz#egg=flatland-0.0.3',
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
79 ],
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
80 install_requires=[
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
81 'blinker>=1.1', # event signalling (e.g. for change notification trigger)
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
82 'docutils>=0.8.1', # reST markup processing
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
83 'Markdown>=2.1.1', # Markdown markup processing
2117
ad303592c64c Raise requirements to require latest flask/werkzeug/jinja2 release, latest emeraldtree.
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2109
diff changeset
84 'Flask>=0.10', # micro framework
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
85 'Flask-Babel>=0.7', # i18n support
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
86 'Flask-Cache>=0.3.4', # caching support
2597
4a997d9f5e26 fix #429 by setting flask-script to 1.0.0
RogerHaase <haaserd@gmail.com>
parents: 2589
diff changeset
87 'Flask-Script==1.0.0', # scripting support
2117
ad303592c64c Raise requirements to require latest flask/werkzeug/jinja2 release, latest emeraldtree.
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2109
diff changeset
88 'Flask-Themes>=0.2.0', # theme support
2941
ccad02fc9281 use emeraldtree 0.10.0 release
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2923
diff changeset
89 'emeraldtree>=0.10.0', # xml processing
2563
f046e1e696c4 setup.py: fix indentation, add comment about flatland
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2562
diff changeset
90 'flatland', # form handling
2117
ad303592c64c Raise requirements to require latest flask/werkzeug/jinja2 release, latest emeraldtree.
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2109
diff changeset
91 'Jinja2>=2.7', # template engine
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
92 'pygments>=1.4', # src code / text file highlighting
2897
4f890d39e606 workaround for #491 Werkzeug 0.10.1 breaks item links for +modify, +history...
RogerHaase <haaserd@gmail.com>
parents: 2874
diff changeset
93 'Werkzeug==0.9.6', # wsgi toolkit
2689
aaf385f07d0a upgrade tests to py.test 2.5/2.6, thanks to dimazest!
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2655
diff changeset
94 'pytest<2.7', # pytest is needed by unit tests (only tested with 2.5 and 2.6)
aaf385f07d0a upgrade tests to py.test 2.5/2.6, thanks to dimazest!
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2655
diff changeset
95 'pytest-pep8<1.1', # coding style checker (only tested with 1.0.x)
2038
3217a345d20a switch to whoosh 2.5
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2011
diff changeset
96 'whoosh>=2.5.0', # needed for indexed search
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
97 'sphinx>=1.1', # needed to build the docs
2305
783cfc8ac628 workaround for #385 RunTimeError: working outside of application context (pdfminer == 20131113)
RogerHaase
parents: 2304
diff changeset
98 'pdfminer==20110515', # pdf -> text/plain conversion, XXX 20131113 fails see #385
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
99 'passlib>=1.6.0', # strong password hashing (1.6 needed for consteq)
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
100 'XStatic>=0.0.2', # support for static file pypi packages
2583
4f04dff9923c upgrade to xstatic-bootstrap 3.1.1.2; recompiling basic.less creates many changes to basic.css, but no new breakage
RogerHaase <haaserd@gmail.com>
parents: 2563
diff changeset
101 'XStatic-Bootstrap==3.1.1.2',
2830
80053c4b6965 fix #443 upgrade font-awesome to 4.1; run m quickinstall to install renamed fonts
RogerHaase <haaserd@gmail.com>
parents: 2690
diff changeset
102 'XStatic-Font-Awesome>=4.1.0.0',
531
43a7d7faf15c setup.py and wikiconfig.py merged with main
Akash Sinha <akash2607@gmail.com>
parents: 525
diff changeset
103 'XStatic-CKEditor>=3.6.1.2',
2365
9f4e725f9868 textarea auto-resize plugin added as an xstatic package
sharky93 <rishabhr123@gmail.com>
parents: 2363
diff changeset
104 'XStatic-autosize',
1822
d7fb86b446ab CSS and javascript changes to support obsolete IE7 and IE8 browsers,
Roger Haase <crosseyedpenguin@yahoo.com>
parents: 1666
diff changeset
105 'XStatic-jQuery>=1.8.2',
2674
4ad3b2654ce3 fix jQuery-File-Upload version at 4.4.2 as newer one is not yet tested
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2655
diff changeset
106 'XStatic-jQuery-File-Upload==4.4.2', # newer version not tested yet
531
43a7d7faf15c setup.py and wikiconfig.py merged with main
Akash Sinha <akash2607@gmail.com>
parents: 525
diff changeset
107 'XStatic-TWikiDraw-moin>=2004.10.23.2',
43a7d7faf15c setup.py and wikiconfig.py merged with main
Akash Sinha <akash2607@gmail.com>
parents: 525
diff changeset
108 'XStatic-AnyWikiDraw>=0.14.2',
1860
dab0253193eb setup: new version of XStatic-svg-edit-moin, fixes #149 by the patch of Sam Toyer in the save extension
Reimar Bauer <rb.proj AT googlemail DOT com>
parents: 1842
diff changeset
109 'XStatic-svg-edit-moin>=2012.11.15.1',
2632
647ee04f863e Added XStatic.JQuery.TableSorter plugin in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2597
diff changeset
110 'XStatic-JQuery.TableSorter>=2.14.5.1',
2649
82ffb3f45eed Added pygments css classes in basic theme by installing pygments Xstatic package in the virtual environment and importing css files from there. Also removed the manually added pygments definitions in the foobar and modernized themes and imported pygments css in the same wasy as done in the basic theme.
Ajitesh Gupta <ajgupta93@gmail.com>
parents: 2632
diff changeset
111 'XStatic-Pygments>=1.6.0.1',
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
112 ],
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
113 # optional features and their list of requirements
1395
249b7900fe28 fix some pep8 issues, remove the fixed files from pep8 checker's exlusion list
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1394
diff changeset
114 extras_require={
2589
ee404f81afe9 fix new pep8 errors generated after pep8 is upgraded to 1.5.1
RogerHaase <haaserd@gmail.com>
parents: 2587
diff changeset
115 # 'featurename': ["req1", "req2", ],
2587
71f1151c31fe remove PIL, use Pillow as successor (PIL has not been updated for almost 5 years)
RogerHaase <haaserd@gmail.com>
parents: 2583
diff changeset
116 'pillow': ["pillow"], # successor to PIL; used by image get for scaling/rotating/etc.;
71f1151c31fe remove PIL, use Pillow as successor (PIL has not been updated for almost 5 years)
RogerHaase <haaserd@gmail.com>
parents: 2583
diff changeset
117 # requires special libs/header to be installed before it can be compiled successfully
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
118 'ldap': ["python-ldap>=2.0.0"], # used by ldap auth
2587
71f1151c31fe remove PIL, use Pillow as successor (PIL has not been updated for almost 5 years)
RogerHaase <haaserd@gmail.com>
parents: 2583
diff changeset
119 # requires special libs/header to be installed before it can be compiled successfully
71f1151c31fe remove PIL, use Pillow as successor (PIL has not been updated for almost 5 years)
RogerHaase <haaserd@gmail.com>
parents: 2583
diff changeset
120 # windows binaries available from 3rd parties
1975
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
121 'openid': ["python-openid>=2.2.4"], # used by openid rp auth
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
122 'sqla': ["sqlalchemy>=0.7.1"], # used by sqla store
384555088cab lots of pep8 fixes
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1913
diff changeset
123 'mongodb': ["pymongo"], # used by mongodb store
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
124 },
1395
249b7900fe28 fix some pep8 issues, remove the fixed files from pep8 checker's exlusion list
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1394
diff changeset
125 entry_points=dict(
249b7900fe28 fix some pep8 issues, remove the fixed files from pep8 checker's exlusion list
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1394
diff changeset
126 console_scripts=['moin = MoinMoin.script:main'],
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
127 ),
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
128
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
129 # stuff for babel:
1395
249b7900fe28 fix some pep8 issues, remove the fixed files from pep8 checker's exlusion list
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1394
diff changeset
130 message_extractors={
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
131 '': [
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
132 ('MoinMoin/templates/**.html', 'jinja2', None),
2874
148240936936 fix #474 python setup.py extract_messages - omits /themes/basic/templates/*.html files
RogerHaase <haaserd@gmail.com>
parents: 2830
diff changeset
133 ('MoinMoin/templates/dictionary.js', 'javascript', None), # all JS translatable strings must be defined here for jQuery i18n plugin
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
134 ('MoinMoin/apps/**/templates/**.html', 'jinja2', None),
2874
148240936936 fix #474 python setup.py extract_messages - omits /themes/basic/templates/*.html files
RogerHaase <haaserd@gmail.com>
parents: 2830
diff changeset
135 ('MoinMoin/themes/**/templates/**.html', 'jinja2', None),
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
136 ('MoinMoin/**/_tests/**', 'ignore', None),
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
137 ('MoinMoin/static/**', 'ignore', None),
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
138 ('MoinMoin/**.py', 'python', None),
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
139 ],
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
140 },
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
141
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
142 )
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
143
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
144 if __name__ == '__main__':
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
145 setup(**setup_args)