Yes, XBlocks are just typical Python packages, installed in the usual Python way: pip install.
--Ned. On Wed, Apr 19, 2017 at 3:15 PM, Robert M <rmundkow...@gmail.com> wrote: > I believe there are some conda packages that include FFPMEG binaries > otherwise I will give instructions on how to install binaries. Anyways, was > not sure how xBlocks were installed/deployed in edx. I thought maybe > xBlocks were special packages that were only loaded via the Studio or > something like that, but I guess a edx admin just uses SSH/SCP to install > things. > > On Wednesday, April 19, 2017 at 10:33:22 AM UTC-4, Ned Batchelder wrote: >> >> It's not that Open edX support conda requirements files. When you write >> your XBlock, you will have a setup.py, and you can put whatever Python >> packages you want in the install_requires value there. But that is only >> for Python packages. There isn't a mechanism that will automatically >> install ffmpeg for you when you install your XBlock. You'll need to put >> instructions in the README file, and installers will have to install it >> somehow. >> >> --Ned. >> >> On Tue, Apr 18, 2017 at 9:06 PM, Robert Mundkowsky <rmund...@gmail.com> >> wrote: >> >>> Thanks! Trying to get FFMPEG. Didn't realive edx supports use of conda >>> requirement files, rather brave. Do you need to put the file in specific >>> location? I likely will try using to install a package that includes it, >>> maybe skvideo.io >>> >>> On Apr 18, 2017 12:41 PM, "Ned Batchelder" <n...@edx.org> wrote: >>> >>>> Robert, >>>> >>>> Typically, you wouldn't try to include other packages in your XBlock, >>>> you would list them as requirements. They would get installed (if needed) >>>> when your XBlock was installed. What packages do you need? >>>> >>>> --Ned. >>>> >>>> On Sun, Apr 16, 2017 at 9:20 PM, Robert M <rmund...@gmail.com> wrote: >>>> >>>>> >>>>> I am guessing is not possible to include miniconda or conda in an >>>>> xBlock package, because it would be big and you can't likely change the >>>>> python used to execute xBlocks. Although I guess you could call a >>>>> different >>>>> python from inside a python script. >>>>> >>>>> Are there other ways to get python packages available on edx (e.g. edx >>>>> conda distribution with more stuff)? >>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "General Open edX discussion" group. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/edx-code/ef498713-7792-406 >>>>> a-a0e4-2faae2dba9e5%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/edx-code/ef498713-7792-406a-a0e4-2faae2dba9e5%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "General Open edX discussion" group. >>>> To view this discussion on the web visit https://groups.google.com/d/ms >>>> gid/edx-code/CAGtJPNNdwCTQecEoevDH%3D%2BToWL2f5bFnTGL34YaCyC >>>> M-V_kZFQ%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/edx-code/CAGtJPNNdwCTQecEoevDH%3D%2BToWL2f5bFnTGL34YaCyCM-V_kZFQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "General Open edX discussion" group. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/edx-code/CAEC%2BAE%3DmTBjUqyG7HuZMRZJ%3D1o5uWp0-C35US3wi >>> OeEAfWoSQQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/edx-code/CAEC%2BAE%3DmTBjUqyG7HuZMRZJ%3D1o5uWp0-C35US3wiOeEAfWoSQQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "General Open edX discussion" group. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/edx-code/c48dff08-f8a8-41df-9941-23afcbba9d47%40googlegroups.com > <https://groups.google.com/d/msgid/edx-code/c48dff08-f8a8-41df-9941-23afcbba9d47%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/CAGtJPNPe%3DGPFAvQycj9kq-aXEgRQBNXj_SH%3D8FQg38mb72dV5w%40mail.gmail.com.