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:
@@ -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']})
|
||||
|
||||
Reference in New Issue
Block a user