Fix msvc quoting for py38 per comment on #5
This commit is contained in:
parent
acf1888bba
commit
6b1ceca0ba
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -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'))]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue