Merge pull request #228 from gfyoung/template-nonrelative
Turn relative path to absolute path for kivy directory
This commit is contained in:
commit
c0bb316672
2 changed files with 3 additions and 2 deletions
|
@ -1185,6 +1185,7 @@ Xcode:
|
||||||
"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(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,
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
#include "../dist/root/python/include/python2.7/Python.h"
|
#include "{{ cookiecutter.kivy_dir }}/dist/root/python/include/python2.7/Python.h"
|
||||||
#include "../dist/include/common/sdl2/SDL_main.h"
|
#include "{{ cookiecutter.kivy_dir }}/dist/include/common/sdl2/SDL_main.h"
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
void export_orientation();
|
void export_orientation();
|
||||||
|
|
Loading…
Add table
Reference in a new issue