<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys

import connected_accounts

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

version = connected_accounts.__version__

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    print("You probably want to also tag the version now:")
    print("  git tag -a %s -m 'version %s'" % (version, version))
    print("  git push --tags")
    sys.exit()

readme = open('README.rst').read()

setup(
    name='django-connected',
    version=version,
    description="""Connect your Django powered sites to social networks and other online services.""",
    long_description=readme,
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/mishbahr/django-connected',
    packages=[
        'connected_accounts',
    ],
    include_package_data=True,
    install_requires=[
        'django-appconf',
        'jsonfield',
        'requests>=1.0',
        'requests_oauthlib>=0.3.0',
    ],
    license="BSD",
    zip_safe=False,
    keywords='django-connected, social auth, oauth, oauth2, facebook, twitter, google',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
    ],
)
<commit_msg>Setup command for tagging on GitHub.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys

import connected_accounts

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

version = connected_accounts.__version__

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    sys.exit()

if sys.argv[-1] == 'tag':
    print('Tagging the version on github:')
    os.system('git tag -a %s -m "version %s"' % (version, version))
    os.system('git push --tags')
    sys.exit()

readme = open('README.rst').read()

setup(
    name='django-connected',
    version=version,
    description="""Connect your Django powered sites to social networks and other online services.""",
    long_description=readme,
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/mishbahr/django-connected',
    packages=[
        'connected_accounts',
    ],
    include_package_data=True,
    install_requires=[
        'django-appconf',
        'jsonfield',
        'requests>=1.0',
        'requests_oauthlib>=0.3.0',
    ],
    license="BSD",
    zip_safe=False,
    keywords='django-connected, social auth, oauth, oauth2, facebook, twitter, google',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
    ],
)

{'fraction_non_alphanumeric': 0.1450516986706056, 'fraction_numerical': 0.0103397341211226, 'mean_word_length': 2.937209302325581, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '690031', 'n_tokens_mistral': 1042, 'n_tokens_neox': 1004, 'n_words': 265}