mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 18:33:44 +03:00
Setup build environment only before building
This commit is contained in:
parent
1178501aaf
commit
b1078b1b92
|
@ -35,7 +35,6 @@ def main():
|
||||||
opt = parse_cmdline()
|
opt = parse_cmdline()
|
||||||
logger.setLevel(opt.loglevel)
|
logger.setLevel(opt.loglevel)
|
||||||
|
|
||||||
setup_env()
|
|
||||||
cmd = globals()[STEP_PREFIX + opt.step]
|
cmd = globals()[STEP_PREFIX + opt.step]
|
||||||
cmd()
|
cmd()
|
||||||
|
|
||||||
|
@ -109,6 +108,7 @@ def step_install():
|
||||||
|
|
||||||
|
|
||||||
def step_build_script():
|
def step_build_script():
|
||||||
|
setup_env()
|
||||||
build_openssl()
|
build_openssl()
|
||||||
build_libpq()
|
build_libpq()
|
||||||
build_psycopg()
|
build_psycopg()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user