Permalink
Browse files

Issue 182: Installer crash on Windows 7 due to UAC

  • Loading branch information...
1 parent 606b573 commit 9b7799fa7d556d1fb3160ef7e659b96d88b10d37 @mkleehammer committed Jul 11, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 setup.py
View
@@ -65,6 +65,10 @@ def main():
if exists('MANIFEST'):
os.remove('MANIFEST')
+ options = {}
+ if sys.hexversion >= 0x02060000:
+ options['bdist_wininst'] = {'user_access_control' : 'auto'}
+
setup (name = "pyodbc",
version = version_str,
description = "DB API Module for ODBC",
@@ -77,6 +81,8 @@ def main():
ext_modules = [Extension('pyodbc', files, **settings)],
+ options = options,
+
classifiers = ['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',

0 comments on commit 9b7799f

Please sign in to comment.