Skip to content

Commit

Permalink
tagging version 1.1
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://code.matforge.org/fipy/tags/version-1_1@1836 d80e17d7-ff13-0410-a124-85740d801063
  • Loading branch information
guyer committed Jun 5, 2006
2 parents 29d4225 + 32c51e7 commit ba5463f
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 82 deletions.
2 changes: 1 addition & 1 deletion MANIFEST-WINDOWS.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include *.txt

recursive-include examples *.py *.msh *.gz *.txt
include dist/FiPy-1.1a1.win32.exe
include FiPy-*.win32.exe

recursive-include documentation/ *.txt
recursive-include documentation/www/ *.html *.css *.gif *.png
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ include documentation/manual/reference.pdf

recursive-include examples *.py *.msh *.gz
recursive-include fipy *.msh
prune fipy/examples
4 changes: 2 additions & 2 deletions WINDOWS-INSTALLATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Download and run the Pysparse installer.
Step 4: Install |FiPy|
----------------------

http://www.ctcms.nist.gov/fipy/download/FiPy-1.1.win32.tar.gz
http://www.ctcms.nist.gov/fipy/download/FiPy-1.1.win32.zip

Download and unpack the tarball. Run the |FiPy| installer
Download and unpack the zip file. Run the |FiPy| installer
``FiPy-1.1.win32.exe``, which should be in the base FiPy-1.1
directory.

Expand Down
16 changes: 11 additions & 5 deletions documentation/ADMINISTRATA.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,11 @@ Build a windows executable installer::
Combine the windows installer and examples into one tar ball.

$ rm MANIFEST
$ python setup.py sdist --template=MANIFEST-WINDOWS.in --dist-dir=dist-windows --no-defaults
$ set FIPY_VERSION=XXX
$ mv dist-windows/FiPy-${FIPY_VERSION}.tar.gz dist/FiPy-${FIPY_VERSION}.win32.tar.gz
$ ln -s dist/FiPy-${FIPY_VERSION}.win32.exe .
$ python setup.py sdist --template=MANIFEST-WINDOWS.in --dist-dir=dist-windows --no-defaults --formats=zip
$ unlink FiPy-${FIPY_VERSION}.win32.exe
$ mv dist-windows/FiPy-${FIPY_VERSION}.zip dist/FiPy-${FIPY_VERSION}.win32.zip

Upload to the CTCMS website::

Expand All @@ -172,16 +174,20 @@ Upload to the CTCMS website::
when they try to upload erroneous ``\rsrc`` directories. Version 2.6.2
does not have this problem.

`Upload the release to SourceForge`_. You can use, e.g.,::
`Upload the release to SourceForge`_ and to the `MatDL download page`_. You can use, e.g.,::

cvs2cl.pl --branches --tagdates --utc --usermap documentation/UFILE.txt --delta version-1_0a1:HEAD --hide-filenames
$ svn log --revision HEAD:${LASTREV}

to build the ChangeLog.
to build the ChangeLog. You can determine the revision number LASTREV by examining the "Last Changed
Rev:" field given by::

$ svn info http://matdl-osi.org/svn/fipy/tags/version-x_y

Make an announcement to `fipy@nist.gov`_


.. Upload the release to SourceForge: https://sourceforge.net/project/admin/qrs.php?package_id=&group_id=118428
.. MatDL download page: http://matdl-osi.org/fipy/wiki/FiPyFiles
.. fipy@nist.gov: mailto:fipy@nist.gov

==========================================
Expand Down
4 changes: 1 addition & 3 deletions documentation/MAIL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ we encourage you to sign up for the mailing list by sending a
Once you are subscribed, you can post messages to the list simply by
addressing email to mailto:fipy@nist.gov. If you are new to mailing
lists, you may want to read the following resource about asking
questions the smart way:

http://www.catb.org/~esr/faqs/smart-questions.html
effective questions: http://www.catb.org/~esr/faqs/smart-questions.html

