Fix wheel dependencies for Python 2
diff --git a/.travis.yml b/.travis.yml
index c14b697a1..b00823a22 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,6 @@ python:
   - "3.3"
   - "2.7"
 install:
-  - python setup.py develop
   - pip install -r requirements.txt
+  - python setup.py develop
 script: py.test -v
diff --git a/requirements.txt b/requirements.txt
index 78b43ee1f..3e46cdce5 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,3 +2,4 @@ pytest
 mock
 pytest-mock
 wheel
+setuptools>=17.1
diff --git a/setup.py b/setup.py
index be0d803bf..866731083 100755
--- a/setup.py
+++ b/setup.py
@@ -11,12 +11,10 @@
           ' ({}.{} detected).'.format(*sys.version_info[:2]))
     sys.exit(-1)
 
-VERSION = '1.49'
+VERSION = '1.49.1'
 
 install_requires = ['psutil', 'colorama', 'six']
-
-if sys.version_info < (3, 4):
-    install_requires.append('pathlib')
+extras_require = {':python_version<"3.4"': ['pathlib']}
 
 setup(name='thefuck',
       version=VERSION,
@@ -30,6 +28,7 @@
       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.shells:app_alias']})

Fix issues like #287 where `pathlib` wasn't installed on Python 2
