don't support py2.6
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
- "3.2"
|
||||
- "3.3"
|
||||
|
||||
4
setup.py
4
setup.py
@@ -24,8 +24,8 @@ with open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
|
||||
|
||||
# http://stackoverflow.com/a/19719657/1062499
|
||||
INSTALL_REQUIRES = []
|
||||
if sys.version_info[0] == 2:
|
||||
INSTALL_REQUIRES.append('future')
|
||||
if sys.version_info.major == 2:
|
||||
INSTALL_REQUIRES.append('future >= 0.14')
|
||||
|
||||
setup(
|
||||
name='pytimeparse',
|
||||
|
||||
Reference in New Issue
Block a user