Turn relative path to absolute path for kivy directory

This commit is contained in:
gfyoung 2016-11-20 03:50:19 -05:00
parent 2ee01cf9e7
commit a4e69fc789
2 changed files with 3 additions and 2 deletions

View file

@ -1185,6 +1185,7 @@ Xcode:
"title": args.name,
"project_name": args.name.lower(),
"domain_name": "org.kivy.{}".format(args.name.lower()),
"kivy_dir": dirname(realpath(__file__)),
"project_dir": realpath(args.directory),
"version": "1.0.0",
"dist_dir": ctx.dist_dir,

View file

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