remi icon indicating copy to clipboard operation
remi copied to clipboard

Res folder's contents - Consider using base64 encoding internal to the source code?

Open MikeTheWatchGuy opened this issue 6 years ago • 3 comments

I'm looking at using Remi in small projects using Micro Python or some other port that perhaps does not support pip.

Would it be helpful to reduce the number of files needed for Remi? One way I've done this for PySimpleGUI is to use Base64 variables for all of my graphics. My newer programs embed all of the needed graphics in the source code so that a single file is all that is needed.

If I didn't have access to pip, how would you suggest I add Remi to the runtime environment?

MikeTheWatchGuy avatar May 04 '19 15:05 MikeTheWatchGuy

@MikeTheWatchGuy It seems a good idea to embed images in base64 data variables. I will do this in a near future. However it is simple to install modules without pip, you simply need to download or clone the project and launch python setup.py install .

dddomodossola avatar May 04 '19 16:05 dddomodossola

Do you think this will work on the micro-python and smaller systems?

Will they be able to run setup and expect it to install itself or are there different instructions that will need to be given?

MikeTheWatchGuy avatar May 04 '19 17:05 MikeTheWatchGuy

@MikeTheWatchGuy I don't know if this would work. Eventually it should be possible to:

  • Download a copy of the repository
  • copy the source folder in the python lib folders.

A python module installation is tipically a copy of sources in a predefined lib folder

dddomodossola avatar May 05 '19 13:05 dddomodossola