1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00
thefuck/setup.py

35 lines
1.1 KiB
Python
Raw Normal View History

2015-07-01 03:07:41 +01:00
#!/usr/bin/env python
import sys
2015-04-08 17:15:49 +01:00
from setuptools import setup, find_packages
2015-07-01 03:07:41 +01:00
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)
2015-04-08 17:15:49 +01:00
2015-06-07 00:24:08 +01:00
VERSION = '1.46'
2015-04-21 21:30:15 +01:00
2015-04-08 17:15:49 +01:00
setup(name='thefuck',
2015-04-21 21:30:15 +01:00
version=VERSION,
2015-04-08 17:19:01 +01:00
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',
2015-04-21 21:30:15 +01:00
packages=find_packages(exclude=['ez_setup', 'examples',
'tests', 'release']),
2015-04-08 17:15:49 +01:00
include_package_data=True,
zip_safe=False,
install_requires=['pathlib', 'psutil', 'colorama', 'six'],
2015-04-08 17:15:49 +01:00
entry_points={'console_scripts': [
2015-05-07 12:32:23 +01:00
'thefuck = thefuck.main:main',
'thefuck-alias = thefuck.shells:app_alias']})