Mercurial > kallithea
annotate setup.py @ 310:fc4027fe46bc
fixed bug when user is capable of creating _admin repository which is a link to admin interface
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 29 Jun 2010 12:32:30 +0200 |
parents | ca80f8c00562 |
children | d8d471cfa093 |
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 | 2 try: |
3 from setuptools import setup, find_packages | |
4 except ImportError: | |
5 from ez_setup import use_setuptools | |
6 use_setuptools() | |
7 from setuptools import setup, find_packages | |
8 | |
9 setup( | |
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
|
10 name='pylons_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(), |
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
|
12 description='', |
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
|
13 author='marcin kuzminski', |
244
782f0692b29c
fixed setup and install instructions
Marcin Kuzminski <marcin@python-works.com>
parents:
185
diff
changeset
|
14 author_email='marcin@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
|
15 url='', |
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
|
16 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
|
17 "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
|
18 "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
|
19 "Mako>=0.3.2", |
244
782f0692b29c
fixed setup and install instructions
Marcin Kuzminski <marcin@python-works.com>
parents:
185
diff
changeset
|
20 "vcs>=0.1.2", |
246
ca80f8c00562
Fixed bug in repos, added dependencies and bumped version
Marcin Kuzminski <marcin@python-works.com>
parents:
244
diff
changeset
|
21 "pygments>=1.3.0", |
ca80f8c00562
Fixed bug in repos, added dependencies and bumped version
Marcin Kuzminski <marcin@python-works.com>
parents:
244
diff
changeset
|
22 "mercurial>=1.5", |
ca80f8c00562
Fixed bug in repos, added dependencies and bumped version
Marcin Kuzminski <marcin@python-works.com>
parents:
244
diff
changeset
|
23 "pysqlite" |
0 | 24 ], |
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
|
25 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
|
26 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
|
27 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
|
28 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
|
29 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
|
30 message_extractors={'pylons_app': [ |
0 | 31 ('**.py', 'python', None), |
32 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), | |
33 ('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
|
34 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
|
35 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
|
36 entry_points=""" |
0 | 37 [paste.app_factory] |
38 main = pylons_app.config.middleware:make_app | |
39 | |
40 [paste.app_install] | |
41 main = pylons.util:PylonsInstaller | |
42 """, | |
43 ) |