<commit_before>import re
import ast
from setuptools import setup, find_packages

_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('pgcli/__init__.py', 'rb') as f:
    version = str(ast.literal_eval(_version_re.search(
        f.read().decode('utf-8')).group(1)))

setup(
        name='pgcli',
        author='<NAME>',
        version=version,
        license='LICENSE.txt',
        url='https://github.com/amjith/pgcli',
        packages=find_packages(),
        description='CLI for Postgres. With auto-completion and '
                    'syntax highlighting',
        install_requires=[
            'Click',
            'prompt_toolkit',
            'psycopg2',
            'tabulate',
            'sqlparse',
            ],
        entry_points='''
            [console_scripts]
            pgcli=pgcli.main:cli
        ''',
        classifiers=[
            'License :: OSI Approved :: BSD License',
            'Programming Language :: Python',
            'Programming Language :: Python :: 3'
            ],
        )<commit_msg>Update setup.py to read from the Readme.<commit_after>import re
import ast
from setuptools import setup, find_packages

_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('pgcli/__init__.py', 'rb') as f:
    version = str(ast.literal_eval(_version_re.search(
        f.read().decode('utf-8')).group(1)))

description = 'CLI for Postgres. With auto-completion and syntax highlighting.'


setup(
        name='pgcli',
        author='<NAME>',
        version=version,
        license='LICENSE.txt',
        url='https://github.com/amjith/pgcli',
        packages=find_packages(),
        description=description,
        long_description=open('Readme.rst').read(),
        install_requires=[
            'Click',
            'prompt_toolkit',
            'psycopg2',
            'tabulate',
            'sqlparse',
            ],
        entry_points='''
            [console_scripts]
            pgcli=pgcli.main:cli
        ''',
        classifiers=[
            'Intended Audience :: Developers',
            'License :: OSI Approved :: BSD License',
            'Operating System :: Unix',
            'Programming Language :: Python',
            'Programming Language :: Python :: 2.6',
            'Programming Language :: Python :: 2.7',
            'Programming Language :: Python :: 3',
            'Programming Language :: Python :: 3.3',
            'Programming Language :: Python :: 3.4',
            'Programming Language :: SQL',
            'Topic :: Database',
            'Topic :: Database :: Front-Ends',
            'Topic :: Software Development',
            'Topic :: Software Development :: Libraries :: Python Modules',
            ],
        )
{'fraction_non_alphanumeric': 0.13794365166483719, 'fraction_numerical': 0.005854372484449323, 'mean_word_length': 1.9556756756756757, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1928598', 'n_tokens_mistral': 762, 'n_tokens_neox': 746, 'n_words': 160}