Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
tor-browser-build
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 194
    • Issues 194
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Applications
  • tor-browser-build
  • Merge Requests
  • !66

Open
Opened Sep 12, 2020 by yanmaani@yanmaaniContributor
  • Report abuse
Report abuse

Bug 40080: Add reproducible build of Python for Windows

  • Overview 3
  • Commits 3
  • Changes 5

This PR adds a reproducible build of Python 3.8.5 for Windows. This can be used for Namecoin, for example.

It's a separate project because the build system differs heavily from Linux Python's such. It relies on an entirely separate project (github.com/v-finance/cross-python), which re-implements that which is done by autoconf/make in upstream. As such it doesn't use MSVC, which means it doesn't need Wine.

There are some disgusting hacks in the build script. These can probably be cleaned up later, but it consistently produces working executables right now.

Python has a build-time dependency on Python, which we currently solve by depending on python3 in container-image, so this is not bootstrappable as-is. However, reproducible builds of Python for Linux are trivial to do, if a bit cumbersome (Python 3.8 has a build-time dependency on Python 3.6, and so on and so forth.)

Closes #40080.

Edited Sep 14, 2020 by yanmaani
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: tpo/applications/tor-browser-build!66
Source branch: pywin