drathier / stack-overflow-import

Import arbitrary code from Stack Overflow as Python modules.
3.7k stars 128 forks source link

Add `pip install` #3

Open dougharris opened 8 years ago

dougharris commented 8 years ago

Before this can be reliably used in production, this needs is the ability to auto-install necessary packages.

mayank-20-nayyar commented 8 years ago

Hi, is this issue completely resolved or further scope of enhancement is there?

Peartes commented 8 years ago

Not yet On 6 Nov 2016 17:54, "mowgli-m" notifications@github.com wrote:

Hi, is this issue completely resolved or further scope of enhancement is there?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/drathier/stack-overflow-import/issues/3#issuecomment-258693761, or mute the thread https://github.com/notifications/unsubscribe-auth/AS4SrEaKCenJ1h5Q3lBHXesf-Pp37zchks5q7gZdgaJpZM4KplxU .

caiopo commented 7 years ago

As a workaround, you can install it with pip install git+https://github.com/drathier/stack-overflow-import.

lkloh commented 7 years ago

It seems that someone needs to register on PyPi to support this with pip, per instructions here. According to the license, would it be ok if I did that as long as I credit the original author and Stack Overflow?

drathier commented 7 years ago

I'm not entirely convinced this package follows the I further affirm that any Content I provide is not intended for use by a government end-user engaged in the manufacture or distribution of items or services controlled on the Wassenaar Munitions List as defined in part 772 of the United States Export Administration Regulations, or by any other embargoed user. part of the pip license agreement. I see no reason this package wouldn't be good enough for use in nuclear weapons manufacturing.

I also feel like downloading and executing arbitrary source code from the internet is a bad idea; you should put a copy of Stack Overflow Import in your own repo, and fetch it from there.