#!/usr/bin/env python import sys from setuptools import setup, find_packages if sys.version_info[0] == 2 and sys.version_info[1] < 7: print( 'thefuck requires Python version 2.7 or later' + ' ({}.{} detected).'.format(*sys.version_info[:2])) sys.exit(-1) if sys.version_info[0] == 3 and sys.version_info[1] < 3: print( 'thefuck requires Python version 3.3 or later' + ' ({}.{} detected).'.format(*sys.version_info[:2])) sys.exit(-1) VERSION = '1.46' setup(name='thefuck', version=VERSION, description="Magnificent app which corrects your previous console command", author='Vladimir Iakovlev', author_email='nvbn.rm@gmail.com', url='https://github.com/nvbn/thefuck', license='MIT', packages=find_packages(exclude=['ez_setup', 'examples', 'tests', 'release']), include_package_data=True, zip_safe=False, install_requires=['pathlib', 'psutil', 'colorama', 'six'], entry_points={'console_scripts': [ 'thefuck = thefuck.main:main', 'thefuck-alias = thefuck.shells:app_alias']})