Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeha/python-superstatic
static builds for python
https://github.com/zeha/python-superstatic
Last synced: 3 months ago
JSON representation
static builds for python
- Host: GitHub
- URL: https://github.com/zeha/python-superstatic
- Owner: zeha
- License: mit
- Created: 2012-02-07T23:59:38.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-19T17:52:33.000Z (almost 12 years ago)
- Last Synced: 2024-04-21T02:19:26.584Z (9 months ago)
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 22
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This patch and Makefile will yield a static library build of Python2.7.3 (32bit)
for Windows, making it easy to embed python into your application.Prerequisites:
* Python-2.7.3.tgz
* openssl-1.0.1c.tar.gz* nasm 2.09.10 installed, copy nasm.exe to nasmw.exe
* ActivePerl 32-bit binary distribution
* 7zip installed
* Windows SDK 7.1
* GNU patch as patch.exe in PATHRun the build:
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /RELEASE /x86 /xp
SET PATH=C:\Program Files\7-Zip;C:\Program Files (x86)\nasm;%PATH%
nmakeThis will build OpenSSL and then pythonembed.lib in Python-2.7.3\PCbuild. If its about 17MB in size, it's right.
Note that the final pythonembed.lib will have dynamic loading of external C extensions
disabled.