Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

There is a great topic here about dependencies from ubuntu repositories. But my app depends on python package, which has to be install with sudo pip install package. Can I add this kind of dependency to my app? Or at least make quickly run this command, when installing my app?

Edit: This is now filed as a bug here.

share|improve this question
add comment

1 Answer

I wouldn't count on the app making it into the main repositories if it were packaged that way.

You could depend on pip and run the pip-install as a post-install hook though.

share|improve this answer
    
Yeah, that is on of possible solutions - but how do I set post-installation commands in quickly? Where should I add them? –  Ilya May 8 '13 at 17:35
    
AFAIK You don't "with quickly". That's the problem with magic tools. –  hbdgaf May 8 '13 at 17:37
    
So, you are saying, you think, it is impossible? –  Ilya May 8 '13 at 17:37
    
I'm saying I think it requires manual packaging, not "quickly add-post-inst-cmd 'pip install random-python-awesomeness' && quickly package && quickly push" –  hbdgaf May 8 '13 at 17:40
    
OK, thank you, it seems like a big flaw in Quickly. I am thinking to report it on their bugtracker. –  Ilya May 8 '13 at 17:41
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.