Fixes (venv build) reference to SDL_main.h

Also tries the xcodebuild in the virtualenv.
This commit is contained in:
Andre Miras 2020-05-11 10:28:44 +02:00
parent e3dac9ab9b
commit 5c92b68bd5
5 changed files with 11 additions and 4 deletions

View file

@ -69,6 +69,15 @@ jobs:
run: | run: |
. venv/bin/activate . venv/bin/activate
python toolchain.py build python3 kivy python toolchain.py build python3 kivy
- name: Checkout kivy for tests apps
uses: actions/checkout@v2
with:
repository: kivy/kivy
path: kivy-ci-clone
- name: Create & Build test project
run: |
. venv/bin/activate
.ci/test_project.sh
build_updated_recipes: build_updated_recipes:
needs: flake8 needs: flake8

View file

@ -1397,7 +1397,6 @@ pip Install a pip dependency into the distribution
"title": args.name, "title": args.name,
"project_name": args.name.lower(), "project_name": args.name.lower(),
"domain_name": "org.kivy.{}".format(args.name.lower()), "domain_name": "org.kivy.{}".format(args.name.lower()),
"kivy_dir": dirname(dirname(realpath(__file__))),
"project_dir": realpath(args.directory), "project_dir": realpath(args.directory),
"version": "1.0.0", "version": "1.0.0",
"dist_dir": ctx.dist_dir, "dist_dir": ctx.dist_dir,

View file

@ -2,7 +2,6 @@
"title": "", "title": "",
"project_name": "", "project_name": "",
"domain_name": "", "domain_name": "",
"kivy_dir": "",
"project_dir": "", "project_dir": "",
"version": "1.0.0", "version": "1.0.0",
"dist_dir": "" "dist_dir": ""

View file

@ -6,7 +6,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#include "Python.h" #include "Python.h"
#include "{{ cookiecutter.kivy_dir }}/dist/include/common/sdl2/SDL_main.h" #include "{{ cookiecutter.dist_dir }}/include/common/sdl2/SDL_main.h"
#include <dlfcn.h> #include <dlfcn.h>
void export_orientation(); void export_orientation();

View file

@ -16,7 +16,7 @@ def recursive_include(module):
setup( setup(
name="kivy-ios", name="kivy-ios",
version="1.1.1", version="1.1.1.dev0",
description="Kivy for iOS", description="Kivy for iOS",
long_description=read("README.md"), long_description=read("README.md"),
long_description_content_type="text/markdown", long_description_content_type="text/markdown",