Skip to content

Commit

Permalink
Upgrade (again) from cppad version 2010101.5 to 20110101.3.
Browse files Browse the repository at this point in the history
build.sh: change cppad tarball name.
doc.omh: update version of pycppad to today.
install.omh: update version of pycppad to today.
setup.py: change cppad tarball name and update pycppad version to today.
  • Loading branch information
bradbell committed Mar 20, 2011
1 parent 7a53f84 commit 7d5c46a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.sh
Expand Up @@ -18,7 +18,7 @@ fi
option="$1"
# ---------------------------------------------------------------------
yyyymmdd=`date +%F | sed -e 's|-||g'` # todays year, month, and day
cppad_tarball='cppad-20100101.5.gpl.tgz' # local_cppad_directory.gpl.tgz
cppad_tarball='cppad-20110101.3.gpl.tgz' # local_cppad_directory.gpl.tgz
cppad_parent_dir=`pwd` # parrent of local_cppad_directory
log_dir=`pwd` # write build.sh logs in here
cppad_download_dir='http://www.coin-or.org/download/source/CppAD'
Expand Down
2 changes: 1 addition & 1 deletion doc.omh
Expand Up @@ -33,7 +33,7 @@ $hiliteseq%
%.%reverse%(% reverse
%$$

$section pycppad-20110319: A Python Algorithm Derivative Package$$
$section pycppad-20110320: A Python Algorithm Derivative Package$$

$index AD, python$$
$index python, AD$$
Expand Down
22 changes: 11 additions & 11 deletions omh/install.omh
Expand Up @@ -53,8 +53,8 @@ $index download, pycppad$$
$index pycppad, download$$
Download the file
$href%
http://www.seanet.com/~bradbell/pycppad-20110319.tar.gz%
pycppad-20110319.tar.gz
http://www.seanet.com/~bradbell/pycppad-20110320.tar.gz%
pycppad-20110320.tar.gz
%$$
and store it on your machine.

Expand All @@ -65,14 +65,14 @@ $index extract, pycppad$$
$index pycppad, extract$$
On unix, you could use the command
$codep
tar -xvzf pycppad-20110319.tar.gz
tar -xvzf pycppad-20110320.tar.gz
$$
which would create the directory $code pycppad-20110319$$.
which would create the directory $code pycppad-20110320$$.

$head Required Setup Information$$
The value of the following setup variables, in the file
$codep
pycppad-20110319/setup.py
pycppad-20110320/setup.py
$$
must be set to agree with your system:
$code
Expand All @@ -89,7 +89,7 @@ $index pycppad, build$$
$subhead With Debugging$$
$index debugging, build$$
$index build, debugging$$
Change into the directory $code pycppad-20110319$$ and execute the command
Change into the directory $code pycppad-20110320$$ and execute the command
$codep
./setup.py build_ext --inplace --debug --undef NDEBUG
$$
Expand Down Expand Up @@ -162,7 +162,7 @@ $index test, pycppad$$
$index pycppad, test$$
You can test of all the
$cref/examples/example/$$ in the $code pycppad$$ documentation.
Change into the directory $code pycppad-20110319$$ and execute the command
Change into the directory $code pycppad-20110320$$ and execute the command
$codep
python test_example.py
$$
Expand All @@ -179,7 +179,7 @@ You may or may not preform this step:
$pre

$$
Change into the directory $code pycppad-20110319$$ and execute the command
Change into the directory $code pycppad-20110320$$ and execute the command
$codei%
python setup.py install --prefix=%prefix%
%$$
Expand All @@ -206,7 +206,7 @@ an uninstall command. You can uninstall the $code pycppad$$ package
by removing the entries
$codei%
%prefix%/lib/python%major%.%minor%/site-packages/pycppad
%prefix%/lib/python%major%.%minor%/site-packages/pycppad-20110319.egg-info
%prefix%/lib/python%major%.%minor%/site-packages/pycppad-20110320.egg-info
%prefix%/share/doc/pycppad
%$$
where $icode major$$ and $icode minor$$
Expand All @@ -225,7 +225,7 @@ $codei%
%$$
unless the distribution directory
$codep
pycppad-20110319
pycppad-20110320
$$
is in your python path.
If you have installed $code pycppad$$,
Expand Down Expand Up @@ -257,7 +257,7 @@ to your $code @HOME/.bashrc$$ file.
$head pycppad Documentation$$
The documentation for $code pycppad$$ starts out in the directory
$codep
pycppad-20110319/doc
pycppad-20110320/doc
$$
During the installation process, it is copied to the directory
$codei%
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -24,8 +24,8 @@
# for documentation on how to use the script setup.py
# ---------------------------------------------------------------------
# Values in setup.py that are replaced by build.sh
package_version = '20110319'
cppad_tarball = 'cppad-20100101.5.gpl.tgz'
package_version = '20110320'
cppad_tarball = 'cppad-20110101.3.gpl.tgz'
cppad_download_dir = 'http://www.coin-or.org/download/source/CppAD'
# ---------------------------------------------------------------------
import re
Expand Down

0 comments on commit 7d5c46a

Please sign in to comment.