[Fasttran-checkins] fasttran setup.py,1.2,1.3
Status: Alpha
Brought to you by:
a1s
From: alexander s. <a1...@us...> - 2007-02-17 07:53:58
|
Update of /cvsroot/fasttran/fasttran In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv25732 Modified Files: setup.py Log Message: include docs Index: setup.py =================================================================== RCS file: /cvsroot/fasttran/fasttran/setup.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.py 14 Feb 2007 08:32:35 -0000 1.2 --- setup.py 17 Feb 2007 07:53:53 -0000 1.3 *************** *** 6,9 **** --- 6,10 ---- # FIXME: generate_docs() must be reimplemented as a distutils command <als> """History (most recent first): + 17-feb-2007 [als] include docs 14-feb-2007 [als] added long_description; generate HTML documents *************** *** 25,28 **** --- 26,30 ---- DATA_DIR = "Lib\\site-packages\\fasttran" + DOC_DIR = "Lib\\site-packages\\fasttran\\doc" DESCRIPTION = """\ *************** *** 52,59 **** """Generate HTML document from RST source ! Parameters: ! source: source (rst) file name ! target: target (html) file name ! force: if set, generate html even if source file is not newer than target --- 54,65 ---- """Generate HTML document from RST source ! @type source: C{str} ! @param source: source (rst) file name ! ! @type target: C{str} ! @param target: target (html) file name ! ! @type force: C{bool} ! @param force: if set, generate html even if source file is not newer than target *************** *** 116,122 **** scripts=["scripts/fasttran", "scripts/fasttran.bat"], console=["scripts/fasttran"], ! data_files=[(DATA_DIR, glob.glob("fasttran/*.txt") ! + glob.glob("fasttran/*.srx") ! + glob.glob("fasttran/*.wex"))], options={"py2exe": { "optimize": 2, --- 122,132 ---- scripts=["scripts/fasttran", "scripts/fasttran.bat"], console=["scripts/fasttran"], ! data_files=[ ! (DATA_DIR, glob.glob("fasttran/*.txt") ! + glob.glob("fasttran/*.srx") ! + glob.glob("fasttran/*.wex")), ! (DOC_DIR, ["README", "CHANGES", "LICENSE"] ! + glob.glob("doc/*.html")), ! ], options={"py2exe": { "optimize": 2, |