Metadata-Version: 2.4
Name: pyttd-engine
Version: 15.3.1
Summary: OpenTTD built as a Python extension module, for pyttd
License-Expression: GPL-2.0-only
License-File: openttd/COPYING.md
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Games/Entertainment :: Simulation
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Project-URL: OpenTTD, https://www.openttd.org
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# pyttd-engine

[OpenTTD](https://www.openttd.org) built as a Python extension module, for [pyttd](https://pypi.org/project/pyttd/). It contains the engine, the OpenGFX base set, the English language file, OpenTTD's AI/GS API compatibility scripts and the PyAgent stub AI. Install `pyttd`, which depends on this package, rather than using it directly.

The version follows OpenTTD's: `15.3.x` are builds of OpenTTD 15.3. Joining a multiplayer server needs the server's exact OpenTTD version, so pin it with `pip install "pyttd-engine==15.3.*"`.

## License

GPL-2.0-only, as OpenTTD. The source distribution contains the complete OpenTTD source with our patches (`patches/`) and the bridge (`bridge/`). OpenGFX is GPL-2.0 as well.

## Building from a checkout

```
python tools/prepare.py      # fetch OpenTTD + OpenGFX, verify, patch -> openttd/
pip wheel . -w dist/         # or: pip install .
```
