Mercurial > kallithea
annotate setup.py @ 7845:3b54bcf6d128
front-end: fix documentation regarding theme.less file
The documentation stated that a theme.less file can be placed in the
Kallithea root directory, but this is not true. The file is expected in
kallithea/front-end to take effect.
Update the documentation and .hgignore file.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Fri, 23 Aug 2019 21:29:01 +0200 |
parents | 52637097d62f |
children | 5e4afc5fd29e |
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 |
7811
0a277465fddf
scripts: initial run of import cleanup using isort
Mads Kiilerich <mads@kiilerich.com>
parents:
7809
diff
changeset
|
4 import platform |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
5 import sys |
7811
0a277465fddf
scripts: initial run of import cleanup using isort
Mads Kiilerich <mads@kiilerich.com>
parents:
7809
diff
changeset
|
6 |
0a277465fddf
scripts: initial run of import cleanup using isort
Mads Kiilerich <mads@kiilerich.com>
parents:
7809
diff
changeset
|
7 import setuptools |
0a277465fddf
scripts: initial run of import cleanup using isort
Mads Kiilerich <mads@kiilerich.com>
parents:
7809
diff
changeset
|
8 # monkey patch setuptools to use distutils owner/group functionality |
0a277465fddf
scripts: initial run of import cleanup using isort
Mads Kiilerich <mads@kiilerich.com>
parents:
7809
diff
changeset
|
9 from setuptools.command import sdist |
0a277465fddf
scripts: initial run of import cleanup using isort
Mads Kiilerich <mads@kiilerich.com>
parents:
7809
diff
changeset
|
10 |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
11 |
6033 | 12 if sys.version_info < (2, 6) or sys.version_info >= (3,): |
7708
ab30729c735c
setup: drop support for Python 2.6
Mads Kiilerich <mads@kiilerich.com>
parents:
7630
diff
changeset
|
13 raise Exception('Kallithea requires python 2.7') |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
14 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
15 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
16 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
|
17 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
18 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
19 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
|
20 import re |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
21 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
|
22 if matches: |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
23 if not callable(callback_handler): |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
24 callback_handler = lambda v: v |
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 return callback_handler(eval(matches.groups()[0])) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
27 |
4186
7e5f8c12a3fc
First step in two-part process to rename directories to kallithea.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4185
diff
changeset
|
28 _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
|
29 _metadata = _meta.read() |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
30 _meta.close() |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
31 |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
32 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
|
33 __version__ = _get_meta_var('VERSION', _metadata, callback) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
34 __license__ = _get_meta_var('__license__', _metadata) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
35 __author__ = _get_meta_var('__author__', _metadata) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
36 __url__ = _get_meta_var('__url__', _metadata) |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
37 # defines current platform |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
38 __platform__ = platform.system() |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
39 |
3892
3a1cf70e0f42
Fix check statements from () which had no effect really
Marcin Kuzminski <marcin@python-works.com>
parents:
3840
diff
changeset
|
40 is_windows = __platform__ in ['Windows'] |
1078
2d7a94f3eaae
added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents:
1069
diff
changeset
|
41 |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
42 requirements = [ |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
43 "alembic >= 0.8.0, < 1.1", |
7347
9ec1d2ac4529
setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents:
7346
diff
changeset
|
44 "gearbox < 1", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
45 "waitress >= 0.8.8, < 1.4", |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
46 "WebOb >= 1.7, < 1.8", # turbogears2 2.3.12 requires WebOb<1.8.0 |
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
47 "backlash >= 0.1.2, < 1", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
48 "TurboGears2 >= 2.3.10, < 2.4", # TODO: 2.4 drops Pylons compatibility |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
49 "tgext.routes >= 0.2.0, < 1", |
7347
9ec1d2ac4529
setup: normalize casing of dependencies and formatting of constraints
Mads Kiilerich <mads@kiilerich.com>
parents:
7346
diff
changeset
|
50 "Beaker >= 1.7.0, < 2", |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
51 "WebHelpers >= 1.3, < 1.4", |
7805
b077cf7e7f90
helpers: use WebHelpers2 as much as possible - it supports Python3, and WebHelpers is dead
Mads Kiilerich <mads@kiilerich.com>
parents:
7791
diff
changeset
|
52 "WebHelpers2 >= 2.0, < 2.1", |
7745
624971c4d246
setup: bump formencode minimum version to 1.3.0
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7742
diff
changeset
|
53 "FormEncode >= 1.3.0, < 1.4", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
54 "SQLAlchemy >= 1.1, < 1.4", |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
55 "Mako >= 0.9.0, < 1.1", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
56 "Pygments >= 2.0, < 2.5", |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
57 "Whoosh >= 2.5.0, < 2.8", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
58 "celery >= 3.1, < 4.0", # TODO: celery 4 doesn't work |
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
59 "Babel >= 1.3, < 2.8", |
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
60 "python-dateutil >= 1.5.0, < 2.9", |
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
61 "Markdown >= 2.2.1, < 3.2", |
7612
664262b31af3
dependencies: bump minimum requirements to fix installation with minimum versions
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7598
diff
changeset
|
62 "docutils >= 0.11, < 0.15", |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
63 "URLObject >= 2.3.4, < 2.5", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
64 "Routes >= 1.13, < 2", # TODO: bumping to 2.0 will make test_file_annotation fail |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
65 "dulwich >= 0.14.1, < 0.20", |
7807
2d2fcf8f4221
setup: support Mercurial 5.1
Mads Kiilerich <mads@kiilerich.com>
parents:
7805
diff
changeset
|
66 "mercurial >= 4.5, < 5.2", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
67 "decorator >= 3.3.2, < 4.5", |
7498
e7d6373631c4
setup.py: support Paste 3.0.x
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7454
diff
changeset
|
68 "Paste >= 2.0.3, < 3.1", |
7742
b302d4254bd0
setup: bump some setup.py dependency versions
Mads Kiilerich <mads@kiilerich.com>
parents:
7712
diff
changeset
|
69 "bleach >= 3.0, < 3.2", |
7405
e4b9a1d1fea1
cli: initial introduction of 'kallithea-cli' command
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7404
diff
changeset
|
70 "Click >= 7.0, < 8", |
7833
52637097d62f
setup: use an actual existing version as minimum requirement for ipaddr
Mads Kiilerich <mads@kiilerich.com>
parents:
7811
diff
changeset
|
71 "ipaddr >= 2.1.10, < 2.3", |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
72 ] |
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
73 |
4820
953ee49f3b30
setup: remove duplicate logic for mercurial dependency
Sean Farley <sean.michael.farley@gmail.com>
parents:
4560
diff
changeset
|
74 if not is_windows: |
7372
55fc0bcce916
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi
Mads Kiilerich <mads@kiilerich.com>
parents:
7371
diff
changeset
|
75 requirements.append("bcrypt >= 3.1.0, < 3.2") |
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.7', | |
4246
cc48c1541c7e
Fixes for pypi - increment version to 0.0
Mads Kiilerich <madski@unity3d.com>
parents:
4245
diff
changeset
|
89 'Topic :: Software Development :: Version Control', |
1966 | 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 | 93 # additional files from project that goes somewhere in the filesystem |
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 |
4212
24c0d584ba86
General renaming to Kallithea
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4189
diff
changeset
|
97 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
|
98 '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
|
99 '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
|
100 |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
101 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
|
102 '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
|
103 '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
|
104 '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
|
105 ]) |
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
106 |
1792 | 107 # long description |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
108 README_FILE = 'README.rst' |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
109 try: |
6037
7c732f2047f8
docs: drop empty Changelog in the documentation
Mads Kiilerich <madski@unity3d.com>
parents:
6033
diff
changeset
|
110 long_description = open(README_FILE).read() |
5374
d69aa464f373
cleanup: consistently use 'except ... as ...:'
Mads Kiilerich <madski@unity3d.com>
parents:
5357
diff
changeset
|
111 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
|
112 sys.stderr.write( |
6037
7c732f2047f8
docs: drop empty Changelog in the documentation
Mads Kiilerich <madski@unity3d.com>
parents:
6033
diff
changeset
|
113 "[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
|
114 % README_FILE |
4005
266a3cbc0302
Fixes some issues with keywords generation, and cleaned the code
Marcin Kuzminski <marcin@python-works.com>
parents:
3960
diff
changeset
|
115 ) |
565
ad2e97c6f17f
small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents:
564
diff
changeset
|
116 long_description = description |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
117 |
5501
c79e4f89bfd3
setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents:
5461
diff
changeset
|
118 |
c79e4f89bfd3
setup: monkey patch setuptools to make distutils set owner/group to root
Mads Kiilerich <madski@unity3d.com>
parents:
5461
diff
changeset
|
119 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
|
120 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
|
121 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
|
122 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
|
123 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
|
124 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
|
125 |
6033 | 126 packages = setuptools.find_packages(exclude=['ez_setup']) |
0 | 127 |
6033 | 128 setuptools.setup( |
4212
24c0d584ba86
General renaming to Kallithea
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4189
diff
changeset
|
129 name='Kallithea', |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
130 version=__version__, |
565
ad2e97c6f17f
small fix for setup
Marcin Kuzminski <marcin@python-works.com>
parents:
564
diff
changeset
|
131 description=description, |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
132 long_description=long_description, |
1078
2d7a94f3eaae
added docs to manifest, updated setup script
Marcin Kuzminski <marcin@python-works.com>
parents:
1069
diff
changeset
|
133 keywords=keywords, |
1205
f4807acf643d
added __license__ into main of rhodecode, PEP8ify
Marcin Kuzminski <marcin@python-works.com>
parents:
1204
diff
changeset
|
134 license=__license__, |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
135 author=__author__, |
4245
3315e9263a53
Use Conservancy's Kallithea Committee address as author_email.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4212
diff
changeset
|
136 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
|
137 dependency_links=dependency_links, |
2563
9382e88eae22
removed import rhodecode from setup.py
Marcin Kuzminski <marcin@python-works.com>
parents:
2379
diff
changeset
|
138 url=__url__, |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
139 install_requires=requirements, |
572
a60cd29ba7e2
more docs update
Marcin Kuzminski <marcin@python-works.com>
parents:
565
diff
changeset
|
140 classifiers=classifiers, |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
141 data_files=data_files, |
553
65c27fd21769
small fixes for distutils
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
142 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
|
143 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
|
144 message_extractors={'kallithea': [ |
0 | 145 ('**.py', 'python', None), |
146 ('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
|
147 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}), |
0 | 148 ('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
|
149 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
|
150 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
|
151 [console_scripts] |
4189
9793473d74be
Rename helper tools (and fix inconsistent naming)
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
4186
diff
changeset
|
152 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
|
153 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
|
154 kallithea-config = kallithea.bin.kallithea_config:main |
7405
e4b9a1d1fea1
cli: initial introduction of 'kallithea-cli' command
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7404
diff
changeset
|
155 kallithea-cli = kallithea.bin.kallithea_cli:cli |
2379
7ac09514a178
created rhodecode-api binary script for working with api via cli
Marcin Kuzminski <marcin@python-works.com>
parents:
2289
diff
changeset
|
156 |
0 | 157 [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
|
158 main = kallithea.config.middleware:make_app |
0 | 159 """, |
160 ) |