<commit_before>from setuptools import setup

from sys import version_info
if version_info < (3, 0):
    raise RuntimeError("""
        Using python 2.x? 3.x required (modify setup.py to disable the
        exception if the code has been ported)

        """)

try:
    import PyQt4
except ImportError:
    print("""

    PyQt4 is not available and setuptools is unable to install it from Pypi.
    Please install PyQt4 from distribution package or from source and try again.

    """)
    raise

setup(
    name='eilat-web-browser',
    version='1.5.2',
    description='QTWebkit based web browser',
    long_description="""

    Keyboard driven, security and privacy focused web browser build in PyQt4's
    webkit engine.

    Features:

    * simple source code, focused on promoting auditing
    * Isolation of instances for facebook, google, twitter; configurable
      for more sites
    * Console logging of resources actually retrieved and cookies set or
      attempted
    * hjkl, ^j, ^h, etc. keyboard navigation

    Install:

    First install PyQt4 for Python 3 by whatever means result more appropiate;
    recommended inside a pyvenv. Then do `pip install eilat-web-browser`. Pip
    will not install PyQt, but will install all the other dependences.

    Quick usage notes:

    * facebook, twitter, google will be blacklisted unless they are the first
      URL visited on a tab (and then the tab will hold to that site only)
    * `^t` creates a new tab
    * `Ctrl+Space` toggles the status bar
    * `g` starts an in-page search; `escape` in the search frame closes it
    * javascript is off by default; to enable one-tab-only, press `q` and reload
      with F5 or `r`

    Read `README.md` and the wiki (https://github.com/jsoffer/eilat/wiki) for
    lots of details - there's a lot of non obvious functionality that requires
    a bit of reading, e.g. modal keys or navigating through isolated tabs

    """,
    url='http://github.com/jsoffer/eilat',
    author='<NAME>',
    author_email='<EMAIL>',
    license='BSD',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: X11 Applications :: Qt',
        'Intended Audience :: End Users/Desktop',
        'License :: OSI Approved :: BSD License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Browsers'
    ],
    keywords='TODO keywords',
    packages=['eilat'],
    scripts=['bin/eilat'],
    #install_requires=['PyQt4', 'tldextract', 'colorama'],
    install_requires=['tldextract', 'colorama', 'PyYAML'],
    include_package_data=True
)<commit_msg>documentation<commit_after>from setuptools import setup

from sys import version_info
if version_info < (3, 0):
    raise RuntimeError("""
        Using python 2.x? 3.x required (modify setup.py to disable the
        exception if the code has been ported)

        """)

try:
    import PyQt4
except ImportError:
    print("""

    PyQt4 is not available and setuptools is unable to install it from Pypi.
    Please install PyQt4 from distribution package or from source and try again.

    """)
    raise

setup(
    name='eilat-web-browser',
    version='1.5.2',
    description='QTWebkit based web browser',
    long_description="""

    Keyboard driven, security and privacy focused web browser build in PyQt4's
    webkit engine.

    Features:

    * simple source code, focused on promoting auditing
    * Isolation of instances for facebook, google, twitter; configurable
      for more sites
    * Console logging of resources actually retrieved and cookies set or
      attempted
    * hjkl, ^j, ^h, etc. keyboard navigation

    Install:

    First install PyQt4 for Python 3 by whatever means result more appropiate;
    using a pyvenv is recommended. Then do `pip install eilat-web-browser`. Pip
    will not install PyQt, but will install all the other dependences.

    Quick usage notes:

    * facebook, twitter, google will be blacklisted unless they are the first
      URL visited on a tab (and then the tab will hold to that site only)
    * `^t` creates a new tab
    * `Ctrl+Space` toggles the status bar
    * `g` starts an in-page search; `escape` in the search frame closes it
    * javascript is off by default; to enable one-tab-only, press `q` and reload
      with F5 or `r`

    Read `README.md` and the wiki (https://github.com/jsoffer/eilat/wiki) for
    lots of details - there's a lot of non obvious functionality that requires
    a bit of reading, e.g. modal keys or navigating through isolated tabs

    """,
    url='http://github.com/jsoffer/eilat',
    author='<NAME>',
    author_email='<EMAIL>',
    license='BSD',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: X11 Applications :: Qt',
        'Intended Audience :: End Users/Desktop',
        'License :: OSI Approved :: BSD License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Browsers'
    ],
    keywords='TODO keywords',
    packages=['eilat'],
    scripts=['bin/eilat'],
    install_requires=['tldextract', 'colorama', 'PyYAML']
)
{'fraction_non_alphanumeric': 0.09566037735849056, 'fraction_numerical': 0.0069811320754716985, 'mean_word_length': 2.9857142857142858, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '387624', 'n_tokens_mistral': 1580, 'n_tokens_neox': 1491, 'n_words': 595}