annotate setup.py @ 552:2642f128ad46

removed egg info, update files for distutils build updated READMES some config files
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 06 Oct 2010 15:37:23 +0200
parents f99075170eb4
children 65c27fd21769
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
547
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
1 from rhodecode import get_version
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
2
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
3
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
4 requirements = [
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
5 "Pylons>=1.0.0",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
6 "SQLAlchemy>=0.6",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
7 "babel",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
8 "Mako>=0.3.2",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
9 "vcs>=0.1.7",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
10 "pygments>=1.3.0",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
11 "mercurial>=1.6",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
12 "pysqlite",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
13 "whoosh==1.0.0",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
14 "py-bcrypt",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
15 "celery",
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
16 ]
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
17
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
18 #additional files for project
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
19 data_files = [
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
20 ('init.d', ['init.d/rhodecode-daemon',
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
21 'init.d/rhodecode-daemon2',
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
22 'init.d/celeryd']),
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
23 ('', ['celeryconfig.py', 'production.ini', 'development.ini']),
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
24 ]
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
25
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
26
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
27 long_description = '\n' + open('README.rst').read()
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
28
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
29 try:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
30 from setuptools import setup, find_packages
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
31 except ImportError:
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
32 from ez_setup import use_setuptools
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
33 use_setuptools()
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
34 from setuptools import setup, find_packages
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
35
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
36 setup(
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
37 name='RhodeCode',
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
38 version=get_version(),
326
674e0085ccc7 updated setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 325
diff changeset
39 description='Mercurial repository serving and browsing app',
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
40 long_description=long_description,
549
f99075170eb4 more renames for rhode code !!
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
41 keywords='mercurial web hgwebdir replacement serving hgweb rhodecode',
326
674e0085ccc7 updated setup.py
Marcin Kuzminski <marcin@python-works.com>
parents: 325
diff changeset
42 license='BSD',
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
43 author='Marcin Kuzminski',
244
782f0692b29c fixed setup and install instructions
Marcin Kuzminski <marcin@python-works.com>
parents: 185
diff changeset
44 author_email='marcin@python-works.com',
325
d8d471cfa093 Updated readme
Marcin Kuzminski <marcin@python-works.com>
parents: 246
diff changeset
45 url='http://hg.python-works.com',
552
2642f128ad46 removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents: 549
diff changeset
46 install_requires=requirements,
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
47 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
48 data_files=data_files,
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
49 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
50 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
51 test_suite='nose.collector',
547
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
52 package_data={'rhodecode': ['i18n/*/LC_MESSAGES/*.mo']},
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
53 message_extractors={'rhodecode': [
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
54 ('**.py', 'python', None),
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
55 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
56 ('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
57 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
58 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
59 entry_points="""
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
60 [paste.app_factory]
547
1e757ac98988 renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents: 538
diff changeset
61 main = rhodecode.config.middleware:make_app
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
62
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
63 [paste.app_install]
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
64 main = pylons.util:PylonsInstaller
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
65 """,
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
66 )