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

Directions for setting up osx app via "Using the Kivy SDK" don't work as stated #47

Open
kcrossen opened this issue Mar 12, 2019 · 2 comments

Comments

@kcrossen
Copy link

kcrossen commented Mar 12, 2019

https://kivy.org/doc/stable/guide/packaging-osx.html

This:
osx> ./package-app.sh /path/to/your/<app_folder_name>/
there is no "package-app.sh", should read:
osx> python ./package_app.py /path/to/your/<app_folder_name>/ ...
where ... is all the params from:
osx> python ./package_app.py --help

Also this:
"osx> cp -a /Applications/Kivy.app ./Kivy.App"
after a Python 2 install should read:
"osx> cp -a /Applications/Kivy2.app ./Kivy.App"

The app, as built, still doesn't work though.

@kcrossen
Copy link
Author

More test results:
This works using code from "https://kivy.org/doc/stable/examples/gen__application__app_with_build__py.html#"

$ mkdir packaging
$ cd packaging
$ git clone https://github.com/kivy/kivy-sdk-packager
$ cd kivy-sdk-packager/osx

$ cp -a /Applications/Kivy2.app ./Kivy.App
$ python ./package_app.py /Users/Ken/Documents/PyCharm_Projects/Test_Kivy/ --author=KCrossen --appname=TestKivy --displayname=TestKivy --bundleid=org.techview.testkivy --bundlename=testkivy --with-gstreamer=no

This does not:

$ mkdir packaging
$ cd packaging
$ git clone https://github.com/kivy/kivy-sdk-packager
$ cd kivy-sdk-packager/osx

$ cp -a /Applications/Kivy2.app ./Kivy.App

$ python ./package_app.py /Users/Ken/Documents/PyCharm_Projects/CW_Remote/ --author=KCrossen --appname=CW_Remote --displayname=CW_Remote --bundleid=org.techview.cwremote --bundlename=cwremote --with-gstreamer=no --deps=urllib3,botocore,boto3

Also does not work:

$ mkdir packaging
$ cd packaging
$ git clone https://github.com/kivy/kivy-sdk-packager
$ cd kivy-sdk-packager/osx

$ cp -a /Applications/Kivy2.app ./Kivy.App

$ python ./package_app.py /Users/Ken/Documents/PyCharm_Projects/CW_Remote/ --author=KCrossen --appname=CW_Remote --displayname=CW_Remote --bundleid=org.techview.cwremote --bundlename=cwremote --with-gstreamer=no

where the dependencies have been preinstalled using:
$ pip install <dependency_a> -t .

@jbasko
Copy link

jbasko commented Nov 23, 2019

It's not the issue, but still, all your code examples are copying to Kivy.App when it should be Kivy.app (lowercase a).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants