[pypy-svn] rev 1510 - in pypy/trunk/doc/funding: . makedoc
tismer at codespeak.net
tismer at codespeak.net
Wed Oct 1 19:52:07 CEST 2003
Author: tismer
Date: Wed Oct 1 19:52:05 2003
New Revision: 1510
Added:
pypy/trunk/doc/funding/makedoc/prep_part_b.sxw (contents, props changed)
Modified:
pypy/trunk/doc/funding/B0.0_preamble.txt
pypy/trunk/doc/funding/makedoc/mkdoclist.py
pypy/trunk/doc/funding/makedoc/part_b.sxw
pypy/trunk/doc/funding/makedoc/zipmod.py
Log:
fighting the numbering
Modified: pypy/trunk/doc/funding/B0.0_preamble.txt
==============================================================================
--- pypy/trunk/doc/funding/B0.0_preamble.txt (original)
+++ pypy/trunk/doc/funding/B0.0_preamble.txt Wed Oct 1 19:52:05 2003
@@ -58,91 +58,27 @@
List of participants
+================ ===================== =======================
Participant no. Participant name Participant short name
+================ ===================== =======================
1 (coordinator)
+---------------- --------------------- -----------------------
2
+---------------- --------------------- -----------------------
3
+---------------- --------------------- -----------------------
4
+---------------- --------------------- -----------------------
etc
+================ ===================== =======================
Coordinator name
-Coordinator organisation name
-Coordinator email
-Coordinator fax
-
-Contents
-=========
+Coordinator organisation name
-:CONTENTS:
+Coordinator email
-Proposal Summary Page
-=======================
+Coordinator fax
-**Proposal full title:**
-
- The full title of the Proposal is 'Pypy: A flexible, modular,
- self-hosting, next-generation specialising compiler for the
- Open Source Programming Language Python'.
-
-**Proposal acronym:**
-
- The proposal acronym is PYPY.
-
-**Strategic Objectives:**
-
- This proposal directly addresses the Strategic Objective
- IST-2002-2.3.2.3 - 'Open development platforms for software and
- services' of the Second Call of the Information Society
- Technologies Workprogramme. Since this is foundational applied
- research, focusing on fundamental design concepts, it will have
- significant indirect effects wherever the Python programming
- langauge is taught or deployed. It will reduce the current wide
- gap between academic computer science and industrial programming
- tools, thus contributing to European competitiveness and prosperity,
- and enhancing openness and security in the public and private
- sector.
-
-**Proposal abstract:**
-
-:DELETE:BEGIN
-
-copied from Part A
-
-(Actually, we will paste this one INTO Part A)
-
-:DELETE:END
-
-The PyPy project will build a flexible, modular, context-aware
-implementation of the Open Source programming language Python written
-in itself. Python is already a very popular Object-Oriented
-Very-High-Level interpreted programming language.
-
-(FN -- Usage statistics indicate that Python ranks sixth in usage
-world-wide, after Java, Visual Basic, C, C++, and Perl)
-
-But the current state-of-the-Art, both in Python and in Computer
-Languages in general does not best serve the new needs of the creators
-of embedded, networked and distributed software sectors. They have
-long needed a language which was more flexible, easier to reduce to
-its 'bare-bones' for embedding, and which could dynamically
-reconfigure itself and balance loads at the interpreter level.
-Consequently, the PyPy project is a collaboration between academic
-researchers, who have the skill and vision to produce a new runtime
-language architecture for the twenty-first century, SME software and
-service providers, who wish to deploy PyPy in their innovative new
-business ventures, and older established industrial users who would
-like to embed a PyPy application on their ubiquitous products, such as
-home entertainment systems or commercial computer printers.
-
-The project will go through four phases. In the first phase, we will
-build a complete PyPy Interpreter. In the second phase, we will build
-a complete PyPy compiler that compiles itself. While our new
-architecture of Object Spaces can here be considered innovative, this
-two phases can be looked at as a way to only produce a state-of-the-Art
-implementation of the Python programming language. We will go beyond
-this in Phase three, and produce a High-Performance PyPy, which goes
-beyond the State of the Art and particularily addresses our modern
-needs. Finally in Phase four, we will Validate our design choices
-by ....
+.. put this before the TOC
Modified: pypy/trunk/doc/funding/makedoc/mkdoclist.py
==============================================================================
--- pypy/trunk/doc/funding/makedoc/mkdoclist.py (original)
+++ pypy/trunk/doc/funding/makedoc/mkdoclist.py Wed Oct 1 19:52:05 2003
@@ -116,23 +116,31 @@
if name.startswith("wp-") and name.endswith(".asc"):
tempfile(name, "w").write(file(os.path.join("..", name)).read())
+def create_oo_doc():
+ from win32com.client import Dispatch
+ objServiceManager= Dispatch("com.sun.star.ServiceManager")
+ objDesktop= objServiceManager.createInstance("com.sun.star.frame.Desktop")
+ objDocument= objDesktop.loadComponentFromURL(r"file:///D|/pypy/trunk/doc/funding/makedoc/prep_part_b.sxw", "_blank", 0, ())
+ #wonder = objDesktop.loadComponentFromURL(r"macro://./Standard.test_import.build_doc", "_blank", 0, ())
+ prog = r"E:\Programme\OpenOffice.org1.1.0\program\soffice.exe"
+ args = "macro://./Standard.test_import.build_doc"
+ os.system(prog+" "+args)
+ objDocument.close(1) # 1 = give up ownership
+
def make_doc():
build_xref_file()
copy_ascfiles()
names = get_file_list()
make_new_files(names)
make_doc_list(names)
- sys.argv=[sys.argv[0], "--no-xml-declaration"]
- execfile("d:/python22/docutils/tools/buildhtml.py")
- from win32com.client import Dispatch
- objServiceManager= Dispatch("com.sun.star.ServiceManager")
- objDesktop= objServiceManager.createInstance("com.sun.star.frame.Desktop")
- objDocument= objDesktop.loadComponentFromURL(r"file:///D|/pypy/trunk/doc/funding/makedoc/part_b.sxw", "_blank", 0, ())
- return
+ os.system("python d:/python22/docutils/tools/buildhtml.py --no-xml-declaration")
+ #return
+ create_oo_doc()
for name in tempfiles:
os.unlink(name)
if name.endswith(".txt"):
os.unlink(os.path.splitext(name)[0]+".html")
+ os.system("python zipmod.py part_b.sxw")
if __name__ == "__main__":
make_doc()
\ No newline at end of file
Modified: pypy/trunk/doc/funding/makedoc/part_b.sxw
==============================================================================
Binary files. No diff available.
Added: pypy/trunk/doc/funding/makedoc/prep_part_b.sxw
==============================================================================
Binary file. No diff available.
Modified: pypy/trunk/doc/funding/makedoc/zipmod.py
==============================================================================
--- pypy/trunk/doc/funding/makedoc/zipmod.py (original)
+++ pypy/trunk/doc/funding/makedoc/zipmod.py Wed Oct 1 19:52:05 2003
@@ -68,7 +68,9 @@
# rebuild a copy of the original ZIP file from tmp. dir.
name,end = os.path.splitext(docPath)
- newpath = name+'_cp'+end
+ # newpath = name+'_cp'+end
+ # CT do it in place, we are working on a copy anyway
+ newpath = docPath
zip = zipfile.ZipFile(newpath, 'w', zipfile.ZIP_DEFLATED)
for fn in filenames:
destPath = os.path.join(tmp, fn.replace('/',os.sep))
More information about the Pypy-commit
mailing list