List Archive
------------
Expand Down
1 change: 0 additions & 1 deletion documentation/TODOLIST.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Long term Goals
- Get a decent dendritic simulation working. Figure out why out dendrite doesn't look
as cool as Jim's. Why do we have thin little arms and interface splitting?


- Allow some keyword parameters to be passed to the plot() methods of viewers

- Update Mayavi viewers to use TVTK (much better according to Prabhu) instead of PyVTK.
Expand Down
10 changes: 5 additions & 5 deletions documentation/manual/fipy.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%
% FILE: "fipy.tex"
% created: 4/1/04 {2:58:37 PM}
% last update: 5/15/06 {1:57:56 PM}
% last update: 6/5/06 {3:43:23 PM}
% Author: Jonathan Guyer
% E-mail: guyer@nist.gov
% Author: Daniel Wheeler
Expand Down Expand Up @@ -121,6 +121,10 @@ \chapter{Overview}

\input readme

\section{Mailing List}

\input mail

% Installation

\chapter{Installation and Usage}
Expand All @@ -142,10 +146,6 @@ \section{Subversion tags}

\input svn

\section{Mailing List}

\input mail

% Numerical

\chapter{Theoretical and Numerical Background}
Expand Down
2 changes: 1 addition & 1 deletion documentation/www/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<li><a href="download/fipy.pdf">Manual (PDF)</a></li>
<li><a href="download/reference.pdf">Reference (PDF)</a></li>
<li><a
href="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://sourceforge.net/tracker/?group_id=118428">Bugs,
href="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://matdl-osi.org/fipy/report">Bugs,
etc.</a></li>
<li><a href="electrochem.html">Superconformal electrodeposition</a></li>
<li><a href="mail.html">Mailing List</a></li>
Expand Down
119 changes: 56 additions & 63 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
# FILE: "setup.py"
# created: 4/6/04 {1:24:29 PM}
# last update: 6/2/06 {4:20:24 PM}
# last update: 6/5/06 {3:48:26 PM}
# Author: Jonathan Guyer <guyer@nist.gov>
# Author: Daniel Wheeler <daniel.wheeler@nist.gov>
# Author: James Warren <jwarren@nist.gov>
Expand Down Expand Up @@ -218,24 +218,25 @@ def run (self):
f.write('.. |VERSION| replace:: ' + self.distribution.metadata.get_version())
f.close()

mainRestructuredTextFiles = ['INSTALLATION',
'README',
'LICENSE',
'DISCLAIMER',
'examples/README',
'examples/levelSet/electroChem/README']
mainRestructuredTextFiles = {'article':
['INSTALLATION',
'README',
'LICENSE',
'DISCLAIMER',
'examples/README'],
'startlower':
['WINDOWS-INSTALLATION',
'examples/levelSet/electroChem/README']}


secondaryRestructuredTextFiles = ['CREDITS',
'TALKS',
'TODOLIST',
'MAIL',
'SVN',
'EFFICIENCY']

tertiaryRestructuredTextFiles = ['WINDOWS-INSTALLATION',
'documentation/MAIL',
'examples/levelSet/electroChem/README']

secondaryRestructuredTextFiles = {'article':
['CREDITS',
'TALKS',
'TODOLIST',
'SVN',
'EFFICIENCY'],
'startlower':
['MAIL']}

if self.latex:
if self.apis:
Expand Down Expand Up @@ -301,27 +302,23 @@ def run (self):

from utils.includedLaTeXWriter import IncludedLaTeXWriter

self._translateTextFiles(files = mainRestructuredTextFiles,
source_dir = '../..',
writer = IncludedLaTeXWriter(),
settings ={'use_latex_toc': True,
'footnote_references': 'superscript',
'table_style': 'nolines'})

self._translateTextFiles(files = secondaryRestructuredTextFiles,
source_dir = '..',
writer = IncludedLaTeXWriter(),
settings ={'use_latex_toc': True,
'footnote_references': 'superscript',
'table_style': 'booktabs'})

