Skip to content

Commit 1b2fe3b

Browse files
committed
setup.py: Don't require flake8 to build, only to run tests
1 parent bbdeb66 commit 1b2fe3b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ python:
88

99
script:
1010
- python setup.py build
11+
- pip install flake8 flake8-future-import # matches tests_require in setup.py, a bit hacky
1112
- python setup.py flake8

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ def find_version(*file_paths):
7878
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
7979
'Programming Language :: Python :: 2.7',
8080
],
81-
setup_requires=[
82-
'flake8<3.0.0',
81+
tests_require=[
82+
'flake8>=3.2.0',
8383
'flake8-future-import',
8484
],
8585
install_requires=[

0 commit comments

Comments
 (0)