Skip to content

Commit 20ed714

Browse files
committed
updating code to be compatible with python3
1 parent e3744fb commit 20ed714

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 1.0.0 (2022-04-21)
2+
- Update to Python 3
13
## 0.1.1 (2016-05-24)
24
- Update to be compatible with the latest version of kayvee
35

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.1
1+
1.0.0

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
kayvee==2.0.2
2+
future>=0.18.2

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22

3+
from builtins import str
34
import os
45
import sys
56
from setuptools import setup, find_packages
@@ -14,9 +15,7 @@
1415
with open(os.path.join(here, 'VERSION')) as f:
1516
VERSION = f.read().strip()
1617

17-
pr_kwargs = {}
18-
if pkg_resources.get_distribution("pip").version >= '6.0':
19-
pr_kwargs = {"session": False}
18+
pr_kwargs = {"session": False}
2019

2120
install_reqs = parse_requirements(
2221
os.path.join(
@@ -31,7 +30,7 @@
3130
author_email='tech-notify@clever.com',
3231
url='https://github.com/Clever/discovery-python/',
3332
packages=['discovery'],
34-
install_requires=[str(ir.req) for ir in install_reqs],
33+
install_requires=[str(ir.requirement) for ir in install_reqs],
3534
setup_requires=['nose>=1.0'],
3635
test_suite='nose.collector',
3736
long_description="""\

0 commit comments

Comments
 (0)