Tom Rothamel
0843e46e91
Fix an issue with with sdist, versions, and pygame_sdl2.
2024-09-14 00:19:09 -04:00
Tom Rothamel
3ff08b9c03
Produce a valid-ish version for pygame_sdl2.
2023-09-06 00:46:03 -04:00
Tom Rothamel
d93745e2e1
Delete .pyo and .pyc files when reloading a module.
...
This can fix a problem on Python 2, where a .pyo file would be
loaded in preference to an updated .py file, even if the .py file
was created the first time around.
2023-05-19 23:27:50 -04:00
Tom Rothamel
4f8f3155ef
Take the version out of the newly-generation dict.
2023-05-19 00:51:39 -04:00
Tom Rothamel
4d26440cbb
Remove pyo and pyc files to make sure a reload occurrs.
2023-05-18 04:17:43 -04:00
Tom Rothamel
17e743d346
Determine the version if vc_version.py does not exist.
...
This is likely to only happen if a git checkout exists. In that
case, we determine what branch we're on, and use that to
initialize the version information.
2023-05-17 00:54:34 -04:00
Tom Rothamel
d8cfb32514
distribute: Changes to support nightly builds.
...
* The --nightly flag to mark a version as nightly.
* The --print-version flag, to print the computed version.
This will allow distribute to supply version information to the
nightly build process.
2023-05-16 10:36:03 -04:00
Tom Rothamel
06acc1984a
Use the runtime python to generate the version information.
2023-05-15 08:52:20 -04:00
Tom Rothamel
516fceb2ab
Store the version in vc_version, generate it from the branch.
2023-05-15 02:39:23 -04:00
Tom Rothamel
8a7fc84f96
pylance: Eliminate type errors.
...
These changes aren't expected to change the behavior of Ren'Py.
2023-02-23 00:29:29 -05:00
Tom Rothamel
780fe50050
Include all commits in version calculations.
2023-01-19 22:27:23 -05:00
Tom Rothamel
d87e8a3b9b
web3: Select between web2 and web3 on distribute.
2022-11-25 00:20:19 -05:00
Tom Rothamel
6cf589429d
Remove the (long empty) autobuild script.
2022-10-31 02:28:21 -04:00
Tom Rothamel
65e03993dc
Only set compresslevel on Python 2.
2022-10-21 21:25:42 -04:00
Tom Rothamel
bfc28665c1
rapt: Include the native symbols in the build directory.
...
Fixes #3806 .
2022-10-11 00:54:44 -04:00
Tom Rothamel
9eecf4fec3
distribute: Use version_only.
...
This runs after things are fully generated, and will include
the nightly 'n' if appropriate.
2022-09-05 13:31:59 -04:00
Tom Rothamel
c11051f6a8
distribute: Fix the option name.
2022-09-05 11:35:20 -04:00
Tom Rothamel
e9448ccf87
distribute: Add an option for appending the version number.
...
This is intended to support versioned nightly builds.
2022-09-05 11:26:57 -04:00
Asriel Senna
e36ac33d40
remove bare excepts from the repository
2022-05-24 12:43:49 +02:00
Tom Rothamel
b74f9d2d09
Compile games on distribute.
...
This is mainly intended for the side effect of deleting obsolete
.rpyc files.
2022-05-21 02:00:37 -04:00
Tom Rothamel
c54b37072f
Check that distribute is being run with the right Python version.
2022-04-11 20:26:37 -04:00
Tom Rothamel
b776c84e1f
Prevent distribute from producing uninteresting errors.
...
When it's called by run.sh when Ren'PY is partially installed.
2022-04-01 21:58:38 -04:00
Tom Rothamel
9eec11712d
Automatically link rapt2/rapt3 and renios2/renios3.
2022-03-08 21:50:34 -05:00
Gouvernathor
841372cd8b
Merge branch 'master' into patch-9
2022-01-16 22:35:28 +01:00
Tom Rothamel
8e5fde4bfa
distribute: Base vc_version on the date.
...
It's now YYMMDDCC, where CC is the commit of the day starting with 1.
The goal is to make it easy to see how old a given nightly or release
is just by looking at the full version, and it also means it's
not necessary to tag that start of each release.
2022-01-13 19:23:09 -05:00
Gouvernathor
a7c9cc85f6
Merge branch 'master' into patch-9
2022-01-09 15:25:21 +01:00
Tom Rothamel
c920246777
pyi: More type error triage.
2022-01-07 23:27:08 -05:00
Gouvernathor
6c371b4a2a
Merge branch 'master' into patch-9
2022-01-03 10:39:10 +01:00
Tom Rothamel
8771e1cdab
py3: Work on the build process.
2021-12-30 02:50:29 -05:00
Tom Rothamel
edb407157c
py3: Update the distribute script to work under Python 3.
2021-12-29 00:10:21 -05:00
Gouvernathor
1ef6104cb6
Merge branch 'master' into patch-9
2021-12-29 05:35:04 +01:00
Asriel Senna
fc2f18f9d3
remove the other bare excepts
2021-12-20 04:03:01 +01:00
Tom Rothamel
24d5a3247c
py3: Changes to distribute to move to py-specific platform directories.
...
That is, so that py2-windows-x86_64 and py3-windows-x86_64 can be
build alongside each other. This is a step in building Ren'Py 8,
and enables Ren'Py 7 to be distributed while Ren'Py 8 is worked on.
2021-12-19 21:18:21 -05:00
Tom Rothamel
6827c6fab7
Include a version number suffix.
...
u = unofficial builds.
n = nightly builds.
2021-08-26 04:24:48 -04:00
Tom Rothamel
62c1eb80bf
Merge branch 'master' into master
2020-09-25 22:59:05 -04:00
Eric Ahn
9336778f25
Feature detect reload
2019-10-02 18:27:55 -07:00
Eric Ahn
06543a8d8d
Replace reload
2019-10-02 18:23:58 -07:00
Tom Rothamel
9f0a05fc6b
Remove manual notarization.
...
It's now integrated into the app/dmg signing scripts, making it
a walk-away process.
2019-09-29 10:36:38 -04:00
Tom Rothamel
df51f5233f
Finish notarization of Ren'Py.
...
This includes the notarization of the DMG that Ren'Py is
distributed with.
2019-09-24 20:50:50 -04:00
Tom Rothamel
d8050e9f5d
Use a tarball for notarization.
...
Turns out that a .zip can't really represent the extended
attributes used for signing some files properly, but the
tar format can. So we use that to ship things over, and
get a working .dmg.
2019-09-24 01:17:34 -04:00
Tom Rothamel
b639171118
Scripts for notarizing Ren'Py.
2019-09-23 22:14:46 -04:00
Tom Rothamel
dcaa97a70e
Improve support for codesigning with entitlements.
2019-09-21 01:08:46 -04:00
Tom Rothamel
33e3174692
Default to not code-signing for macOS.
...
Per #1958 .
2019-07-23 18:05:40 -04:00
Tom Rothamel
98d104b9ec
Shortcut creating vc_version.py for build processes.
2019-04-03 01:32:49 -04:00
Tom Rothamel
abef9ac3f9
Automatically determine the version number to use.
2018-10-06 12:55:20 -04:00
Tom Rothamel
966adf6821
Distribute checks that checksums.txt exists, refuses to run if so.
2018-10-06 11:49:15 -04:00
Tom Rothamel
326f8532f6
distribute: Sign by default.
2018-10-03 22:54:40 -04:00
Joshua Fehler
f82c2e9f28
Replace 'open()' with 'with open()'
2018-02-25 13:41:50 -05:00
Tom Rothamel
86ddf62132
Do not copy screens.rpy from the new tutorial to the English template.
...
This is obsolete.
2017-08-03 23:03:35 -04:00
Tom Rothamel
3c448d18bc
mac: Signed app and dmg version of the SDK.
...
This should allow us to start running on sierra.
2016-09-24 14:18:12 -04:00