Closed GoogleCodeExporter closed 9 years ago
Already built in, but --terminal is not. You need python-argparse for this.
Original comment by MeanEYE.rcf
on 15 Feb 2013 at 4:24
python-argparse doesn't exist in Ubuntu precise. synaptic shows python-commando
when searching for argparse but it's the wrong package. python-argvalidate also
isn't the right package.
http://packages.ubuntu.com/de/precise/python-argparse shows that this package
existed till oneiric but from precise on is virtual package (I couldn't find it
at all though).
tried with sunflower -h
Original comment by turboos...@gmail.com
on 16 Feb 2013 at 5:42
How did you install Sunflower?
Original comment by MeanEYE.rcf
on 16 Feb 2013 at 5:45
I installed from deb package (Ubuntu 12.04.2 precise, latest package)
Original comment by turboos...@gmail.com
on 16 Feb 2013 at 5:46
Okay, thanks. I see what's the problem. You no longer need argparse, but the
issue is, launcher script for Sunflower doesn't pass on arguments.
Wojtek, can you fix this? Ideally we should link /usr/bin/sunflower to original
.py file and avoid script all together.
Speaking of packages, maybe we should have debian and rpm directories in
repository instead of generating them with script. And use makefile for
building packages?
Original comment by MeanEYE.rcf
on 16 Feb 2013 at 5:56
It can't be symlinked since python then searches the rest of files in /usr/bin
instead of /usr/share/sunflower. So either
- leave script (passing arguments is easy) or
- install files to /usr/lib/python2.7/site-packages/
What is better?
You mean pure makefile or automake?
Original comment by wojtekkl...@gmail.com
on 16 Feb 2013 at 7:26
Python search path can be changed easily. In fact application/main.py already
does that. But we should go easier route this time. Just pass arguments.
Yes, pure makefile. I believe you can put everything there that your
make_package script does if we have external files. But since you are making
packages, it's all the same to me. Your call on that one.
Original comment by MeanEYE.rcf
on 16 Feb 2013 at 7:42
OK, next realise will have fixed script. Makefile I'll write next week maybe.
Original comment by wojtekkl...@gmail.com
on 17 Feb 2013 at 9:41
No rush then. Makefile is more of a suggestion. :) I think maintaining separate
files will be easier instead of one big script that generates them.
Anyway, thanks. Am marking this issue as fixed.
Original comment by MeanEYE.rcf
on 17 Feb 2013 at 12:20
Original issue reported on code.google.com by
turboos...@gmail.com
on 15 Feb 2013 at 12:42