<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from setuptools import setup


addthis_init = open("addthis/__init__.py").read()
author = re.search("__author__ = '([^']+)'", addthis_init).group(1)
author_email = re.search("__email__ = '([^']+)'", addthis_init).group(1)
version = re.search("__version__ = '([^']+)'", addthis_init).group(1)


setup(
    name='addthis',
    version=version,
    description='A Python wrapper for the AddThis Analytics API',
    long_description=open('README.rst').read(),
    author=author,
    author_email=author_email,
    url='https://github.com/creafz/python-addthis',
    download_url=
    'https://github.com/creafz/python-addthis/tarball/0.1.1',
    packages=['addthis'],
    package_data={'': ['LICENSE']},
    include_package_data=True,
    install_requires=["requests"],
    license='MIT License',
    test_suite='addthis.tests',<commit_msg>add dynamic generation of download_url link<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from setuptools import setup


addthis_init = open("addthis/__init__.py").read()
author = re.search("__author__ = '([^']+)'", addthis_init).group(1)
author_email = re.search("__email__ = '([^']+)'", addthis_init).group(1)
version = re.search("__version__ = '([^']+)'", addthis_init).group(1)


setup(
    name='addthis',
    version=version,
    description='A Python wrapper for the AddThis Analytics API',
    long_description=open('README.rst').read(),
    author=author,
    author_email=author_email,
    url='https://github.com/creafz/python-addthis',
    download_url=
    'https://github.com/creafz/python-addthis/tarball/{!s}'.format(version),
    packages=['addthis'],
    package_data={'': ['LICENSE']},
    include_package_data=True,
    install_requires=["requests"],
    license='MIT License',
    test_suite='addthis.tests',
{'fraction_non_alphanumeric': 0.18719741796664874, 'fraction_numerical': 0.005917159763313609, 'mean_word_length': 4.794392523364486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '387191', 'n_tokens_mistral': 636, 'n_tokens_neox': 625, 'n_words': 96}