@@ -29,8 +29,8 @@ def run(self):
2929 from pathlib2 import Path
3030
3131 ext = self .ext_map ['xmlsec' ]
32- self .debug = os .environ .get ('DEBUG ' , False )
33- self .static = os .environ .get ('STATIC_DEPS ' , False )
32+ self .debug = os .environ .get ('PYXMLSEC_ENABLE_DEBUG ' , False )
33+ self .static = os .environ .get ('PYXMLSEC_STATIC_DEPS ' , False )
3434
3535 if self .static or sys .platform == 'win32' :
3636 self .info ('starting static build on {}' .format (sys .platform ))
@@ -43,7 +43,7 @@ def run(self):
4343 self .build_libs_dir = buildroot / 'libs'
4444 self .build_libs_dir .mkdir (exist_ok = True )
4545
46- self .libs_dir = Path (os .environ .get ('LIBS_DIR ' , 'libs' ))
46+ self .libs_dir = Path (os .environ .get ('PYXMLSEC_LIBS_DIR ' , 'libs' ))
4747 self .libs_dir .mkdir (exist_ok = True )
4848
4949 if sys .platform == 'win32' :
@@ -180,12 +180,12 @@ def prepare_static_build_win(self):
180180 ext .include_dirs = [str (p .absolute ()) for p in includes ]
181181
182182 def prepare_static_build_linux (self ):
183- self .openssl_version = os .environ .get ('OPENSSL_VERSION ' , '1.1.1g' )
184- self .libiconv_version = os .environ .get ('LIBICONV_VERSION ' , '1.16' )
185- self .libxml2_version = os .environ .get ('LIBXML2_VERSION ' , None )
186- self .libxslt_version = os .environ .get ('LIBXLST_VERSION ' , None )
187- self .zlib_version = os .environ .get ('ZLIB_VERSION ' , '1.2.11' )
188- self .xmlsec1_version = os .environ .get ('XMLSEC1_VERSION ' , '1.2.30' )
183+ self .openssl_version = os .environ .get ('PYXMLSEC_OPENSSL_VERSION ' , '1.1.1g' )
184+ self .libiconv_version = os .environ .get ('PYXMLSEC_LIBICONV_VERSION ' , '1.16' )
185+ self .libxml2_version = os .environ .get ('PYXMLSEC_LIBXML2_VERSION ' , None )
186+ self .libxslt_version = os .environ .get ('PYXMLSEC_LIBXLST_VERSION ' , None )
187+ self .zlib_version = os .environ .get ('PYXMLSEC_ZLIB_VERSION ' , '1.2.11' )
188+ self .xmlsec1_version = os .environ .get ('PYXMLSEC_XMLSEC1_VERSION ' , '1.2.30' )
189189
190190 self .info ('Settings:' )
191191 self .info ('{:20} {}' .format ('Lib sources in:' , self .libs_dir .absolute ()))
0 commit comments