Skip to content

Commit 6010059

Browse files
committed
Return 2.7 version
1 parent 5f0e02b commit 6010059

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: python
22
python:
3+
- "2.7"
34
- "3.6"
45
- "3.7"
56
- "3.8"
@@ -13,6 +14,8 @@ matrix:
1314
allow_failures:
1415
- python: "nightly"
1516
include:
17+
- python: "2.7"
18+
dist: trusty
1619
- python: "3.9-dev"
1720
dist: focal
1821

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_version(rel_path):
3737
packages=['upcloud_api', 'upcloud_api.cloud_manager'],
3838
download_url='https://github.com/UpCloudLtd/upcloud-python-api/archive/%s.tar.gz' % version,
3939
license='MIT',
40-
python_requires='>3.5',
40+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*',
4141
install_requires=[
4242
'requests>=2.24.0',
4343
'six==1.15.0'

0 commit comments

Comments
 (0)