[Zope-CVS] CVS: PythonNet/src/console - PythonConsole.cs:1.1 makefile:1.1
Brian Lloyd
brian@zope.com
Mon, 14 Jul 2003 15:59:54 -0400
Update of /cvs-repository/PythonNet/src/console
In directory cvs.zope.org:/tmp/cvs-serv4259/src/console
Added Files:
PythonConsole.cs makefile
Log Message:
refactor repository
=== Added File PythonNet/src/console/PythonConsole.cs ===
// PythonConsole.cs - A temporary python.exe wrapper (until we have worked
// out bootstrapping options).
//
// Author: Brian Lloyd <brian@zope.com>
using System;
using Python.Runtime;
public class PythonConsole {
// [STAThread]
public static int Main(string[] args) {
string [] cmd = Environment.GetCommandLineArgs();
PythonInterpreter.Initialize();
return Runtime.Py_Main(cmd.Length, cmd);
}
}
=== Added File PythonNet/src/console/makefile ===
# Makefile
CSC=csc.exe
all: python.exe
python.exe:
$(CSC) /nologo /target:exe /out:../../python.exe \
/reference:../../Python.Runtime.dll /recurse:*.cs
clean:
rm -f ../../python.exe