This page is intended to document the release process of Stackless Python.
stackless/Stackless/Tools/create_source_archive.sh
. See below for details.Unfortunately it is not enough to simply run git archive ...
. The reason is, that the archive contains a few generated files together with their source files:
Include/Python-ast.h
Python/Python-ast.c
Sources are in Parser/
.
Building theses files requires Python itself; a classical chicken and eggs problem. Therefore it is essential that the timestamps of generated files are newer that the timestamps of their sources after unpacking the source archive. This requires not only to touch generated files prior to packaging but also to control the order of archive members.
Use the script stackless/Stackless/Tools/create_source_archive.sh to create a source archive.
How to Compile for Windows - v3.5.x and newerFirst make sure that you can compile Stackless Python. Follow the instructions in PCBuild\readme.txt. Then build a release. Follow the instructions in Tools\msi\README.txt. (Make sure, "py" executes a python 3.6, that is writeable by you. And set the environment variables PYTHON and SPHINXBUILD.) Clean your sandbox and run:
> cd Tools\msi > buildrelease.bat --skip-nuget
Then test the installers in PCbuild\amd64\en-us and PCbuild\win32\en-us. If they are OK, upload them. Log into stackless.com and create the version-directory /var/www/stackless/binaries/MSI/$VERSION_NUMBER. VERSION_NUMBER is something like "3.5.4". Then add your ssh-key for stackless.com to Pageant, make sure that the command gpg2 -ba
uses the intended signing-key (hint: create a copy of ~/.gnupg
, set the environment variable GNUPGHOME
to the copy and edit %GNUPGHOME%\\gpg.conf
) and run:
> uploadrelease.bat --host stackless.com --user root --target /var/www/stackless/binaries/MSI --skip-purgeHow to Compile for Windows X64 (2.7 and pre 3.5)
The general rule is to follow the documentation. But there are a few obstacles.
After fetching openssl the modules ssl and hashlib fail to build.
Solution: del externals\openssl-*\ms\nt64.mak
and restart the build.
The debug build fails, because the debug C-runtime msvcrXXd.dll is missing. (Could happen for 32bit builds too, but is less likely).
Solution: install the appropriate assembly or copy the lib and the manifest into the directory with the python executable.
The build with STACKLESS_OFF fails, because the assembly file Stackless\platf\switch_x64_masm.asm refers undefined symbols.
Solution: remove the content of the file Stackless\platf\switch_x64_masm.asm except for the final END
statement. (This assembly file does not get processed by CPP. Therefore the CPP macro STACKLESS_OFF does not affect the assembler.)
See Build Stackless for Conda.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4