Ensure the SERVER_MODE changes don't break the PIP build.

This commit is contained in:
Dave Page 2017-08-25 12:17:47 +01:00
parent 5c016f0993
commit 8579909558

View File

@ -13,6 +13,14 @@ import imp
from setuptools import setup
from codecs import open
if sys.version_info[0] >= 3:
import builtins
else:
import __builtin__ as builtins
# Ensure the global server mode is set.
builtins.SERVER_MODE = None
"""This script helps to generate PIP packages"""
# Get the requirements list for the current version of Python