Skip to content

Commit c62e421

Browse files
committed
Merge pull request #100 from dahlia/3_3_2
Upgrade libsass to 3.3.2 and require VS2015
2 parents 3163490 + b5b2620 commit c62e421

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@
5252
int(get_build_version() * 10) % 10
5353
)
5454
try:
55-
os.environ[vscomntools_env] = os.environ['VS120COMNTOOLS']
55+
os.environ[vscomntools_env] = os.environ['VS140COMNTOOLS']
5656
except KeyError:
57-
distutils.log.warn('You probably need Visual Studio 2013 (12.0) '
57+
distutils.log.warn('You probably need Visual Studio 2015 (14.0) '
5858
'or higher')
5959
from distutils import msvccompiler, msvc9compiler
60-
if msvccompiler.get_build_version() < 12.0:
61-
msvccompiler.get_build_version = lambda: 12.0
62-
if get_build_version() < 12.0:
63-
msvc9compiler.get_build_version = lambda: 12.0
64-
msvc9compiler.VERSION = 12.0
60+
if msvccompiler.get_build_version() < 14.0:
61+
msvccompiler.get_build_version = lambda: 14.0
62+
if get_build_version() < 14.0:
63+
msvc9compiler.get_build_version = lambda: 14.0
64+
msvc9compiler.VERSION = 14.0
6565
# Workaround http://bugs.python.org/issue4431 under Python <= 2.6
6666
if sys.version_info < (2, 7):
6767
def spawn(self, cmd):

0 commit comments

Comments
 (0)