Files
@ 65c27fd21769
Branch filter:
Location: kallithea/setup.py - annotation
65c27fd21769
2.0 KiB
text/x-python
small fixes for distutils
1e757ac98988 65c27fd21769 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 2642f128ad46 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 2642f128ad46 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 65c27fd21769 2642f128ad46 2642f128ad46 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 65c27fd21769 65c27fd21769 564e40829f80 564e40829f80 2642f128ad46 3380ca40cdba 674e0085ccc7 2642f128ad46 f99075170eb4 674e0085ccc7 2642f128ad46 782f0692b29c d8d471cfa093 2642f128ad46 20dc7a5eb748 2642f128ad46 65c27fd21769 20dc7a5eb748 20dc7a5eb748 65c27fd21769 1e757ac98988 564e40829f80 564e40829f80 564e40829f80 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 564e40829f80 1e757ac98988 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 | from rhodecode import get_version
import sys
requirements = [
"Pylons>=1.0.0",
"SQLAlchemy>=0.6",
"babel",
"Mako>=0.3.2",
"vcs>=0.1.7",
"pygments>=1.3.0",
"mercurial>=1.6",
"pysqlite",
"whoosh==1.0.0",
"py-bcrypt",
"celery",
]
#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', ], }
#long description
try:
readme_file = 'README.rst'
long_description = open(readme_file).read()
except IOError, err:
sys.stderr.write("[ERROR] Cannot find file specified as "
"long_description (%s)\n" % readme_file)
sys.exit(1)
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='Mercurial repository serving and browsing app',
long_description=long_description,
keywords='mercurial web hgwebdir replacement serving hgweb rhodecode',
license='BSD',
author='Marcin Kuzminski',
author_email='marcin@python-works.com',
url='http://hg.python-works.com',
install_requires=requirements,
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'}),
('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
""",
)
|