##// END OF EJS Templates
i18n: updated translation for Polish...
i18n: updated translation for Polish Currently translated at 56.5% (614 of 1087 strings)

File last commit:

r8089:01aca0a4 default
r8092:7fef5132 default
Show More
setup.py
162 lines | 4.7 KiB | text/x-python | PythonLexer
Mads Kiilerich
py3: switch to use Python 3 interpreter, temporarily leaving many things very broken until they have been migrated/fixed in a reviewable way...
r8053 #!/usr/bin/env python3
Fixes some issues with keywords generation, and cleaned the code
r4005 # -*- coding: utf-8 -*-
removed import rhodecode from setup.py
r2563 import os
Mads Kiilerich
scripts: initial run of import cleanup using isort
r7718 import platform
small fixes for distutils
r553 import sys
Mads Kiilerich
scripts: initial run of import cleanup using isort
r7718
import setuptools
# monkey patch setuptools to use distutils owner/group functionality
from setuptools.command import sdist
removed import rhodecode from setup.py
r2563
Mads Kiilerich
py3: switch to use Python 3 interpreter, temporarily leaving many things very broken until they have been migrated/fixed in a reviewable way...
r8053 if sys.version_info < (3, 6):
raise Exception('Kallithea requires Python 3.6 or later')
removed import rhodecode from setup.py
r2563
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]))
Mads Kiilerich
py3: open files as binary or not, depending on how we want to use them...
r7991 _meta = open(os.path.join(here, 'kallithea', '__init__.py'), 'r')
removed import rhodecode from setup.py
r2563 _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 = [
Mads Kiilerich
setup: bump alembic minimum version to 1.0.10 to get rid of py3 warning...
r8007 "alembic >= 1.0.10, < 1.1",
Mads Kiilerich
setup: set explicit minimum version for all dependencies...
r7816 "gearbox >= 0.1.0, < 1",
Mads Kiilerich
setup: bump some setup.py dependency versions...
r7648 "waitress >= 0.8.8, < 1.4",
Mads Kiilerich
setup: bump WebOb minimum version to 1.8...
r7996 "WebOb >= 1.8, < 1.9",
Mads Kiilerich
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi...
r7294 "backlash >= 0.1.2, < 1",
Mads Kiilerich
setup: bump TurboGears minimum version to 2.4...
r7997 "TurboGears2 >= 2.4, < 2.5",
Mads Kiilerich
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi...
r7294 "tgext.routes >= 0.2.0, < 1",
Mads Kiilerich
setup: bump beaker minimum version to 1.10.1 to get py3 support...
r8000 "Beaker >= 1.10.1, < 2",
Mads Kiilerich
helpers: use WebHelpers2 as much as possible - it supports Python3, and WebHelpers is dead...
r7712 "WebHelpers2 >= 2.0, < 2.1",
Mads Kiilerich
setup: bump formencode minimum version to 1.3.1 to get py3 support...
r7999 "FormEncode >= 1.3.1, < 1.4",
Mads Kiilerich
setup: bump sqlalchemy minimum version to 1.2.9 to get rid of py3 warning...
r8008 "SQLAlchemy >= 1.2.9, < 1.4",
Mads Kiilerich
setup: bump mako minimum version to 0.9.1 to get py3 support...
r8002 "Mako >= 0.9.1, < 1.1",
Thomas De Schampheleire
setup.py: bump Pygments minimum version to 2.2.0...
r7786 "Pygments >= 2.2.0, < 2.5",
Mads Kiilerich
setup: bump whoosh minimum version to 2.7.1 to get py3 support...
r8003 "Whoosh >= 2.7.1, < 2.8",
Mads Kiilerich
setup: bump some setup.py dependency versions...
r7648 "celery >= 3.1, < 4.0", # TODO: celery 4 doesn't work
"Babel >= 1.3, < 2.8",
Mads Kiilerich
setup: bump python-dateutil minimum version to 2.1.0 to get py3 support...
r8001 "python-dateutil >= 2.1.0, < 2.9",
Mads Kiilerich
setup: bump some setup.py dependency versions...
r7648 "Markdown >= 2.2.1, < 3.2",
Thomas De Schampheleire
dependencies: bump minimum requirements to fix installation with minimum versions...
r7521 "docutils >= 0.11, < 0.15",
Mads Kiilerich
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi...
r7294 "URLObject >= 2.3.4, < 2.5",
Mads Kiilerich
setup: upgrade to Routes > 2 - all blockers have been fixed
r7873 "Routes >= 2.0, < 2.5",
Mads Kiilerich
setup: bump dulwich minimum version to 0.19.0 to get good py3 support...
r8005 "dulwich >= 0.19.0, < 0.20",
Mads Kiilerich
py3: switch to use Python 3 interpreter, temporarily leaving many things very broken until they have been migrated/fixed in a reviewable way...
r8053 "mercurial >= 5.2, < 5.4",
Mads Kiilerich
setup: bump decorator minimum version to 4.2.1 to get rid of py3 warning...
r8006 "decorator >= 4.2.1, < 4.5",
Thomas De Schampheleire
setup.py: support Paste 3.0.x...
r7418 "Paste >= 2.0.3, < 3.1",
Mads Kiilerich
setup: bump some setup.py dependency versions...
r7648 "bleach >= 3.0, < 3.2",
Thomas De Schampheleire
cli: initial introduction of 'kallithea-cli' command...
r7326 "Click >= 7.0, < 8",
Mads Kiilerich
setup: bump ipaddr minium version to 2.2.0 to get py3 support...
r7998 "ipaddr >= 2.2.0, < 2.3",
Mads Kiilerich
page: minimal change to move from webhelpers.paginate to paginate...
r7858 "paginate >= 0.5, < 0.6",
"paginate_sqlalchemy >= 0.3.0, < 0.4",
removed import rhodecode from setup.py
r2563 ]
Sean Farley
setup: remove duplicate logic for mercurial dependency
r4820 if not is_windows:
Mads Kiilerich
setup: bump all upper pip dependency versions to minor updates of what currently is available and testable on pypi...
r7294 requirements.append("bcrypt >= 3.1.0, < 3.2")
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 = [
Mads Kiilerich
Fixes for pypi - increment version to 0.0
r4246 'Development Status :: 4 - Beta',
code cleanup
r1966 'Environment :: Web Environment',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
Mads Kiilerich
py3: officially support Python 3...
r8089 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Mads Kiilerich
Fixes for pypi - increment version to 0.0
r4246 'Topic :: Software Development :: Version Control',
code cleanup
r1966 ]
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 = []
Bradley M. Kuhn
General renaming to Kallithea
r4212 description = ('Kallithea is a fast and powerful management tool '
Andrew Shadura
spelling: use correct Git capitalisation where appropriate
r4937 '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([
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 'kallithea', 'mercurial', 'git', 'code review',
Fixes some issues with keywords generation, and cleaned the code
r4005 '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'
small fixes for distutils
r553 try:
Mads Kiilerich
docs: drop empty Changelog in the documentation...
r6000 long_description = open(README_FILE).read()
Mads Kiilerich
cleanup: consistently use 'except ... as ...:'...
r5374 except IOError as err:
Fixes some issues with keywords generation, and cleaned the code
r4005 sys.stderr.write(
Mads Kiilerich
docs: drop empty Changelog in the documentation...
r6000 "[WARNING] Cannot find file specified as long_description (%s)\n"
% README_FILE
Fixes some issues with keywords generation, and cleaned the code
r4005 )
small fix for setup
r565 long_description = description
removed egg info, update files for distutils build...
r552
Mads Kiilerich
setup: monkey patch setuptools to make distutils set owner/group to root
r5501
sdist_org = sdist.sdist
class sdist_new(sdist_org):
def initialize_options(self):
sdist_org.initialize_options(self)
self.owner = self.group = 'root'
sdist.sdist = sdist_new
Mads Kiilerich
setup: drop ez_setup...
r5996 packages = setuptools.find_packages(exclude=['ez_setup'])
Marcin Kuzminski
initial commit.
r0
Mads Kiilerich
setup: drop ez_setup...
r5996 setuptools.setup(
Bradley M. Kuhn
General renaming to Kallithea
r4212 name='Kallithea',
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__,
Bradley M. Kuhn
Use Conservancy's Kallithea Committee address as author_email....
r4245 author_email='kallithea@sfconservancy.org',
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,
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,
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 message_extractors={'kallithea': [
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,
entry_points="""
created rhodecode-api binary script for working with api via cli...
r2379 [console_scripts]
Bradley M. Kuhn
Rename helper tools (and fix inconsistent naming)
r4189 kallithea-api = kallithea.bin.kallithea_api:main
kallithea-gist = kallithea.bin.kallithea_gist:main
kallithea-config = kallithea.bin.kallithea_config:main
Thomas De Schampheleire
cli: initial introduction of 'kallithea-cli' command...
r7326 kallithea-cli = kallithea.bin.kallithea_cli:cli
created rhodecode-api binary script for working with api via cli...
r2379
Marcin Kuzminski
initial commit.
r0 [paste.app_factory]
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 main = kallithea.config.middleware:make_app
Marcin Kuzminski
initial commit.
r0 """,
)