Fix msvc quoting for py38 per comment on #5

This commit is contained in:
Charles Leifer 2022-08-02 21:42:40 -05:00
parent acf1888bba
commit 6b1ceca0ba

View file

@ -32,7 +32,7 @@ if sys.platform == "darwin":
def quote_argument(arg): def quote_argument(arg):
q = '\\"' if sys.platform == 'win32' and sys.version_info < (3, 9) else '"' q = '\\"' if sys.platform == 'win32' and sys.version_info < (3, 8) else '"'
return q + arg + q return q + arg + q
define_macros = [('MODULE_NAME', quote_argument(PACKAGE_NAME + '.dbapi2'))] define_macros = [('MODULE_NAME', quote_argument(PACKAGE_NAME + '.dbapi2'))]