Skip to content

etnestad/CDSController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Control Condor dedicated server with the awesome power of Python!

Install Wine:

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | apt-key add -
apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
apt update
apt install -y --no-install-recommends --no-install-suggests winehq-stable winetricks

Initialize wineprefix and install required Python libraries:

wget https://www.python.org/ftp/python/3.7.5/python-3.7.5.exe
WINEDLLOVERRIDES="mscoree,mshtml=" WINEARCH=win32 wineboot --init
wine python-3.7.5.exe /quiet InstallAllUsers=1 PrependPath=1
wine pip install pywinauto pillow
wine pip uninstall -y comtypes

Install Condor:

wine <condorinstaller>
wine <update>
...

The scripts:

start.py is run from shell, which in turn starts c:\cdsc\dscontrol.py inside wine. C:\cdsc folder should be a symbolic link to a folder containg the scripts.

About

Python automation of Condor dedicated server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages