README.rst 2.4 KB
Newer Older
RDPStudio_曾维康's avatar
RDPStudio_曾维康 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
This is Hi-Python
=====================

This is a fork of CPython, that is called Hi-Python, and diverges in various
ways from the original.

Our immediate goals are:

- ☑  Windows: Add static linking (performance and lock down)
- ☑  Windows: Reenable Windows 7 support (because why not)
- ☑  LTO linking on Windows (performance and deployment size)
- ☑  Automatic patches for packages built from pip
- ☐  Support all major packages and provide upstream guidance.

Installation
============

Currently, you have to build Hi-Python from source code. It is questionable
if deploying binaries makes sense, as you will have to compile from source code
everything else that is installed afterwards, and the ``python.exe`` will be
self-modifying with pip installs.

Use the following command in the root of a Hi-Python repository checkout:

.. code:: sh

    build.bat -x64

This produces a portable Python installation in the ``output`` folder. It has a
``pip`` and ``setuptools``, but not ``wheel`` out of the box. Hi-Python
supports these all of these though, with differences to standard CPython that
make it essentially always compile from source. Esp. the architecture of
Hi-Python will be different, so binary wheels uploaded to PyPI cannot be
installed, which will make it fallback to compiling from source.

The ``output`` folder can be moved freely, even to other machines. When you
install via ``python.exe -m pip`` however, it will be self-modifying the
``python.exe`` to include the newly installed packages with static linking.


Copyright and License Information
---------------------------------

Copyright (c) 2022 Team X. All rights reserved.

Copyright (c) 2021-2022 Nuitka Organization contributors. All rights reserved.

Copyright (c) 2001-2021 Python Software Foundation.  All rights reserved.

Copyright (c) 2000 BeOpen.com.  All rights reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.  All
rights reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum.  All rights reserved.

See the file "LICENSE" for information on the history of this software, terms &
conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.

This Python distribution contains *no* GNU General Public License (GPL) code,
so it may be used in proprietary projects.  There are interfaces to some GNU
code but these are entirely optional.

All trademarks referenced herein are property of their respective holders.