Building from a command line?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 9
- Joined: Thu May 09, 2013 11:09 pm
- Contact:
Building from a command line?
I want to set up a build server for my project (using Jenkins) so the various devs and testers can get the latest version on demand. Obviously, I can't use the Ren'Py Launcher and its handy Build Distributions button since the server is headless and unattended. Is there a way to kick off builds of the various packages (Windows, Mac, Linux, etc.) from the shell?
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Building from a command line?
Yes. Run the command:
renpy.sh launcher distribute /path/to/mygame
renpy.sh launcher distribute /path/to/mygame
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Newbie
- Posts: 9
- Joined: Thu May 09, 2013 11:09 pm
- Contact:
Re: Building from a command line?
Ah, excellent. Though that builds all the packages in one shot; I'd like to be able to do one at a time depending on who's requesting it.
Also, it spit out a couple lines that look like errors to me (repeated twice more often than not), but it continued to do the build anyway:
Do I need to set that environment variable before calling the script, or is this safe to ignore?
Also, it spit out a couple lines that look like errors to me (repeated twice more often than not), but it continued to do the build anyway:
Code: Select all
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Building from a command line?
These are safe to ignore.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Miko-Class Veteran
- Posts: 616
- Joined: Thu Oct 26, 2006 4:23 pm
- Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
- Location: Slovakia, Kosice
- Contact:
Re: Building from a command line?
is there a way to do compile rpy to rpyc (and py to pyc) and then disable including rpy (py) files from terminal build?
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Building from a command line?
Just do the usual build.classify rule. It works from the launcher and the command line the same way - and Ren'Py will compile the .rpycs before each build, if required.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Google [Bot], MSN [Bot]