self._translateTextFiles(files = tertiaryRestructuredTextFiles,
source_dir = '../..',
writer = IncludedLaTeXWriter(),
settings ={'use_latex_toc': True,
'footnote_references': 'superscript',
'table_style': 'booktabs',
'documentclass': 'startlower'})
for key in mainRestructuredTextFiles.keys():
self._translateTextFiles(files = mainRestructuredTextFiles[key],
source_dir = '../..',
writer = IncludedLaTeXWriter(),
settings ={'use_latex_toc': True,
'footnote_references': 'superscript',
'table_style': 'nolines',
'documentclass': key})

for key in mainRestructuredTextFiles.keys():
self._translateTextFiles(files = secondaryRestructuredTextFiles[key],
source_dir = '..',
writer = IncludedLaTeXWriter(),
settings ={'use_latex_toc': True,
'footnote_references': 'superscript',
'table_style': 'booktabs',
'documentclass': key})

if self.guide:
os.system("pdflatex fipy")
Expand All @@ -347,29 +344,23 @@ def run (self):
from utils.includedHTMLWriter import IncludedHTMLWriter

print "main files"
self._translateTextFiles(files = mainRestructuredTextFiles,
destination_dir = tmp,
writer = IncludedHTMLWriter(),
settings = {'initial_header_level' : 3,
'xml_declaration' : 0},
ext = '.html')
for key in mainRestructuredTextFiles.keys():
self._translateTextFiles(files = mainRestructuredTextFiles[key],
destination_dir = tmp,
writer = IncludedHTMLWriter(),
settings = {'initial_header_level' : 3,
'xml_declaration' : 0},
ext = '.html')

print "secondary files"
self._translateTextFiles(files = secondaryRestructuredTextFiles,
source_dir = "documentation",
destination_dir = tmp,
writer = IncludedHTMLWriter(),
settings = {'initial_header_level' : 3,
'xml_declaration' : 0},
ext = '.html')

print "tertiary files"
self._translateTextFiles(files = tertiaryRestructuredTextFiles,
destination_dir = tmp,
writer = IncludedHTMLWriter(),
settings = {'initial_header_level' : 3,
'xml_declaration' : 0},
ext = '.html')
for key in secondaryRestructuredTextFiles.keys():
self._translateTextFiles(files = secondaryRestructuredTextFiles[key],
source_dir = "documentation",
destination_dir = tmp,
writer = IncludedHTMLWriter(),
settings = {'initial_header_level' : 3,
'xml_declaration' : 0},
ext = '.html')

import shutil
for f in ['menu.html', 'meta.html', 'logo.html', 'extra.html']:
Expand Down Expand Up @@ -399,8 +390,8 @@ def run (self):
os.system('ln -sf ../../manual/fipy.pdf documentation/www/download/fipy-%s.pdf'%self.distribution.metadata.get_version())
os.system('ln -sf ../../manual/reference.pdf documentation/www/download/reference-%s.pdf'%self.distribution.metadata.get_version())

for name in ('', '.win32'):
file = 'dist/FiPy-%s%s.tar.gz'%(self.distribution.metadata.get_version(), name)
for name in ('.tar.gz', '.win32.zip'):
file = 'dist/FiPy-%s%s'%(self.distribution.metadata.get_version(), name)
print "setting group and ownership for %s ..."%file
os.system('chmod -R g+w %s'%file)
os.system('chgrp -R pfm %s'%file)
Expand All @@ -416,7 +407,9 @@ def run (self):
os.system('chmod -R g+w documentation/www/')

print "uploading web pages..."
os.system('rsync -aLC -e ssh %s %s'%('documentation/www/', os.environ['FIPY_WWWHOST']))
# The -t flag (implicit in -a) is suddenly causing problems
# os.system('rsync -aLC -e ssh %s %s'%('documentation/www/', os.environ['FIPY_WWWHOST']))
os.system('rsync -rlpgoDLC -e ssh %s %s'%('documentation/www/', os.environ['FIPY_WWWHOST']))

print "activating web pages..."
os.system(os.environ['FIPY_WWWACTIVATE'])
Expand Down

0 comments on commit ba5463f

Please sign in to comment.