Files
@ f7bb54f8c20f
Branch filter:
Location: kallithea/setup.py - annotation
f7bb54f8c20f
3.6 KiB
text/x-python
fixed archive names, added setup command to contributing docs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | 65c27fd21769 93b980ebee55 93b980ebee55 8a153dba7033 2182a2005278 93b980ebee55 ba7e24cd4786 2642f128ad46 c5af1d3c861f c5af1d3c861f c5af1d3c861f 2642f128ad46 2ef22ee3b45a 6c01c12eafb8 af6ca51fb80f 93b980ebee55 93b980ebee55 93b980ebee55 af6ca51fb80f 2ef22ee3b45a 8a153dba7033 ad2e97c6f17f 8a153dba7033 2642f128ad46 2642f128ad46 3d0661b8aaa4 b76da6f22e0f b76da6f22e0f b76da6f22e0f b76da6f22e0f 8a153dba7033 8a153dba7033 8a153dba7033 8a153dba7033 a60cd29ba7e2 93b980ebee55 ba7e24cd4786 ba7e24cd4786 ba7e24cd4786 2182a2005278 93b980ebee55 93b980ebee55 93b980ebee55 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 2642f128ad46 9985eca2e4d0 9c8a817462fe 8a153dba7033 93b980ebee55 8a153dba7033 65c27fd21769 65c27fd21769 65c27fd21769 23c2a0e6df0b d9c8dddb96af 23c2a0e6df0b 23c2a0e6df0b 65c27fd21769 36d54d4479db 23c2a0e6df0b 23c2a0e6df0b ad2e97c6f17f 2642f128ad46 2642f128ad46 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 65c27fd21769 65c27fd21769 564e40829f80 564e40829f80 2642f128ad46 3380ca40cdba ad2e97c6f17f 2642f128ad46 93b980ebee55 8a153dba7033 2642f128ad46 782f0692b29c 42e53ebb6288 2642f128ad46 a60cd29ba7e2 20dc7a5eb748 2642f128ad46 65c27fd21769 20dc7a5eb748 20dc7a5eb748 65c27fd21769 1e757ac98988 564e40829f80 564e40829f80 49032f99b4ab 564e40829f80 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 564e40829f80 1e757ac98988 564e40829f80 564e40829f80 564e40829f80 341beaa9edba 341beaa9edba 341beaa9edba 9753e0907827 aaf2fc59a39a 564e40829f80 564e40829f80 | import sys
from rhodecode import get_version
from rhodecode import __platform__
from rhodecode import __license__
from rhodecode import PLATFORM_OTHERS
py_version = sys.version_info
if py_version < (2, 5):
raise Exception('RhodeCode requires python 2.5 or later')
requirements = [
"Pylons==1.0.0",
"WebHelpers==1.2",
"SQLAlchemy==0.6.6",
"Mako==0.4.0",
"vcs==0.1.11",
"pygments==1.4.0",
"mercurial==1.7.5",
"whoosh==1.3.4",
"celery==2.2.5",
"babel",
"python-dateutil>=1.5.0,<2.0.0",
]
classifiers = ['Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Pylons',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7', ]
if py_version < (2, 6):
requirements.append("simplejson")
requirements.append("pysqlite")
if __platform__ in PLATFORM_OTHERS:
requirements.append("py-bcrypt")
#additional files from project that goes somewhere in the filesystem
#relative to sys.prefix
data_files = []
#additional files that goes into package itself
package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
description = ('Mercurial repository browser/management with '
'build in push/pull server and full text search')
keywords = ' '.join(['rhodecode', 'rhodiumcode', 'mercurial', 'git',
'repository management', 'hgweb replacement'
'hgwebdir', 'gitweb replacement', 'serving hgweb', ])
#long description
try:
readme_file = 'README.rst'
changelog_file = 'docs/changelog.rst'
long_description = open(readme_file).read() + '\n\n' + \
open(changelog_file).read()
except IOError, err:
sys.stderr.write("[WARNING] Cannot find file specified as "
"long_description (%s)\n or changelog (%s) skipping that file" \
% (readme_file, changelog_file))
long_description = description
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
#packages
packages = find_packages(exclude=['ez_setup'])
setup(
name='RhodeCode',
version=get_version(),
description=description,
long_description=long_description,
keywords=keywords,
license=__license__,
author='Marcin Kuzminski',
author_email='marcin@python-works.com',
url='http://rhodecode.org',
install_requires=requirements,
classifiers=classifiers,
setup_requires=["PasteScript>=1.6.3"],
data_files=data_files,
packages=packages,
include_package_data=True,
test_suite='nose.collector',
package_data=package_data,
message_extractors={'rhodecode': [
('**.py', 'python', None),
('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
('public/**', 'ignore', None)]},
zip_safe=False,
paster_plugins=['PasteScript', 'Pylons'],
entry_points="""
[paste.app_factory]
main = rhodecode.config.middleware:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
[paste.global_paster_command]
make-index = rhodecode.lib.indexers:MakeIndex
upgrade-db = rhodecode.lib.dbmigrate:UpgradeDb
celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand
""",
)
|