<commit_before>import re
import ast
from setuptools import setup

with open('README.md', 'r') as f:
    long_description = f.read()


# This does not work as the dependencies imported are most
# likely just about to be installed :/
# from spotdl import __version__

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

with open('spotdl.py', 'r') as f:
    version = str(ast.literal_eval(_version_re.search(f.read()).group(1)))

setup(
    # 'spotify-downloader' was already taken :/
    name='spotdl',
    py_modules=['spotdl'],
    # Tests are included automatically:
    # https://docs.python.org/3.6/distutils/sourcedist.html#specifying-the-files-to-distribute
    packages=['core'],
    version=version,
    install_requires=[
        'pathlib >= 1.0.1',
        'youtube_dl >= 2017.5.1',
        'pafy >= 0.5.3.1',
        'spotipy >= 2.4.4',
        'mutagen >= 1.37',
        'beautifulsoup4 >= 4.6.0',
        'unicode-slugify >= 0.1.3',
        'titlecase >= 0.10.0',
        'logzero >= 1.3.1',
        'lyricwikia >= 0.1.8',
        'PyYAML >= 3.12'
    ],
    description='Download songs from YouTube using Spotify song URLs or playlists with albumart and meta-tags.',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='<NAME> and the spotify-downloader contributors',
    author_email='<EMAIL>',
    license='MIT',
    url='https://github.com/ritiek/spotify-downloader',
    download_url='https://pypi.org/project/spotify-downloader/',
    keywords=['spotify', 'downloader', 'download', 'music', 'youtube', 'mp3', 'album', 'metadata'],
    classifiers=[
        'Development Status :: 4 - Beta',<commit_msg>Add python version check in setup.py (#268)<commit_after>import re
import ast

from setuptools import setup

with open('README.md', 'r') as f:
    long_description = f.read()


# This does not work as the dependencies imported are most
# likely just about to be installed :/
# from spotdl import __version__

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

with open('spotdl.py', 'r') as f:
    version = str(ast.literal_eval(_version_re.search(f.read()).group(1)))

setup(
    # 'spotify-downloader' was already taken :/
    name='spotdl',
    py_modules=['spotdl'],
    # Tests are included automatically:
    # https://docs.python.org/3.6/distutils/sourcedist.html#specifying-the-files-to-distribute
    packages=['core'],
    version=version,
    install_requires=[
        'pathlib >= 1.0.1',
        'youtube_dl >= 2017.5.1',
        'pafy >= 0.5.3.1',
        'spotipy >= 2.4.4',
        'mutagen >= 1.37',
        'beautifulsoup4 >= 4.6.0',
        'unicode-slugify >= 0.1.3',
        'titlecase >= 0.10.0',
        'logzero >= 1.3.1',
        'lyricwikia >= 0.1.8',
        'PyYAML >= 3.12'
    ],
    description='Download songs from YouTube using Spotify song URLs or playlists with albumart and meta-tags.',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='<NAME> and the spotify-downloader contributors',
    author_email='<EMAIL>',
    license='MIT',
    python_require='>=3.4',
    url='https://github.com/ritiek/spotify-downloader',
    download_url='https://pypi.org/project/spotify-downloader/',
    keywords=['spotify', 'downloader', 'download', 'music', 'youtube', 'mp3', 'album', 'metadata'],
    classifiers=[
        'Development Status :: 4 - Beta',
{'fraction_non_alphanumeric': 0.16250367322950338, 'fraction_numerical': 0.02732882750514252, 'mean_word_length': 3.218091697645601, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 30, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7329609', 'n_tokens_mistral': 1198, 'n_tokens_neox': 1133, 'n_words': 244}