[pygr-notify] [pygr commit] r24 - wiki

codesite-noreply at google.com codesite-noreply at google.com
Wed Jun 4 09:19:11 PDT 2008


Author: titus at idyll.org
Date: Wed Jun  4 09:18:43 2008
New Revision: 24

Added:
   wiki/BuildingAndTestingPygr.wiki

Log:
Created wiki page through web user interface.

Added: wiki/BuildingAndTestingPygr.wiki
==============================================================================
--- (empty file)
+++ wiki/BuildingAndTestingPygr.wiki	Wed Jun  4 09:18:43 2008
@@ -0,0 +1,20 @@
+#summary Building pygr and running the tests
+
+(Short notes for now -- CTB)
+
+{{{
+python setup.py build
+}}}
+
+makes an arch-specific directory in build, e.g. 
build/lib.linux-i686-2.5, that must then be put in sys.path.
+
+Alternatively,
+
+{{{
+python setup.py build_ext -i
+}}}
+
+builds the pygr extensions "in place" so that you can 'import pygr' in 
the top-level working
+directory.
+
+To run the tests, 'cd tests && python protest.py'.  protest will fail 
out if it cannot import pygr from within the working directory, to 
avoid running the tests on the installed version.
\ No newline at end of file



More information about the pygr-notify mailing list