Skip to content

Commit

Permalink
Updated the PyDAS build scripts to reflect the recent code reorganiza…
Browse files Browse the repository at this point in the history
…tion.

PyDAS once again builds successfully!
  • Loading branch information
jwallen committed Jan 5, 2011
1 parent a4bb880 commit fdf6c59
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ clean-DASKR:

clean-cython:
python setup.py clean $(CLEAN_FLAGS)
rm -f PyDAS/*.so PyDAS/*.pyc
rm -f *.so *.pyc

help:
@echo ""
Expand Down
2 changes: 1 addition & 1 deletion pydas.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ cimport cython
################################################################################

# Expose the (double-precision) DASSL function
cdef extern from "ddassl.h":
cdef extern from "das.h":
int ddassl_(
void* res, # The residual function that defines the ODE/DAE system
int* neq, # The number of equations to be solved
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
# The Cython extension modules to compile
ext_modules = [
Extension(
'PyDAS.dassl',
['PyDAS/dassl.pyx'],
include_dirs=['PyDAS', numpy.get_include()],
'pydas',
['pydas.pyx'],
include_dirs=['.', numpy.get_include()],
libraries=['gfortran'],
extra_objects=['dassl/daux.o','dassl/ddassl.o','dassl/dlinpk.o'],
),
Expand All @@ -57,7 +57,7 @@
author='Joshua W. Allen',
author_email='[email protected]',
url='http://github.com/jwallen/PyDAS',
packages=['PyDAS'],
py_modules=['pydas'],
cmdclass = {'build_ext': build_ext},
ext_modules = ext_modules
)

0 comments on commit fdf6c59

Please sign in to comment.