Re: make install fails and a problem with title evaluation.
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
Bernhard Fischer wrote: > Hi, > > 1) Since the addition of setup.cfg, i cannot install synopsis anymore: > > error: can't copy 'build/lib.linux-i686-2.4/lib/libSynopsis.so': doesn't > exist or not a regular file > > when i rm setup.cfg, the build completes again without errors: > copying build/temp.linux-i686-2.4/src/lib/libSynopsis.so -> > build/lib.linux-i686-2.4/lib > I'm trying to install as described in README. > Any suggestion? Thanks for reporting it. It's fixed in the repository. > 2) The attached simple example barfs at the title. > an error occured trying to evaluate the value of 'title' > Haven't looked what went wrong yet, so i thought i quickly ask. Synopsis currently provides two alternative frontends: the 'synopsis' applet that is driven by (mostly) string-based arguments, and a scripting frontend that is fully configurable as it is just a python script itself. The synopsis applet allows to pass arguments down to individual processors, but its parsing capabilities are rather limitted. I'm not sure enhancing the option parser is very useful. It solves the most frequent use cases. For anything less trivial you may find the scripting frontend more useful, which is much more expressive and powerful. Specifically, argument passing uses python's own type system and syntax, while the synopsis applet gets its arguments from the shell, and in your case splits strings by ','. Regards, Stefan