##// END OF EJS Templates
fixed some tests after icon change
fixed some tests after icon change

File last commit:

r4005:266a3cbc default
r4010:f81b1fde default
Show More
setup.py
178 lines | 5.3 KiB | text/x-python | PythonLexer
Fixes some issues with keywords generation, and cleaned the code
r4005 # -*- coding: utf-8 -*-
removed import rhodecode from setup.py
r2563 import os
small fixes for distutils
r553 import sys
removed import rhodecode from setup.py
r2563 import platform
if sys.version_info < (2, 5):
raise Exception('RhodeCode requires python 2.5 or later')
here = os.path.abspath(os.path.dirname(__file__))
def _get_meta_var(name, data, callback_handler=None):
import re
matches = re.compile(r'(?:%s)\s*=\s*(.*)' % name).search(data)
if matches:
if not callable(callback_handler):
callback_handler = lambda v: v
return callback_handler(eval(matches.groups()[0]))
_meta = open(os.path.join(here, 'rhodecode', '__init__.py'), 'rb')
_metadata = _meta.read()
_meta.close()
callback = lambda V: ('.'.join(map(str, V[:3])) + '.'.join(V[3:]))
__version__ = _get_meta_var('VERSION', _metadata, callback)
__license__ = _get_meta_var('__license__', _metadata)
__author__ = _get_meta_var('__author__', _metadata)
__url__ = _get_meta_var('__url__', _metadata)
# defines current platform
__platform__ = platform.system()
Fix check statements from () which had no effect really
r3892 is_windows = __platform__ in ['Windows']
added docs to manifest, updated setup script
r1078
removed import rhodecode from setup.py
r2563 requirements = [
bumped waitress version
r3900 "waitress==0.8.4",
requirements updates
r2715 "webob==1.0.8",
fix webtest dependency
r3406 "webtest==1.4.3",
removed import rhodecode from setup.py
r2563 "Pylons==1.0.0",
requirements updates
r2715 "Beaker==1.6.4",
removed import rhodecode from setup.py
r2563 "WebHelpers==1.3",
"formencode==1.2.4",
bump sqlalchemy version
r3429 "SQLAlchemy==0.7.10",
bumped dependencies versions
r3000 "Mako==0.7.3",
requirements updates
r2715 "pygments>=1.5",
removed import rhodecode from setup.py
r2563 "whoosh>=2.4.0,<2.5",
"celery>=2.2.5,<2.3",
"babel",
"python-dateutil>=1.5.0,<2.0.0",
bumped dulwich version
r3034 "dulwich>=0.8.7,<0.9.0",
bumped dependencies versions
r3000 "markdown==2.2.1",
removed import rhodecode from setup.py
r2563 "docutils==0.8.1",
"simplejson==2.5.2",
Switch to waitress wsgi server by default in rhodecode....
r2597 "mock",
removed import rhodecode from setup.py
r2563 ]
if sys.version_info < (2, 6):
requirements.append("pysqlite")
fixed condition for installing unittests2
r2772 if sys.version_info < (2, 7):
removed import rhodecode from setup.py
r2563 requirements.append("unittest2")
added argparse for python version <2.7
r3230 requirements.append("argparse")
removed import rhodecode from setup.py
r2563
if is_windows:
Bumped mercurial version
r3937 requirements.append("mercurial==2.6.2")
removed import rhodecode from setup.py
r2563 else:
requirements.append("py-bcrypt")
Bumped mercurial version
r3937 requirements.append("mercurial==2.6.2")
removed import rhodecode from setup.py
r2563
added check for python <2.5 in setup file
r1163
fixed setup so it'll fetch tip of vcs for easier installation of beta version
r1456 dependency_links = [
]
code cleanup
r1966 classifiers = [
merge 1.3 into stable
r2031 'Development Status :: 5 - Production/Stable',
code cleanup
r1966 'Environment :: Web Environment',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
]
more docs update
r572
Fixed Windows installation based on work of Mantis406 fork: "Replace py-bcrypt to make Windows installation easier"...
r1118
code garden...
r1792 # additional files from project that goes somewhere in the filesystem
# relative to sys.prefix
small fixes for distutils
r553 data_files = []
code garden...
r1792 # additional files that goes into package itself
small fixes for distutils
r553 package_data = {'rhodecode': ['i18n/*/LC_MESSAGES/*.mo', ], }
removed egg info, update files for distutils build...
r552
Updated description
r3305 description = ('RhodeCode is a fast and powerful management tool '
'for Mercurial and GIT with a built in push/pull server, '
fixed broken syntax in setup.py
r3310 'full text search and code-review.')
Fixes some issues with keywords generation, and cleaned the code
r4005
keywords = ' '.join([
'rhodecode', 'rhodiumcode', 'mercurial', 'git', 'code review',
'repo groups', 'ldap', 'repository management', 'hgweb replacement',
'hgwebdir', 'gitweb replacement', 'serving hgweb',
])
code garden...
r1792 # long description
Fixes some issues with keywords generation, and cleaned the code
r4005 README_FILE = 'README.rst'
CHANGELOG_FILE = 'docs/changelog.rst'
small fixes for distutils
r553 try:
Fixes some issues with keywords generation, and cleaned the code
r4005 long_description = open(README_FILE).read() + '\n\n' + \
open(CHANGELOG_FILE).read()
changed official rhodecode favicon, from hg to some more generic...
r682
small fixes for distutils
r553 except IOError, err:
Fixes some issues with keywords generation, and cleaned the code
r4005 sys.stderr.write(
"[WARNING] Cannot find file specified as long_description (%s)\n or "
"changelog (%s) skipping that file" % (README_FILE, CHANGELOG_FILE)
)
small fix for setup
r565 long_description = description
removed egg info, update files for distutils build...
r552
Marcin Kuzminski
initial commit.
r0 try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
code garden...
r1792 # packages
small fixes for distutils
r553 packages = find_packages(exclude=['ez_setup'])
Marcin Kuzminski
initial commit.
r0
setup(
removed egg info, update files for distutils build...
r552 name='RhodeCode',
removed import rhodecode from setup.py
r2563 version=__version__,
small fix for setup
r565 description=description,
removed egg info, update files for distutils build...
r552 long_description=long_description,
added docs to manifest, updated setup script
r1078 keywords=keywords,
added __license__ into main of rhodecode, PEP8ify
r1205 license=__license__,
removed import rhodecode from setup.py
r2563 author=__author__,
fixed setup and install instructions
r244 author_email='marcin@python-works.com',
fixed setup so it'll fetch tip of vcs for easier installation of beta version
r1456 dependency_links=dependency_links,
removed import rhodecode from setup.py
r2563 url=__url__,
removed egg info, update files for distutils build...
r552 install_requires=requirements,
more docs update
r572 classifiers=classifiers,
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 setup_requires=["PasteScript>=1.6.3"],
removed egg info, update files for distutils build...
r552 data_files=data_files,
small fixes for distutils
r553 packages=packages,
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 include_package_data=True,
test_suite='nose.collector',
small fixes for distutils
r553 package_data=package_data,
renamed project to rhodecode
r547 message_extractors={'rhodecode': [
Marcin Kuzminski
initial commit.
r0 ('**.py', 'python', None),
('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
added changes made in production branch back into beta
r1143 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
Marcin Kuzminski
initial commit.
r0 ('public/**', 'ignore', None)]},
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 zip_safe=False,
paster_plugins=['PasteScript', 'Pylons'],
entry_points="""
created rhodecode-api binary script for working with api via cli...
r2379 [console_scripts]
rhodecode-api = rhodecode.bin.rhodecode_api:main
Implemented simple gist functionality ref #530....
r3840 rhodecode-gist = rhodecode.bin.rhodecode_gist:main
created rhodecode-api binary script for working with api via cli...
r2379
Marcin Kuzminski
initial commit.
r0 [paste.app_factory]
renamed project to rhodecode
r547 main = rhodecode.config.middleware:make_app
Marcin Kuzminski
initial commit.
r0
[paste.app_install]
main = pylons.util:PylonsInstaller
Implemented whoosh index building as paster command....
r683
[paste.global_paster_command]
unified RhodeCode paster commands...
r3340 setup-rhodecode=rhodecode.lib.paster_commands.setup_rhodecode:Command
cleanup-repos=rhodecode.lib.paster_commands.cleanup:Command
update-repoinfo=rhodecode.lib.paster_commands.update_repoinfo:Command
make-rcext=rhodecode.lib.paster_commands.make_rcextensions:Command
repo-scan=rhodecode.lib.paster_commands.repo_scan:Command
added super simple cache_key paster function for showing and cleaning cache keys
r3616 cache-keys=rhodecode.lib.paster_commands.cache_keys:Command
ishell paster command
r3663 ishell=rhodecode.lib.paster_commands.ishell:Command
moved make-index command to paster_commands module...
r3915 make-index=rhodecode.lib.paster_commands.make_index:Command
added initial rc-extension module...
r2105 upgrade-db=rhodecode.lib.dbmigrate:UpgradeDb
fixes #77 and adds extendable base Dn with custom uid specification
r775 celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand
Marcin Kuzminski
initial commit.
r0 """,
)