Show More
@@ -1,35 +1,35 b'' | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 | 2 | # encoding: utf-8 |
|
3 | 3 | # Hg app, a web based mercurial repository managment based on pylons |
|
4 | 4 | # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> |
|
5 | 5 | # |
|
6 | 6 | # This program is free software; you can redistribute it and/or |
|
7 | 7 | # modify it under the terms of the GNU General Public License |
|
8 | 8 | # as published by the Free Software Foundation; version 2 |
|
9 | 9 | # of the License or (at your opinion) any later version of the license. |
|
10 | 10 | # |
|
11 | 11 | # This program is distributed in the hope that it will be useful, |
|
12 | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 | 14 | # GNU General Public License for more details. |
|
15 | 15 | # |
|
16 | 16 | # You should have received a copy of the GNU General Public License |
|
17 | 17 | # along with this program; if not, write to the Free Software |
|
18 | 18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 | 19 | # MA 02110-1301, USA. |
|
20 | 20 | """ |
|
21 | 21 | Created on April 9, 2010 |
|
22 | 22 | Hg app, a web based mercurial repository managment based on pylons |
|
23 | 23 | versioning implementation: http://semver.org/ |
|
24 | 24 | @author: marcink |
|
25 | 25 | """ |
|
26 | 26 | |
|
27 |
VERSION = (0, 8, |
|
|
27 | VERSION = (0, 8, 5, 'beta') | |
|
28 | 28 | |
|
29 | 29 | __version__ = '.'.join((str(each) for each in VERSION[:4])) |
|
30 | 30 | |
|
31 | 31 | def get_version(): |
|
32 | 32 | """ |
|
33 | 33 | Returns shorter version (digit parts only) as string. |
|
34 | 34 | """ |
|
35 | 35 | return '.'.join((str(each) for each in VERSION[:3])) |
@@ -1,49 +1,49 b'' | |||
|
1 | 1 | from pylons_app import get_version |
|
2 | 2 | try: |
|
3 | 3 | from setuptools import setup, find_packages |
|
4 | 4 | except ImportError: |
|
5 | 5 | from ez_setup import use_setuptools |
|
6 | 6 | use_setuptools() |
|
7 | 7 | from setuptools import setup, find_packages |
|
8 | 8 | |
|
9 | 9 | setup( |
|
10 | 10 | name='HgApp-%s' % get_version(), |
|
11 | 11 | version=get_version(), |
|
12 | 12 | description='Mercurial repository serving and browsing app', |
|
13 | 13 | keywords='mercurial web hgwebdir replacement serving hgweb', |
|
14 | 14 | license='BSD', |
|
15 | 15 | author='marcin kuzminski', |
|
16 | 16 | author_email='marcin@python-works.com', |
|
17 | 17 | url='http://hg.python-works.com', |
|
18 | 18 | install_requires=[ |
|
19 | 19 | "Pylons>=1.0.0", |
|
20 | 20 | "SQLAlchemy>=0.6", |
|
21 | 21 | "babel", |
|
22 | 22 | "Mako>=0.3.2", |
|
23 | 23 | "vcs>=0.1.7", |
|
24 | 24 | "pygments>=1.3.0", |
|
25 | 25 | "mercurial>=1.6", |
|
26 | 26 | "pysqlite", |
|
27 |
"whoosh==1.0.0b |
|
|
27 | "whoosh==1.0.0b20", | |
|
28 | 28 | "py-bcrypt", |
|
29 | 29 | "celery", |
|
30 | 30 | ], |
|
31 | 31 | setup_requires=["PasteScript>=1.6.3"], |
|
32 | 32 | packages=find_packages(exclude=['ez_setup']), |
|
33 | 33 | include_package_data=True, |
|
34 | 34 | test_suite='nose.collector', |
|
35 | 35 | package_data={'pylons_app': ['i18n/*/LC_MESSAGES/*.mo']}, |
|
36 | 36 | message_extractors={'pylons_app': [ |
|
37 | 37 | ('**.py', 'python', None), |
|
38 | 38 | ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), |
|
39 | 39 | ('public/**', 'ignore', None)]}, |
|
40 | 40 | zip_safe=False, |
|
41 | 41 | paster_plugins=['PasteScript', 'Pylons'], |
|
42 | 42 | entry_points=""" |
|
43 | 43 | [paste.app_factory] |
|
44 | 44 | main = pylons_app.config.middleware:make_app |
|
45 | 45 | |
|
46 | 46 | [paste.app_install] |
|
47 | 47 | main = pylons.util:PylonsInstaller |
|
48 | 48 | """, |
|
49 | 49 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now