Skip to content

Commit 528d124

Browse files
author
elbuo8
committed
Version compatible with py3
1 parent 7a1daa1 commit 528d124

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import sys
22
from setuptools import setup, find_packages
33

4-
execfile('sendgrid/version.py')
4+
__version__ = None
5+
with open('sendgrid/version.py') as f:
6+
exec(f.read())
57

68

79
def getRequires():

0 commit comments

Comments
 (0)