mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
fixed dependency problem, on python 3.4.0 pathlib is included in the python distribution so it must not be included in the requirements for thefuck otherwise it wont run at startup
This commit is contained in:
parent
cb33c912e5
commit
30082bc9a9
7
setup.py
7
setup.py
@ -1,8 +1,13 @@
|
||||
from setuptools import setup, find_packages
|
||||
import sys
|
||||
|
||||
|
||||
VERSION = '1.46'
|
||||
|
||||
deps = ['psutil', 'colorama', 'six']
|
||||
|
||||
if sys.version_info < (3,4):
|
||||
deps.append('pathlib')
|
||||
|
||||
setup(name='thefuck',
|
||||
version=VERSION,
|
||||
@ -15,7 +20,7 @@ setup(name='thefuck',
|
||||
'tests', 'release']),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
install_requires=['pathlib', 'psutil', 'colorama', 'six'],
|
||||
install_requires=deps,
|
||||
entry_points={'console_scripts': [
|
||||
'thefuck = thefuck.main:main',
|
||||
'thefuck-alias = thefuck.shells:app_alias']})
|
||||
|
Loading…
x
Reference in New Issue
Block a user