membrede wrote: > > > Hello, > > Please see below what I get: > > $ make prepare > /bin/sh: python: command not found > /bin/sh: python: command not found > "python" tools/pygettext. py --output-dir i18n.in taskcoachlib > /bin/sh: python: command not found > make: *** [i18n.in/messages. pot] Error 127 > > $ make dot epydoc > /bin/sh: python: command not found > /bin/sh: python: command not found > "python" dot.py taskcoachlib/ gui/viewer > dot.out/viewer. dot > /bin/sh: python: command not found > make: *** [dot] Error 127 > > I think I should add some alias because there is no python file > anywhere,... but I don't know which ones. > (This is the first time I use cygwin) >
Hello. Open cmd.exe, enter "python". Does it find and run python? If not you need to install python and make sure that the location of python.exe is in the PATH environment variable. (Also, in this case this has nothing to do with cygwin.) By the way, to set up and run TaskCoach neither cygwin nor make are required. Also see the thread here: http://www.mail-archive.com/[email protected]/msg00372.html (The thread is missing one email from me, probably because of the attachment of the python script to set up TaskCoach after checkout.) Here are the instructions by Jerome: ### IIRC, what you need to do after a fresh checkout (assuming you're running Windows and don't have GNU make intalled) is something along the lines of cd icons.in python make.py cd ..\templates.in python make.py cd ..\i18n.in python make.py cd ..\icons.in python make.py After that, you should be able to start Task Coach by typing python taskcoach.py in the top directory, assumming you have all the dependencies installed (only win32all IIRC). Of course, if you have GNU make in your path, it's as simple as make icons i18n python taskcoach.py ### With best regards Clemens Anhuth
#!/usr/bin/env python ''' Task Coach - Your friendly task manager Copyright (C) 2004-2008 Frank Niessink <[email protected]> Task Coach is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Task Coach is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ''' import subprocess import sys def x(): # exec make.py in ./icons.in exec(["python", "make.py"], "./icons.in") # exec make.py in ./i18n.in exec(["python", "make.py"], "./i18n.in") # exec make.py in ./templates.in exec(["python", "make.py"], "./templates.in") def exec(cmdAndArgs, cwd): p = subprocess.Popen( stdout=sys.stdout, stderr=sys.stderr, cwd=cwd, args=cmdAndArgs) sys.stdout.flush() sys.stderr.flush() p.wait() if __name__ == '__main__': x()
