mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-19 04:21:14 +00:00
35 lines
1.2 KiB
Python
Executable File
35 lines
1.2 KiB
Python
Executable File
#!/usr/bin/env python
|
|
from setuptools import setup, find_packages
|
|
import sys
|
|
|
|
if sys.version_info < (2, 7):
|
|
print('thefuck requires Python version 2.7 or later' +
|
|
' ({}.{} detected).'.format(*sys.version_info[:2]))
|
|
sys.exit(-1)
|
|
elif (3, 0) < sys.version_info < (3, 3):
|
|
print('thefuck requires Python version 3.3 or later' +
|
|
' ({}.{} detected).'.format(*sys.version_info[:2]))
|
|
sys.exit(-1)
|
|
|
|
VERSION = '2.1'
|
|
|
|
install_requires = ['psutil', 'colorama', 'six']
|
|
extras_require = {':python_version<"3.4"': ['pathlib']}
|
|
|
|
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=install_requires,
|
|
extras_require=extras_require,
|
|
entry_points={'console_scripts': [
|
|
'thefuck = thefuck.main:main',
|
|
'thefuck-alias = thefuck.main:print_alias']})
|