annotate setup.py @ 456:6b54caa8b074

update setup script and config tmpl
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 04 Sep 2010 00:17:01 +0200
parents 25ab66a26975
children 644795a4e8d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
185
3380ca40cdba added version generation to pylons_app and showed it into template. Propagated baseController with some data for acces into each controller. Fixed simplehg middleware to get proper name of application
Marcin Kuzminski <marcin@python-works.com>
parents: 170
diff changeset
1 from pylons_app import get_version
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
2 try:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
3 from setuptools import setup, find_packages
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
4 except ImportError:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
5 from ez_setup import use_setuptools
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
6 use_setuptools()
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
7 from setuptools import setup, find_packages
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
8
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
9 setup(
456
6b54caa8b074 update setup script and config tmpl
Marcin Kuzminski <marcin@python-works.com>
parents: 416
diff changeset
10 name='hg-app',
185
3380ca40cdba added version generation to pylons_app and showed it into template. Propagated baseController with some data for acces into each controller. Fixed simplehg middleware to get proper name of application
Marcin Kuzminski <marcin@python-works.com>
parents: 170
diff changeset
11 version=get_version(),
326
674e0085ccc7 updated setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 325
diff changeset
12 description='Mercurial repository serving and browsing app',
674e0085ccc7 updated setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 325
diff changeset
13 keywords='mercurial web hgwebdir replacement serving hgweb',
674e0085ccc7 updated setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 325
diff changeset
14 license='BSD',
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
15 author='marcin kuzminski',
244
782f0692b29c fixed setup and install instructions
Marcin Kuzminski <marcin@python-works.com>
parents: 185
diff changeset
16 author_email='marcin@python-works.com',
325
d8d471cfa093 Updated readme
Marcin Kuzminski <marcin@python-works.com>
parents: 246
diff changeset
17 url='http://hg.python-works.com',
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
18 install_requires=[
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
19 "Pylons>=1.0.0",
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
20 "SQLAlchemy>=0.6",
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
21 "Mako>=0.3.2",
344
ab5d91709af9 updated requirements and readme
Marcin Kuzminski <marcin@python-works.com>
parents: 326
diff changeset
22 "vcs>=0.1.4",
246
ca80f8c00562 Fixed bug in repos, added dependencies and bumped version
Marcin Kuzminski <marcin@python-works.com>
parents: 244
diff changeset
23 "pygments>=1.3.0",
344
ab5d91709af9 updated requirements and readme
Marcin Kuzminski <marcin@python-works.com>
parents: 326
diff changeset
24 "mercurial>=1.6",
406
b153a51b1d3b Implemented search using whoosh. Still as experimental option.
Marcin Kuzminski <marcin@python-works.com>
parents: 344
diff changeset
25 "pysqlite",
416
25ab66a26975 fix for new bcrypt password.
Marcin Kuzminski <marcin@python-works.com>
parents: 415
diff changeset
26 "whoosh==1.0.0b9",
415
04e8b31fb245 Changed password crypting scheme to bcrypt, added dependency for setup
Marcin Kuzminski <marcin@python-works.com>
parents: 408
diff changeset
27 "py-bcrypt",
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
28 ],
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
29 setup_requires=["PasteScript>=1.6.3"],
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
30 packages=find_packages(exclude=['ez_setup']),
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
31 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
32 test_suite='nose.collector',
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
33 package_data={'pylons_app': ['i18n/*/LC_MESSAGES/*.mo']},
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
34 message_extractors={'pylons_app': [
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
35 ('**.py', 'python', None),
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
36 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
37 ('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
38 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
39 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
40 entry_points="""
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
41 [paste.app_factory]
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
42 main = pylons_app.config.middleware:make_app
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
43
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
44 [paste.app_install]
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
45 main = pylons.util:PylonsInstaller
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
46 """,
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
47 )