annotate setup.py @ 4116:ffd45b185016 rhodecode-2.2.5-gpl

Imported some of the GPLv3'd changes from RhodeCode v2.2.5. This imports changes between changesets 21af6c4eab3d and 6177597791c2 in RhodeCode's original repository, including only changes to Python files and HTML. RhodeCode clearly licensed its changes to these files under GPLv3 in their /LICENSE file, which states the following: The Python code and integrated HTML are licensed under the GPLv3 license. (See: https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE or http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE for an online copy of that LICENSE file) Conservancy reviewed these changes and confirmed that they can be licensed as a whole to the Kallithea project under GPLv3-only. While some of the contents committed herein are clearly licensed GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the statement above from RhodeCode indicates that they intend GPLv3-only as their license, per GPLv3ยง14 and other relevant sections of GPLv3.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:03:13 -0400
parents f292547dadd0
children aaa7c3331186
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4005
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
1 # -*- coding: utf-8 -*-
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
2 import os
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
3 import sys
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
4 import platform
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
5
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
6 if sys.version_info < (2, 5):
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
7 raise Exception('RhodeCode requires python 2.5 or later')
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
8
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 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
11
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 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
14 import re
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
15 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
16 if matches:
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
17 if not callable(callback_handler):
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
18 callback_handler = lambda v: v
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
19
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
20 return callback_handler(eval(matches.groups()[0]))
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
21
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
22 _meta = open(os.path.join(here, 'rhodecode', '__init__.py'), 'rb')
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
23 _metadata = _meta.read()
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
24 _meta.close()
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
25
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
26 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
27 __version__ = _get_meta_var('VERSION', _metadata, callback)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
28 __license__ = _get_meta_var('__license__', _metadata)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
29 __author__ = _get_meta_var('__author__', _metadata)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
30 __url__ = _get_meta_var('__url__', _metadata)
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
31 # defines current platform
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
32 __platform__ = platform.system()
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
33
3892
3a1cf70e0f42 Fix check statements from () which had no effect really
Marcin Kuzminski <marcin@python-works.com>
parents: 3840
diff changeset
34 is_windows = __platform__ in ['Windows']
1078
2d7a94f3eaae added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents: 1069
diff changeset
35
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
36 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
37 "waitress==0.8.8",
2715
298bac3757a7 requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents: 2685
diff changeset
38 "webob==1.0.8",
3406
4e9f00ddde4a fix webtest dependency
Marcin Kuzminski <marcin@python-works.com>
parents: 3368
diff changeset
39 "webtest==1.4.3",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
40 "Pylons==1.0.0",
2715
298bac3757a7 requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents: 2685
diff changeset
41 "Beaker==1.6.4",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
42 "WebHelpers==1.3",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
43 "formencode==1.2.4",
3429
fba8b977bed8 bump sqlalchemy version
Marcin Kuzminski <marcin@python-works.com>
parents: 3406
diff changeset
44 "SQLAlchemy==0.7.10",
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
45 "Mako==0.9.0",
2715
298bac3757a7 requirements updates
Marcin Kuzminski <marcin@python-works.com>
parents: 2685
diff changeset
46 "pygments>=1.5",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
47 "whoosh>=2.4.0,<2.5",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
48 "celery>=2.2.5,<2.3",
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
49 "babel==0.9.6",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
50 "python-dateutil>=1.5.0,<2.0.0",
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
51 "dulwich==0.9.3",
3000
4034eb731b33 bumped dependencies versions
Marcin Kuzminski <marcin@python-works.com>
parents: 2999
diff changeset
52 "markdown==2.2.1",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
53 "docutils==0.8.1",
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
54 "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
55 "mock",
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
56 "pycrypto==2.6.0",
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
57 "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
58 "Routes==1.13",
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
59 ]
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 if sys.version_info < (2, 6):
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
62 requirements.append("pysqlite")
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
63
2772
d4f6dc38d625 fixed condition for installing unittests2
Marcin Kuzminski <marcin@python-works.com>
parents: 2715
diff changeset
64 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
65 requirements.append("importlib==1.0.1")
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
66 requirements.append("unittest2")
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
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
69 if is_windows:
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
70 requirements.append("mercurial==2.8.2")
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
71 else:
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
72 requirements.append("py-bcrypt==0.3.0")
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
73 requirements.append("mercurial==2.8.2")
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
74
1163
a1fba57f46fa added check for python <2.5 in setup file
Marcin Kuzminski <marcin@python-works.com>
parents: 1143
diff changeset
75
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
76 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
77 ]
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
1966
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
79 classifiers = [
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4084
diff changeset
80 'Development Status :: 4 - Beta'
1966
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
81 'Environment :: Web Environment',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
82 'Framework :: Pylons',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
83 'Intended Audience :: Developers',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
84 'License :: OSI Approved :: GNU General Public License (GPL)',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
85 'Operating System :: OS Independent',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
86 'Programming Language :: Python',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
87 'Programming Language :: Python :: 2.5',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
88 'Programming Language :: Python :: 2.6',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
89 'Programming Language :: Python :: 2.7',
fc6063e6630b code cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1964
diff changeset
90 ]
572
a60cd29ba7e2 more docs update
Marcin Kuzminski <marcin@python-works.com>
parents: 565
diff changeset
91
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
92
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
93 # additional files from project that goes somewhere in the filesystem
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
94 # relative to sys.prefix
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
95 data_files = []
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
96
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
97 # additional files that goes into package itself
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
98 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
99
3305
2f2202dbc523 Updated description
Marcin Kuzminski <marcin@python-works.com>
parents: 3265
diff changeset
100 description = ('RhodeCode is a fast and powerful management tool '
2f2202dbc523 Updated description
Marcin Kuzminski <marcin@python-works.com>
parents: 3265
diff changeset
101 '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
102 '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
103
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
104 keywords = ' '.join([
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
105 'rhodecode', 'rhodiumcode', 'mercurial', 'git', 'code review',
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
106 '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
107 '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
108 ])
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
109
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
110 # long description
4005
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
111 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
112 CHANGELOG_FILE = 'docs/changelog.rst'
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
113 try:
4005
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
114 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
115 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
116
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
117 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
118 sys.stderr.write(
266a3cbc0302 Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents: 3960
diff changeset
119 "[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
120 "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
121 )
565
ad2e97c6f17f small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents: 564
diff changeset
122 long_description = description
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
123
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
124 try:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
125 from setuptools import setup, find_packages
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
126 except ImportError:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
127 from ez_setup import use_setuptools
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
128 use_setuptools()
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
129 from setuptools import setup, find_packages
1792
2afa6b8c2ade code garden
Marcin Kuzminski <marcin@python-works.com>
parents: 1790
diff changeset
130 # packages
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
131 packages = find_packages(exclude=['ez_setup'])
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
132
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
133 setup(
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
134 name='RhodeCode',
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
135 version=__version__,
565
ad2e97c6f17f small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents: 564
diff changeset
136 description=description,
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
137 long_description=long_description,
1078
2d7a94f3eaae added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents: 1069
diff changeset
138 keywords=keywords,
1205
f4807acf643d added __license__ into main of rhodecode, PEP8ify
Marcin Kuzminski <marcin@python-works.com>
parents: 1204
diff changeset
139 license=__license__,
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
140 author=__author__,
244
782f0692b29c fixed setup and install instructions
Marcin Kuzminski <marcin@python-works.com>
parents: 185
diff changeset
141 author_email='marcin@python-works.com',
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
142 dependency_links=dependency_links,
2563
9382e88eae22 removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 2379
diff changeset
143 url=__url__,
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
144 install_requires=requirements,
572
a60cd29ba7e2 more docs update
Marcin Kuzminski <marcin@python-works.com>
parents: 565
diff changeset
145 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
146 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
147 data_files=data_files,
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
148 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
149 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
150 test_suite='nose.collector',
553
65c27fd21769 small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents: 552
diff changeset
151 package_data=package_data,
547
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
152 message_extractors={'rhodecode': [
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
153 ('**.py', 'python', None),
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
154 ('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
155 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
156 ('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
157 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
158 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
159 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
160 [console_scripts]
4011
4959e22af6ca Added ini config maker with dynamic variable replacements.
Marcin Kuzminski <marcin@python-works.com>
parents: 4005
diff changeset
161 rhodecode-api = rhodecode.bin.rhodecode_api:main
4959e22af6ca Added ini config maker with dynamic variable replacements.
Marcin Kuzminski <marcin@python-works.com>
parents: 4005
diff changeset
162 rhodecode-gist = rhodecode.bin.rhodecode_gist:main
4959e22af6ca Added ini config maker with dynamic variable replacements.
Marcin Kuzminski <marcin@python-works.com>
parents: 4005
diff changeset
163 rhodecode-config = rhodecode.bin.rhodecode_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
164
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
165 [paste.app_factory]
547
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
166 main = rhodecode.config.middleware:make_app
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
167
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
168 [paste.app_install]
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
169 main = pylons.util:PylonsInstaller
683
341beaa9edba Implemented whoosh index building as paster command.
Marcin Kuzminski <marcin@python-works.com>
parents: 682
diff changeset
170
341beaa9edba Implemented whoosh index building as paster command.
Marcin Kuzminski <marcin@python-works.com>
parents: 682
diff changeset
171 [paste.global_paster_command]
3340
f1491bad8339 unified RhodeCode paster commands
Marcin Kuzminski <marcin@python-works.com>
parents: 3310
diff changeset
172 setup-rhodecode=rhodecode.lib.paster_commands.setup_rhodecode:Command
f1491bad8339 unified RhodeCode paster commands
Marcin Kuzminski <marcin@python-works.com>
parents: 3310
diff changeset
173 update-repoinfo=rhodecode.lib.paster_commands.update_repoinfo:Command
f1491bad8339 unified RhodeCode paster commands
Marcin Kuzminski <marcin@python-works.com>
parents: 3310
diff changeset
174 make-rcext=rhodecode.lib.paster_commands.make_rcextensions:Command
f1491bad8339 unified RhodeCode paster commands
Marcin Kuzminski <marcin@python-works.com>
parents: 3310
diff changeset
175 repo-scan=rhodecode.lib.paster_commands.repo_scan:Command
3616
e9ac7544c2f6 added super simple cache_key paster function for showing and cleaning cache keys
Marcin Kuzminski <marcin@python-works.com>
parents: 3466
diff changeset
176 cache-keys=rhodecode.lib.paster_commands.cache_keys:Command
3663
44d173a8136f ishell paster command
Marcin Kuzminski <marcin@python-works.com>
parents: 3616
diff changeset
177 ishell=rhodecode.lib.paster_commands.ishell:Command
3915
a42bfe8a9335 moved make-index command to paster_commands module
Marcin Kuzminski <marcin@python-works.com>
parents: 3900
diff changeset
178 make-index=rhodecode.lib.paster_commands.make_index:Command
2105
926f55b038bc added initial rc-extension module
Marcin Kuzminski <marcin@python-works.com>
parents: 2007
diff changeset
179 upgrade-db=rhodecode.lib.dbmigrate:UpgradeDb
775
aaf2fc59a39a fixes #77 and adds extendable base Dn with custom uid specification
Marcin Kuzminski <marcin@python-works.com>
parents: 773
diff changeset
180 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
181 """,
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
182 )