Skip to content

Commit

Permalink
Supressed the error message when installing wxPython from the web.
Browse files Browse the repository at this point in the history
  • Loading branch information
esitarski committed Jul 11, 2024
1 parent 212202d commit 38a5fed
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions crossmgr-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,11 @@ def env_setup( full=False ):
sys.exit( -1 )

# Instally wxPyhon from the extras url.
# Supress stderr so we don't get the DEPRECATED message in the download.
subprocess.check_output( [
python_exe, '-m',
'pip', 'install', '--upgrade', '-f', url, 'wxPython',
] )
], stderr=subprocess.DEVNULL )
else:
# If Windows or Mac, install mostly everything from regular pypi.
with open('requirements.txt', encoding='utf8') as f_in, open('requirements_os.txt', 'w', encoding='utf8') as f_out:
Expand Down Expand Up @@ -319,15 +320,18 @@ def install( full=False ):
make_shortcuts( python_exe )

print( "CrossMgr updated." )
print( "See the desktop shortcuts which allow you to run the CrossMgr executables." )
print( "Check your desktop for shortcuts which allow you to run the CrossMgr applications." )
print()
print( "Additionally, there are scripts which will can run the executables." )
print( "Additionally, there are scripts which will can run the programs." )
bin_dir = os.path.abspath( os.path.join( '.', src_dir, 'bin') )
print( f"These can be found in {bin_dir}." )
print()
print( 'Use these scripts to configure auto-launch for CrossMgr file extensions.' )
print()
print( 'Thank you for using CrossMgr!' )
print( 'Information about the CrossMgr suite of applications can be found at: https://github.com/esitarski/CrossMgr')
print( 'The CrossMgr users group can be found at: https://groups.google.com/g/crossmgrsoftware' )
print()
print( 'Thank you for using CrossMgr.' )

def uninstall():
install_dir = get_install_dir()
Expand Down

0 comments on commit 38a5fed

Please sign in to comment.