Mercurial > kallithea
annotate setup.py @ 4482:c6a94b6808c5
templates: replace YUI with jquery in kallithea/templates/admin/repo_groups/repo_group_edit_perms.html
author | Takumi IINO <trot.thunder@gmail.com> |
---|---|
date | Tue, 22 Jul 2014 00:46:21 +0900 |
parents | 426427c406ff |
children | cb43603edaca |
rev | line source |
---|---|
4267
bf011c9f7f58
minor fixes - mainly wording
Mads Kiilerich <madski@unity3d.com>
parents:
4253
diff
changeset
|
1 #!/usr/bin/env python2 |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
2 # -*- coding: utf-8 -*- |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
3 import os |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
4 import sys |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
5 import platform |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
6 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
7 if sys.version_info < (2, 5): |
4212
24c0d584ba86
General renaming to Kallithea
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4189
diff
changeset
|
8 raise Exception('Kallithea requires python 2.5 or later') |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
9 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
10 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
11 here = os.path.abspath(os.path.dirname(__file__)) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
12 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
13 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
14 def _get_meta_var(name, data, callback_handler=None): |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
15 import re |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
16 matches = re.compile(r'(?:%s)\s*=\s*(.*)' % name).search(data) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
17 if matches: |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
18 if not callable(callback_handler): |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
19 callback_handler = lambda v: v |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
20 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
21 return callback_handler(eval(matches.groups()[0])) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
22 |
4186
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
23 _meta = open(os.path.join(here, 'kallithea', '__init__.py'), 'rb') |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
24 _metadata = _meta.read() |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
25 _meta.close() |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
26 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
27 callback = lambda V: ('.'.join(map(str, V[:3])) + '.'.join(V[3:])) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
28 __version__ = _get_meta_var('VERSION', _metadata, callback) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
29 __license__ = _get_meta_var('__license__', _metadata) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
30 __author__ = _get_meta_var('__author__', _metadata) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
31 __url__ = _get_meta_var('__url__', _metadata) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
32 # defines current platform |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
33 __platform__ = platform.system() |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
34 |
3892
3a1cf70e0f42
Fix check statements from () which had no effect really
Marcin Kuzminski <marcin@python-works.com>
parents:
3840
diff
changeset
|
35 is_windows = __platform__ in ['Windows'] |
1078
2d7a94f3eaae
added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents:
1069
diff
changeset
|
36 |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
37 requirements = [ |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4084
diff
changeset
|
38 "waitress==0.8.8", |
2715
298bac3757a7
requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents:
2685
diff
changeset
|
39 "webob==1.0.8", |
3406
4e9f00ddde4a
fix webtest dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
3368
diff
changeset
|
40 "webtest==1.4.3", |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
41 "Pylons==1.0.0", |
2715
298bac3757a7
requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents:
2685
diff
changeset
|
42 "Beaker==1.6.4", |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
43 "WebHelpers==1.3", |
4418
ed11cb3e905e
Support using newer versions of formencode.
Jelmer Vernooij <jelmer@samba.org>
parents:
4416
diff
changeset
|
44 "formencode>=1.2.4,<=1.2.6", |
3429
fba8b977bed8
bump sqlalchemy version
Marcin Kuzminski <marcin@python-works.com>
parents:
3406
diff
changeset
|
45 "SQLAlchemy==0.7.10", |
4414
8c2e96646545
Loosen dependency on Mako to include mako 1.0.
Jelmer Vernooij <jelmer@samba.org>
parents:
4267
diff
changeset
|
46 "Mako>=0.9.0,<=1.0.0", |
2715
298bac3757a7
requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents:
2685
diff
changeset
|
47 "pygments>=1.5", |
4415
d55c104e6c87
Support build with newer versions of whoosh.
Jelmer Vernooij <jelmer@samba.org>
parents:
4414
diff
changeset
|
48 "whoosh>=2.4.0,<=2.5.7", |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
49 "celery>=2.2.5,<2.3", |
4416
7bcc73aaf601
Support using newer versions of babel.
Jelmer Vernooij <jelmer@samba.org>
parents:
4415
diff
changeset
|
50 "babel>=0.9.6,<=1.3", |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
51 "python-dateutil>=1.5.0,<2.0.0", |
4251
0484787f7e4d
Support running with newer versions of Dulwich that are backwards compatible.
Jelmer Vernooij <jelmer@samba.org>
parents:
4246
diff
changeset
|
52 "dulwich>=0.9.3,<=0.9.7", |
3000
4034eb731b33
bumped dependencies versions
Marcin Kuzminski <marcin@python-works.com>
parents:
2999
diff
changeset
|
53 "markdown==2.2.1", |
4253
9ccdb6c537c9
Support building with newer docutils and pycrypto.
Jelmer Vernooij <jelmer@samba.org>
parents:
4251
diff
changeset
|
54 "docutils>=0.8.1,<=0.11", |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
55 "simplejson==2.5.2", |
2597
7b092b919f4f
Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents:
2563
diff
changeset
|
56 "mock", |
4253
9ccdb6c537c9
Support building with newer docutils and pycrypto.
Jelmer Vernooij <jelmer@samba.org>
parents:
4251
diff
changeset
|
57 "pycrypto>=2.6.0,<=2.6.1", |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4084
diff
changeset
|
58 "URLObject==2.3.4", |
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4084
diff
changeset
|
59 "Routes==1.13", |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
60 ] |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
61 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
62 if sys.version_info < (2, 6): |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
63 requirements.append("pysqlite") |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
64 |
2772
d4f6dc38d625
fixed condition for installing unittests2
Marcin Kuzminski <marcin@python-works.com>
parents:
2715
diff
changeset
|
65 if sys.version_info < (2, 7): |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4084
diff
changeset
|
66 requirements.append("importlib==1.0.1") |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
67 requirements.append("unittest2") |
3230
bda2bd2558b1
added argparse for python version <2.7
Marcin Kuzminski <marcin@python-works.com>
parents:
3130
diff
changeset
|
68 requirements.append("argparse") |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
69 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
70 if is_windows: |
4421
426427c406ff
setup: support Mercurial versions up to 3.1.x
Mads Kiilerich <madski@unity3d.com>
parents:
4419
diff
changeset
|
71 requirements.append("mercurial>=2.8.2,<3.2") |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
72 else: |
4419
18a96780b8b7
Support newer versions of bcrypt.
Jelmer Vernooij <jelmer@samba.org>
parents:
4418
diff
changeset
|
73 requirements.append("py-bcrypt>=0.3.0,<=0.4") |
4421
426427c406ff
setup: support Mercurial versions up to 3.1.x
Mads Kiilerich <madski@unity3d.com>
parents:
4419
diff
changeset
|
74 requirements.append("mercurial>=2.8.2,<3.2") |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
75 |
1163
a1fba57f46fa
added check for python <2.5 in setup file
Marcin Kuzminski <marcin@python-works.com>
parents:
1143
diff
changeset
|
76 |
1456
880a39e5d8df
fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents:
1449
diff
changeset
|
77 dependency_links = [ |
880a39e5d8df
fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents:
1449
diff
changeset
|
78 ] |
880a39e5d8df
fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents:
1449
diff
changeset
|
79 |
1966 | 80 classifiers = [ |
4246
cc48c1541c7e
Fixes for pypi - increment version to 0.0
Mads Kiilerich <madski@unity3d.com>
parents:
4245
diff
changeset
|
81 'Development Status :: 4 - Beta', |
1966 | 82 'Environment :: Web Environment', |
83 'Framework :: Pylons', | |
84 'Intended Audience :: Developers', | |
85 'License :: OSI Approved :: GNU General Public License (GPL)', | |
86 'Operating System :: OS Independent', | |
87 'Programming Language :: Python', | |
88 'Programming Language :: Python :: 2.5', | |
89 'Programming Language :: Python :: 2.6', | |
90 'Programming Language :: Python :: 2.7', | |
4246
cc48c1541c7e
Fixes for pypi - increment version to 0.0
Mads Kiilerich <madski@unity3d.com>
parents:
4245
diff
changeset
|
91 'Topic :: Software Development :: Version Control', |
1966 | 92 ] |
572
a60cd29ba7e2
more docs update
Marcin Kuzminski <marcin@python-works.com>
parents:
565
diff
changeset
|
93 |
1118
b0e2c949c34b
Fixed Windows installation based on work of Mantis406 fork: "Replace py-bcrypt to make Windows installation easier"
Marcin Kuzminski <marcin@python-works.com>
parents:
1103
diff
changeset
|
94 |
1792 | 95 # additional files from project that goes somewhere in the filesystem |
96 # relative to sys.prefix | |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
97 data_files = [] |
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
98 |
1792 | 99 # additional files that goes into package itself |
4186
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
100 package_data = {'kallithea': ['i18n/*/LC_MESSAGES/*.mo', ], } |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
101 |
4212
24c0d584ba86
General renaming to Kallithea
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4189
diff
changeset
|
102 description = ('Kallithea is a fast and powerful management tool ' |
3305
2f2202dbc523
Updated description
Marcin Kuzminski <marcin@python-works.com>
parents:
3265
diff
changeset
|
103 'for Mercurial and GIT with a built in push/pull server, ' |
3310
faad9dd06b58
fixed broken syntax in setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
3305
diff
changeset
|
104 'full text search and code-review.') |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
105 |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
106 keywords = ' '.join([ |
4186
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
107 'kallithea', 'mercurial', 'git', 'code review', |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
108 'repo groups', 'ldap', 'repository management', 'hgweb replacement', |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
109 'hgwebdir', 'gitweb replacement', 'serving hgweb', |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
110 ]) |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
111 |
1792 | 112 # long description |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
113 README_FILE = 'README.rst' |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
114 CHANGELOG_FILE = 'docs/changelog.rst' |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
115 try: |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
116 long_description = open(README_FILE).read() + '\n\n' + \ |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
117 open(CHANGELOG_FILE).read() |
682
23c2a0e6df0b
changed official rhodecode favicon, from hg to some more generic
Marcin Kuzminski <marcin@python-works.com>
parents:
681
diff
changeset
|
118 |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
119 except IOError, err: |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
120 sys.stderr.write( |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
121 "[WARNING] Cannot find file specified as long_description (%s)\n or " |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
122 "changelog (%s) skipping that file" % (README_FILE, CHANGELOG_FILE) |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
123 ) |
565
ad2e97c6f17f
small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents:
564
diff
changeset
|
124 long_description = description |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
125 |
0 | 126 try: |
127 from setuptools import setup, find_packages | |
128 except ImportError: | |
129 from ez_setup import use_setuptools | |
130 use_setuptools() | |
131 from setuptools import setup, find_packages | |
1792 | 132 # packages |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
133 packages = find_packages(exclude=['ez_setup']) |
0 | 134 |
135 setup( | |
4212
24c0d584ba86
General renaming to Kallithea
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4189
diff
changeset
|
136 name='Kallithea', |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
137 version=__version__, |
565
ad2e97c6f17f
small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents:
564
diff
changeset
|
138 description=description, |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
139 long_description=long_description, |
1078
2d7a94f3eaae
added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents:
1069
diff
changeset
|
140 keywords=keywords, |
1205
f4807acf643d
added __license__ into main of rhodecode, PEP8ify
Marcin Kuzminski <marcin@python-works.com>
parents:
1204
diff
changeset
|
141 license=__license__, |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
142 author=__author__, |
4245
3315e9263a53
Use Conservancy's Kallithea Committee address as author_email.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4212
diff
changeset
|
143 author_email='kallithea@sfconservancy.org', |
1456
880a39e5d8df
fixed setup so it'll fetch tip of vcs for easier installation of beta version
Marcin Kuzminski <marcin@python-works.com>
parents:
1449
diff
changeset
|
144 dependency_links=dependency_links, |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
145 url=__url__, |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
146 install_requires=requirements, |
572
a60cd29ba7e2
more docs update
Marcin Kuzminski <marcin@python-works.com>
parents:
565
diff
changeset
|
147 classifiers=classifiers, |
127
20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents:
0
diff
changeset
|
148 setup_requires=["PasteScript>=1.6.3"], |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
149 data_files=data_files, |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
150 packages=packages, |
127
20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents:
0
diff
changeset
|
151 include_package_data=True, |
20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents:
0
diff
changeset
|
152 test_suite='nose.collector', |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
153 package_data=package_data, |
4186
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
154 message_extractors={'kallithea': [ |
0 | 155 ('**.py', 'python', None), |
156 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), | |
1143
0e6035a85980
added changes made in production branch back into beta
Marcin Kuzminski <marcin@python-works.com>
parents:
1118
diff
changeset
|
157 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}), |
0 | 158 ('public/**', 'ignore', None)]}, |
127
20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents:
0
diff
changeset
|
159 zip_safe=False, |
20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents:
0
diff
changeset
|
160 paster_plugins=['PasteScript', 'Pylons'], |
20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents:
0
diff
changeset
|
161 entry_points=""" |
2379
7ac09514a178
created rhodecode-api binary script for working with api via cli
Marcin Kuzminski <marcin@python-works.com>
parents:
2289
diff
changeset
|
162 [console_scripts] |
4189
9793473d74be
Rename helper tools (and fix inconsistent naming)
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4186
diff
changeset
|
163 kallithea-api = kallithea.bin.kallithea_api:main |
9793473d74be
Rename helper tools (and fix inconsistent naming)
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4186
diff
changeset
|
164 kallithea-gist = kallithea.bin.kallithea_gist:main |
9793473d74be
Rename helper tools (and fix inconsistent naming)
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4186
diff
changeset
|
165 kallithea-config = kallithea.bin.kallithea_config:main |
2379
7ac09514a178
created rhodecode-api binary script for working with api via cli
Marcin Kuzminski <marcin@python-works.com>
parents:
2289
diff
changeset
|
166 |
0 | 167 [paste.app_factory] |
4186
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
168 main = kallithea.config.middleware:make_app |
0 | 169 |
170 [paste.app_install] | |
171 main = pylons.util:PylonsInstaller | |
683
341beaa9edba
Implemented whoosh index building as paster command.
Marcin Kuzminski <marcin@python-works.com>
parents:
682
diff
changeset
|
172 |
341beaa9edba
Implemented whoosh index building as paster command.
Marcin Kuzminski <marcin@python-works.com>
parents:
682
diff
changeset
|
173 [paste.global_paster_command] |
4186
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
174 setup-db=kallithea.lib.paster_commands.setup_db:Command |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
175 update-repoinfo=kallithea.lib.paster_commands.update_repoinfo:Command |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
176 make-rcext=kallithea.lib.paster_commands.make_rcextensions:Command |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
177 repo-scan=kallithea.lib.paster_commands.repo_scan:Command |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
178 cache-keys=kallithea.lib.paster_commands.cache_keys:Command |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
179 ishell=kallithea.lib.paster_commands.ishell:Command |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
180 make-index=kallithea.lib.paster_commands.make_index:Command |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
181 upgrade-db=kallithea.lib.dbmigrate:UpgradeDb |
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
182 celeryd=kallithea.lib.celerypylons.commands:CeleryDaemonCommand |
0 | 183 """, |
184 ) |