Skip to content

Commit 43fa67e

Browse files
committed
Updated setup.py installers to work with Python Eggs.
1 parent 7b989b2 commit 43fa67e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

cefpython/cef3/linux/installer/setup.py.template

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Overwrite distutils.dist.Distribution.is_pure()
2+
# to return False, so that Python Wheel doesn't set
3+
# "none" platform tag.
4+
import distutils.dist
5+
def is_pure(self):
6+
return False
7+
distutils.dist.Distribution.is_pure = is_pure
8+
19
from setuptools import setup
210
from setuptools.command.install import install as _install
311
import sys

cefpython/cef3/windows/installer/setup.py.template

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Overwrite distutils.dist.Distribution.is_pure()
2+
# to return False, so that Python Wheel doesn't set
3+
# "none" platform tag.
4+
import distutils.dist
5+
def is_pure(self):
6+
return False
7+
distutils.dist.Distribution.is_pure = is_pure
8+
19
from setuptools import setup
210
from setuptools.command.install import install as _install
311
import sys

0 commit comments

Comments
 (0)