<commit_before>
import os
import sys
from codecs import open
from setuptools import setup, find_packages


version = '0.0.14'


here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()


if sys.argv[-1] == 'publish':
    import sh
    version_label = 'v{}'.format(version)
    sh.git.tag(a=version_label, m=version_label)
    sh.git.push('origin', 'master', '--tags')
    sh.rm('-rf', 'dist', 'build', '*.egg-info')
    sh.python('setup.py', 'sdist', 'bdist_wheel')
    sh.twine('upload', 'dist/*')
    sh.rm('-rf', 'dist', 'build', '*.egg-info')
    sys.exit()


setup(
    name='danube-delta',
    description='Honza Javorek\'s Pelican setup',
    long_description=long_description,
    version=version,
    url='http://github.com/honzajavorek/danube-delta',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    packages=find_packages(),
    install_requires=[
        'pelican',
        'ghp-import',
        'lxml',
        'pillow',
        'python-slugify',
        'click',
        'sh',
        'flake8',
        'markdown',
        'colorama',
        'requests',
    ],
    entry_points={
        'console_scripts': [
            'blog = danube_delta.cli:blog'
        ]
    },
    classifiers=[
        'Environment :: Console',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3 :: Only',
    ],
    keywords='pelican blog',
)
<commit_msg>Manual publishing is redundant.<commit_after>
import os
import sys
from codecs import open
from setuptools import setup, find_packages


version = '0.0.14'


here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()


if sys.argv[-1] == 'publish':
    import sh
    version_label = 'v{}'.format(version)
    sh.git.tag(a=version_label, m=version_label)
    sh.git.push('origin', 'master', '--tags')
    # Publishing to PyPI is on Travis CI.
    sys.exit()


setup(
    name='danube-delta',
    description='Honza Javorek\'s Pelican setup',
    long_description=long_description,
    version=version,
    url='http://github.com/honzajavorek/danube-delta',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    packages=find_packages(),
    install_requires=[
        'pelican',
        'ghp-import',
        'lxml',
        'pillow',
        'python-slugify',
        'click',
        'sh',
        'flake8',
        'markdown',
        'colorama',
        'requests',
    ],
    entry_points={
        'console_scripts': [
            'blog = danube_delta.cli:blog'
        ]
    },
    classifiers=[
        'Environment :: Console',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3 :: Only',
    ],
    keywords='pelican blog',
)

{'fraction_non_alphanumeric': 0.16208530805687205, 'fraction_numerical': 0.005687203791469194, 'mean_word_length': 2.6182857142857143, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '430420', 'n_tokens_mistral': 1050, 'n_tokens_neox': 1031, 'n_words': 211}