alan-mj-lin / Sporeas

TJC projection webapp for service use.
1 stars 0 forks source link

Auto install python packages #87

Closed alan-mj-lin closed 4 years ago

alan-mj-lin commented 4 years ago

@hchiam I'm wondering if we can some how create an executable or file of some sort that auto installs all necessary python packages for this app to run. Can you look into it?

hchiam commented 4 years ago

Ooh sounds fun! I'll look into it.

hchiam commented 4 years ago

how will the executable file get run? i'm thinking of just using a bash file. does it have to run on windows or will it be on mac?

hchiam commented 4 years ago

todo:

hchiam commented 4 years ago

So far I found that downloading a python installer and starting the graphical installer is possible: https://github.com/hchiam/learning-powershell/blob/master/test.ps1

hchiam commented 4 years ago

final todo's:

hchiam commented 4 years ago

@alan-mj-lin you'll have to test it out on a fresh PC. 1) get a copy of the easy-setup branch version of the Sporeas repo folder 2) save the Sporeas folder on the desktop 3) right click on Sporeas/setup-sporeas-pc.ps1 and choose run with powershell 4) if you see the security message, you might need to right click and choose again (do not respond to the override message)

alan-mj-lin commented 4 years ago

@hchiam this is a purely windows solution yes? I'm ok with separate solutions that work with different OS but we will need one that works for Mac/Linux as well

hchiam commented 4 years ago

@alan-mj-lin no, i made a mac version at the same time: https://github.com/alan-mj-lin/Sporeas/pull/88

alan-mj-lin commented 4 years ago

@hchiam I will be testing this by uninstalling and installing python on my windows machine haha

alan-mj-lin commented 4 years ago

Closing