mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
Modified code to conform to python coding standard
Change indention from 2 spaces to 4 spaces with recent changes.
This commit is contained in:
parent
68ccac1766
commit
f2c0a01db1
12
setup.py
12
setup.py
|
@ -158,14 +158,14 @@ class psycopg_build_ext(build_ext):
|
|||
sysVer = sys.version_info[:2]
|
||||
if self.get_compiler().lower().startswith('msvc') and \
|
||||
sysVer in ((2,6), (2,7)):
|
||||
sources = list(ext.sources)
|
||||
sources = list(ext.sources)
|
||||
|
||||
ext_path = self.get_ext_fullpath(ext.name)
|
||||
depends = sources + ext.depends
|
||||
if not (self.force or newer_group(depends, ext_path, 'newer')):
|
||||
return
|
||||
ext_path = self.get_ext_fullpath(ext.name)
|
||||
depends = sources + ext.depends
|
||||
if not (self.force or newer_group(depends, ext_path, 'newer')):
|
||||
return
|
||||
|
||||
self.compiler.spawn(['mt.exe', '-nologo', '-manifest',
|
||||
self.compiler.spawn(['mt.exe', '-nologo', '-manifest',
|
||||
os.path.join('psycopg', '_psycopg.vc9.manifest'),
|
||||
'-outputresource:%s;2' % (os.path.join(self.build_lib, 'psycopg2', '_psycopg.pyd'))])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user