Skip to content

Commit 0c7f3d3

Browse files
committed
Enable building universal wheels
Remove the use of execfile() in setup.py so it can run under python 3. Set the flag in setup.cfg to allow universal wheels.
1 parent 6205177 commit 0c7f3d3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ cover-html-dir = coverage/
1212
source-dir = doc/
1313
build-dir = doc/build/
1414

15+
[wheel]
16+
universal = 1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from setuptools import find_packages, setup
33

44
__version__ = None
5-
execfile('happybase/_version.py')
5+
exec(open('happybase/_version.py', 'r').read())
66

77

88
def get_file_contents(filename):

0 commit comments

Comments
 (0)