Closed onyxfish closed 12 years ago
Ah, this is probably because I sudo installed it, but am running it as my normal user. So those index files were created as root.
I'd suggest having those directories created at runtime if they don't exist, rather than in setup.py.
The ~/.snipsnip directory and all subfolders need to be writable. I put that info in the readme, but I guess I could be more clear. I attempted to make a writable directory via the os package but wasn't able to, so I've asked the users to do it themselves through the shell.
And the name's Joseph, you big jerk!
Doh! (on both counts) Sorry about that. I was in communication with your cohort at the same time I was writing this. Apparently my wires crossed.
Since this thread is open now, I'll just put my thoughts here. Bullet-pointed:
Hope that helps! Chris
Awesome feedback, thanks a ton! Could you elaborate on your last point?
I was thinking something like:
Just a thought.
You might want to take a look at how I do the argument parsing stuff in csvkit:
https://github.com/onyxfish/csvkit/blob/master/csvkit/cli.py
Or, for something more robust, you can check out Cement:
I've broken your suggestions out into multiple issues. Thanks a bunch! (Yes, necropost ftw!)
Hey Justin, I just went to give this a shot and ran into this: