error: package directory 'fwrap/fparser' does not exist

17 views
Skip to first unread message

Ondrej Certik

unread,
Aug 9, 2010, 5:05:08 PM8/9/10
to fwrap...@googlegroups.com
Hi,

I tried to install the latest hg version of wrap, so I did:


$ hg clone http://bitbucket.org/kwmsmith/fwrap-dev/
$ cd fwrap-dev
$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/fwrap
copying fwrap/fwrap_parse.py -> build/lib/fwrap
copying fwrap/visitor.py -> build/lib/fwrap
copying fwrap/intrinsics.py -> build/lib/fwrap
copying fwrap/code.py -> build/lib/fwrap
copying fwrap/constants.py -> build/lib/fwrap
copying fwrap/main.py -> build/lib/fwrap
copying fwrap/cy_wrap.py -> build/lib/fwrap
copying fwrap/fc_wrap.py -> build/lib/fwrap
copying fwrap/gen_config.py -> build/lib/fwrap
copying fwrap/__init__.py -> build/lib/fwrap
copying fwrap/pyparsing_py2.py -> build/lib/fwrap
copying fwrap/fort_expr.py -> build/lib/fwrap
copying fwrap/version.py -> build/lib/fwrap
copying fwrap/pyf_iface.py -> build/lib/fwrap
copying fwrap/fwrap_setup.py -> build/lib/fwrap
error: package directory 'fwrap/fparser' does not exist


What am I doing wrong?

Thanks,
Ondrej

Kurt Smith

unread,
Aug 9, 2010, 5:15:35 PM8/9/10
to fwrap...@googlegroups.com
Hey Ondrej,

Thanks for trying it out; fparser is a separate package that is
included with distributed versions of fwrap, but not in development
versions; this is because fparser is changing quickly.

You need to do the following:

1) get f2py from googlecode:

hg clone https://f2py.googlecode.com/hg/ f2py

2) put a symbolic link from the f2py/fparser package in
fwrap-dev/fwrap/ directory.

$ cd fwrap-dev/fwrap
$ ln -s ../../f2py/fparser # adjust for location

Then 'python setup.py install' should work.

Kurt

> --
> You received this message because you are subscribed to the Google Groups "Fwrap Users" group.
> To post to this group, send email to fwrap...@googlegroups.com.
> To unsubscribe from this group, send email to fwrap-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fwrap-users?hl=en.
>
>

Ondrej Certik

unread,
Aug 9, 2010, 6:00:36 PM8/9/10
to fwrap...@googlegroups.com
On Mon, Aug 9, 2010 at 2:15 PM, Kurt Smith <kwms...@gmail.com> wrote:
> Hey Ondrej,
>
> Thanks for trying it out; fparser is a separate package that is
> included with distributed versions of fwrap, but not in development
> versions; this is because fparser is changing quickly.
>
> You need to do the following:
>
> 1) get f2py from googlecode:
>
> hg clone https://f2py.googlecode.com/hg/ f2py
>
> 2) put a symbolic link from the f2py/fparser package in
> fwrap-dev/fwrap/ directory.
>
> $ cd fwrap-dev/fwrap
> $ ln -s ../../f2py/fparser # adjust for location
>
> Then 'python setup.py install' should work.

Excellent, this worked! Can you document this somewhere in the README please?

Ondrej

Reply all
Reply to author
Forward
0 new messages