Permalink
Browse files

Merge e3da10e into 4757cd6

  • Loading branch information...
hugovk committed Nov 14, 2017
2 parents 4757cd6 + e3da10e commit f4350464673e33a570e25c859ca29bc4ddb0489e
Showing with 17 additions and 4 deletions.
  1. +17 −4 setup.py
View
@@ -8,22 +8,34 @@
# Your cheese is so fresh most people think it's a cream: Mascarpone
# ------------------------------
from __future__ import print_function
import glob
import os
import platform as plat
import re
import struct
import sys
import subprocess
import sys
import warnings
from distutils import ccompiler, sysconfig
from distutils.command.build_ext import build_ext
from distutils import sysconfig, ccompiler
from setuptools import Extension, setup, find_packages
from setuptools import Extension, find_packages, setup
# monkey patch import hook. Even though flake8 says it's not used, it is.
# comment this out to disable multi threaded builds.
import mp_compile
if sys.platform == "win32" and sys.version_info >= (3, 7):
warnings.warn(
"Pillow does not yet support Python {}.{} and does not yet provide "
"prebuilt Windows binaries. We do not recommend building from "
"source on Windows.".format(sys.version_info.major,
sys.version_info.minor),
RuntimeWarning)
_IMAGING = ("decode", "encode", "map", "display", "outline", "path")
_LIB_IMAGING = (
@@ -750,6 +762,7 @@ def add_multiarch_paths(self):
def debug_build():
return hasattr(sys, 'gettotalrefcount')
try:
setup(name=NAME,
version=PILLOW_VERSION,

0 comments on commit f435046

Please sign in to comment.