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:
Matias Kreder
2015-07-04 11:55:28 -03:00
parent cb33c912e5
commit 30082bc9a9
+6 -1
View File
@@ -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']})