annotate setup.py @ 7347:9ec1d2ac4529

setup: normalize casing of dependencies and formatting of constraints The package name casing might seem random, but it is more correct than our own random casing. These changes mainly come from: pip freeze | sed -n '/==/s/==.*//gp' | while read a; do sed -i "s/$a/$a/i" setup.py dev_requirements.txt ; done sed -i -e 's/>=/ >= /' -e 's/ >=/ >=/' -e 's/>= />= /g' -e 's/,</, </' -e 's/</< /' -e 's/< /< /g' -e 's/< =/<= /g' setup.py dev_requirements.txt
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 06 Aug 2018 00:37:13 +0200
parents 86b16171af1f
children a79c137b1ddc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
6033
a922e91a4f02 setup: drop ez_setup
Mads Kiilerich <madski@unity3d.com>
parents: 6032
diff changeset
7 if sys.version_info < (2, 6) or sys.version_info >= (3,):
4522
a9a1560dad79 setup: clarify that we only support 2.6 and 2.7
Mads Kiilerich <madski@unity3d.com>
parents: 4503
diff changeset
8 raise Exception('Kallithea requires python 2.6 or 2.7')
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 = [
7347
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
38 "alembic >= 0.8.0, < 0.9",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
39 "gearbox < 1",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
40 "waitress >= 0.8.8, < 1.0",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
41 "WebOb >= 1.7, < 1.8.0", # TurboGears2 doesn't support 1.8.0
6575
9eae297d3d5b docs: smtp_port is now respected by backlash
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents: 6569
diff changeset
42 "backlash >= 0.1.2, < 1.0.0",
6569
e1ab82613133 backend: replace Pylons with TurboGears2
Alessandro Molina <alessandro.molina@axant.it>
parents: 6555
diff changeset
43 "TurboGears2 >= 2.3.10, < 3.0.0",
e1ab82613133 backend: replace Pylons with TurboGears2
Alessandro Molina <alessandro.molina@axant.it>
parents: 6555
diff changeset
44 "tgext.routes >= 0.2.0, < 1.0.0",
7347
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
45 "Beaker >= 1.7.0, < 2",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
46 "WebHelpers == 1.3",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
47 "FormEncode >= 1.2.4, <= 1.2.6",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
48 "SQLAlchemy >= 1.1, < 1.2",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
49 "Mako >= 0.9.0, <= 1.0.0",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
50 "Pygments >= 1.5",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
51 "Whoosh >= 2.5.0, <= 2.5.7",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
52 "celery >= 3.1, < 3.2",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
53 "Babel >= 0.9.6, < 2.4",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
54 "python-dateutil >= 1.5.0, < 2.0.0",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
55 "Markdown == 2.2.1",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
56 "docutils >= 0.8.1",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
57 "URLObject == 2.3.4",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
58 "Routes == 1.13",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
59 "dulwich >= 0.14.1",
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
60 "mercurial >= 4.1.1, < 4.8",
6569
e1ab82613133 backend: replace Pylons with TurboGears2
Alessandro Molina <alessandro.molina@axant.it>
parents: 6555
diff changeset
61 "decorator >= 3.3.2",
e1ab82613133 backend: replace Pylons with TurboGears2
Alessandro Molina <alessandro.molina@axant.it>
parents: 6555
diff changeset
62 "Paste >= 2.0.3, < 3.0",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
63 ]
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):
7347
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
66 requirements.append("importlib == 1.0.1")
3230
bda2bd2558b1 added argparse for python version <2.7
Marcin Kuzminski <marcin@python-works.com>
parents: 3130
diff changeset
67 requirements.append("argparse")
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
68
4820
953ee49f3b30 setup: remove duplicate logic for mercurial dependency
Sean Farley <sean.michael.farley@gmail.com>
parents: 4560
diff changeset
69 if not is_windows:
7347
9ec1d2ac4529 setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents: 7346
diff changeset
70 requirements.append("bcrypt >= 3.1.0")
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
71
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
72 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
73 ]
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
74
1966
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
75 classifiers = [
4246
cc48c1541c7e Fixes for pypi - increment version to 0.0
Mads Kiilerich <madski@unity3d.com>
parents: 4245
diff changeset
76 'Development Status :: 4 - Beta',
1966
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
77 'Environment :: Web Environment',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
78 'Framework :: Pylons',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
79 'Intended Audience :: Developers',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
80 'License :: OSI Approved :: GNU General Public License (GPL)',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
81 'Operating System :: OS Independent',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
82 'Programming Language :: Python',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
83 'Programming Language :: Python :: 2.6',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
84 'Programming Language :: Python :: 2.7',
4246
cc48c1541c7e Fixes for pypi - increment version to 0.0
Mads Kiilerich <madski@unity3d.com>
parents: 4245
diff changeset
85 'Topic :: Software Development :: Version Control',
1966
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
86 ]
572
a60cd29ba7e2 more docs update
Marcin Kuzminski <marcin@python-works.com>
parents: 565
diff changeset
87
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
88
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
89 # additional files from project that goes somewhere in the filesystem
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
90 # relative to sys.prefix
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
91 data_files = []
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
92
4212
24c0d584ba86 General renaming to Kallithea
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4189
diff changeset
93 description = ('Kallithea is a fast and powerful management tool '
4937
326a9336fbe5 spelling: use correct Git capitalisation where appropriate
Andrew Shadura <andrew@shadura.me>
parents: 4830
diff changeset
94 '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
95 '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
96
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
97 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
98 '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
99 '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
100 '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
101 ])
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
102
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
103 # long description
4005
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
104 README_FILE = 'README.rst'
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
105 try:
6037
7c732f2047f8 docs: drop empty Changelog in the documentation
Mads Kiilerich <madski@unity3d.com>
parents: 6033
diff changeset
106 long_description = open(README_FILE).read()
5374
d69aa464f373 cleanup: consistently use 'except ... as ...:'
Mads Kiilerich <madski@unity3d.com>
parents: 5357
diff changeset
107 except IOError as err:
4005
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
108 sys.stderr.write(
6037
7c732f2047f8 docs: drop empty Changelog in the documentation
Mads Kiilerich <madski@unity3d.com>
parents: 6033
diff changeset
109 "[WARNING] Cannot find file specified as long_description (%s)\n"
7c732f2047f8 docs: drop empty Changelog in the documentation
Mads Kiilerich <madski@unity3d.com>
parents: 6033
diff changeset
110 % README_FILE
4005
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
111 )
565
ad2e97c6f17f small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents: 564
diff changeset
112 long_description = description
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
113
6033
a922e91a4f02 setup: drop ez_setup
Mads Kiilerich <madski@unity3d.com>
parents: 6032
diff changeset
114 import setuptools
5501
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
115
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
116 # monkey patch setuptools to use distutils owner/group functionality
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
117 from setuptools.command import sdist
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
118 sdist_org = sdist.sdist
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
119 class sdist_new(sdist_org):
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
120 def initialize_options(self):
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
121 sdist_org.initialize_options(self)
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
122 self.owner = self.group = 'root'
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
123 sdist.sdist = sdist_new
c79e4f89bfd3 setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents: 5461
diff changeset
124
6033
a922e91a4f02 setup: drop ez_setup
Mads Kiilerich <madski@unity3d.com>
parents: 6032
diff changeset
125 packages = setuptools.find_packages(exclude=['ez_setup'])
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
126
6033
a922e91a4f02 setup: drop ez_setup
Mads Kiilerich <madski@unity3d.com>
parents: 6032
diff changeset
127 setuptools.setup(
4212
24c0d584ba86 General renaming to Kallithea
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4189
diff changeset
128 name='Kallithea',
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
129 version=__version__,
565
ad2e97c6f17f small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents: 564
diff changeset
130 description=description,
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
131 long_description=long_description,
1078
2d7a94f3eaae added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents: 1069
diff changeset
132 keywords=keywords,
1205
f4807acf643d added __license__ into main of rhodecode, PEP8ify
Marcin Kuzminski <marcin@python-works.com>
parents: 1204
diff changeset
133 license=__license__,
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
134 author=__author__,
4245
3315e9263a53 Use Conservancy's Kallithea Committee address as author_email.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4212
diff changeset
135 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
136 dependency_links=dependency_links,
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
137 url=__url__,
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
138 install_requires=requirements,
572
a60cd29ba7e2 more docs update
Marcin Kuzminski <marcin@python-works.com>
parents: 565
diff changeset
139 classifiers=classifiers,
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
140 data_files=data_files,
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
141 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
142 include_package_data=True,
4186
7e5f8c12a3fc First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4185
diff changeset
143 message_extractors={'kallithea': [
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
144 ('**.py', 'python', None),
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
145 ('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
146 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
147 ('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
148 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
149 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
150 [console_scripts]
4189
9793473d74be Rename helper tools (and fix inconsistent naming)
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4186
diff changeset
151 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
152 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
153 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
154
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
155 [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
156 main = kallithea.config.middleware:make_app
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
157
6554
2c3d30095d5e gearbox: replace paster with something TurboGears2-ish that still works with the Pylons stack
Mads Kiilerich <madski@unity3d.com>
parents: 6484
diff changeset
158 [gearbox.commands]
6555
213085032127 gearbox: make a make-config sub-command available again
Mads Kiilerich <madski@unity3d.com>
parents: 6554
diff changeset
159 make-config=kallithea.lib.paster_commands.make_config:Command
4186
7e5f8c12a3fc First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4185
diff changeset
160 setup-db=kallithea.lib.paster_commands.setup_db:Command
4560
b1679034b6c4 cleanup-repos: reintroduce paster command
Mads Kiilerich <madski@unity3d.com>
parents: 4554
diff changeset
161 cleanup-repos=kallithea.lib.paster_commands.cleanup:Command
4186
7e5f8c12a3fc First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4185
diff changeset
162 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
163 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
164 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
165 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
166 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
167 make-index=kallithea.lib.paster_commands.make_index:Command
6016
c436f337e253 paster: add informational/dummy "upgrade-db" command
Søren Løvborg <sorenl@unity3d.com>
parents: 6014
diff changeset
168 upgrade-db=kallithea.lib.dbmigrate:UpgradeDb
6173
cf73bd884a53 celeryd: move the celeryd paster command to the place where paster commands live
Mads Kiilerich <madski@unity3d.com>
parents: 6137
diff changeset
169 celeryd=kallithea.lib.paster_commands.celeryd:Command
4554
2dad9708c89f paster: add install-iis command to automate IIS handler generation
Henrik Stuart <hg@hstuart.dk>
parents: 4522
diff changeset
170 install-iis=kallithea.lib.paster_commands.install_iis:Command
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
171 """,
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
172 )