comparison setup.py @ 1078:2d7a94f3eaae beta

added docs to manifest, updated setup script
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 25 Feb 2011 00:20:44 +0100
parents b4254b54d277
children 918c0b600a06
comparison
equal deleted inserted replaced
1077:ee3a5a5f66bf 1078:2d7a94f3eaae
1 import sys 1 import sys
2 from rhodecode import get_version
3
2 py_version = sys.version_info 4 py_version = sys.version_info
3
4 from rhodecode import get_version
5 5
6 requirements = [ 6 requirements = [
7 "Pylons==1.0.0", 7 "Pylons==1.0.0",
8 "WebHelpers>=1.2", 8 "WebHelpers>=1.2",
9 "SQLAlchemy>=0.6.6", 9 "SQLAlchemy>=0.6.6",
10 "Mako==0.3.6", 10 "Mako==0.3.6",
11 "vcs>=0.1.10", 11 "vcs>=0.2.0",
12 "pygments>=1.4", 12 "pygments>=1.4",
13 "mercurial>=1.7.5", 13 "mercurial>=1.7.5",
14 "whoosh>=1.3.4", 14 "whoosh>=1.3.4",
15 "celery>=2.2.4", 15 "celery>=2.2.4",
16 "py-bcrypt", 16 "py-bcrypt",
23 'Intended Audience :: Developers', 23 'Intended Audience :: Developers',
24 'License :: OSI Approved :: BSD License', 24 'License :: OSI Approved :: BSD License',
25 'Operating System :: OS Independent', 25 'Operating System :: OS Independent',
26 'Programming Language :: Python', ] 26 'Programming Language :: Python', ]
27 27
28 if sys.version_info < (2, 6): 28 if py_version < (2, 6):
29 requirements.append("simplejson") 29 requirements.append("simplejson")
30 requirements.append("pysqlite") 30 requirements.append("pysqlite")
31 31
32 #additional files from project that goes somewhere in the filesystem 32 #additional files from project that goes somewhere in the filesystem
33 #relative to sys.prefix 33 #relative to sys.prefix
36 #additional files that goes into package itself 36 #additional files that goes into package itself
37 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], } 37 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
38 38
39 description = ('Mercurial repository browser/management with ' 39 description = ('Mercurial repository browser/management with '
40 'build in push/pull server and full text search') 40 'build in push/pull server and full text search')
41 keywords = ' '.join (['rhodecode', 'rhodiumcode', 'mercurial', 'git',
42 'repository management', 'hgweb replacement'
43 'hgwebdir', 'gitweb replacement', 'serving hgweb',
44 ])
41 #long description 45 #long description
42 try: 46 try:
43 readme_file = 'README.rst' 47 readme_file = 'README.rst'
44 changelog_file = 'docs/changelog.rst' 48 changelog_file = 'docs/changelog.rst'
45 long_description = open(readme_file).read() + '\n\n' + \ 49 long_description = open(readme_file).read() + '\n\n' + \
64 setup( 68 setup(
65 name='RhodeCode', 69 name='RhodeCode',
66 version=get_version(), 70 version=get_version(),
67 description=description, 71 description=description,
68 long_description=long_description, 72 long_description=long_description,
69 keywords='rhodiumcode mercurial web hgwebdir gitweb git replacement serving hgweb rhodecode', 73 keywords=keywords,
70 license='BSD', 74 license='BSD',
71 author='Marcin Kuzminski', 75 author='Marcin Kuzminski',
72 author_email='marcin@python-works.com', 76 author_email='marcin@python-works.com',
73 url='http://hg.python-works.com', 77 url='http://hg.python-works.com',
74 install_requires=requirements, 78 install_requires=requirements,