Permalink
Browse files

1. Users view of changes in previous commit.

2. use path.join instead of adding '/' character (so works on windows).
  • Loading branch information...
1 parent f2c7776 commit f29a150965111ffb72ad689e3e7cea15e51738e4 @bradbell bradbell committed Apr 18, 2012
Showing with 15 additions and 3 deletions.
  1. +10 −0 omh/whats_new_12.omh
  2. +5 −3 setup.py
View
@@ -23,6 +23,16 @@ $cref/2010/whats_new_11/$$,
$cref/2010/whats_new_10/$$,
$cref/2008/whats_new_09/$$
+$head 04-17$$
+$list number$$
+Add missing $code --inplace$$ flag in
+$cref/build/install/Building/$$ instructions.
+$lnext
+Add $icode with_debugging$$ option to
+$cref/testing/install/Testing/$$ so that $code test_more.py$$
+does not fail when you build without debugging.
+$lend
+
$head 04-16$$
$list number$$
Simplify the $code setup.py$$ script used during the
View
@@ -38,13 +38,15 @@ def remove_duplicates(alist) :
try:
doc_files = os.listdir('doc')
for i in range( len(doc_files) ):
- doc_files[i] = 'doc/' + doc_files[i]
+ doc_files[i] = os.path.join('doc', doc_files[i])
except:
doc_files = []
#
-package_data_files = [ ('share/doc/pycppad', doc_files ) ]
+directory = os.path.join('share', 'doc')
+directory = os.path.join(directory, 'pycppad')
+package_data_files = [ (directory, doc_files ) ]
#
-cppad_extension_name = 'pycppad' + '/cppad_'
+cppad_extension_name = os.path.join('pycppad', 'cppad_')
cppad_extension_include_dirs = get_numpy_include_dirs()
cppad_extension_include_dirs += cppad_include_dir
cppad_extension_include_dirs += boost_python_include_dir

0 comments on commit f29a150

Please sign in to comment.