Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Inspiration for this project was taken from: https://github.com/touilleMan/godot

This project is currently in an early phase of development. Consider this more as a demo and don't use this for bigger projects. At the moment only Windows 64 bit and Linux 64 bit are supported.

You can check out the api documenthation here: [Api Documentation](https://github.com/niklas2902/py4godot/wiki/API-Documentation)
You can check out the api documentation here: [API Documentation](https://github.com/niklas2902/py4godot/wiki/API-Documentation)

## Supported Platforms
- [ ] Windows 32 bit
Expand All @@ -18,7 +18,7 @@ You can check out the api documenthation here: [Api Documentation](https://githu

## Install
Download the .zip from Releases, extract it and copy the folder into the addons folder on the root of your project.
## Prerequesits
## Prerequisites
You need a Python 3 version of at least 3.11 with pip installed.

## How to build
Expand All @@ -34,7 +34,7 @@ $ pip install -r requirements.txt #load dependencies from the textfile requireme

```
### Generating files
We want to generate the files, we will later use for the cython compilation like this:
We want to generate the files we will later use for the cython compilation like this:
```console
$ python generate.py
```
Expand All @@ -60,21 +60,21 @@ $ python build.py --target_platform=windows64 --compiler=msvc
```

### Linux
Building for linux was testet on Ubuntu 20.04.4 LTS
Building for linux was tested on Ubuntu 20.04.4 LTS
#### Setting up a virtual environment (optional)
The following code should be executed after cloning the repo
```console
$ python3 -m venv venv # creating the folder with the virtual environment
$ source venv/bin/activate # starting the virtual environment
$ pip install -r requirements.txt # load dependencies from the text file requirements.txt
```
If you are on Python 3.12, you unfortunately have to use this workarount:
If you are on Python 3.12, you unfortunately have to use this workaround:
```console
$ pip install setuptools #Weirdly cython on linux depends on distutils. But python3.12 doesn't provide this anymore. So we have to use this workaround
$ python copy_distutils.py
```
### Generating files
We want to generate the files, we will later use for the cython compilation like this:
We want to generate the files we will later use for the cython compilation like this:
```console
$ python generate.py
```
Expand Down