Commit graph

207 commits

Author SHA1 Message Date
Mirko
9bb9efe0f7
Update to python 3.8.2 (#443)
* bump python version to 3.8.2

* Revert to cython 0.28.1
2020-04-25 20:12:59 +02:00
Richard Larkin
64bd692632
Flake8 CI fixes (#451)
* Pep8 fixes

* tox Pep8 compliance

* Excluded external tools folder from flake 8 tests

* Added Flake 8 exclusions

* Pep8 fixes

* Pep8 fixes

* Corrected type

* Pep8 fixes

* Pep 8 compliance

* Pep8 fixes

* Pep8  fixes

* Pep8 fixes

* Pep8 fixes

* Pep 8 fixes

* Pep 8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8

* Pep8

* Pep 8

* Pep 8

* Pep8 fixes

* Pep8

* Pep8

* Pep8

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Revert chagnes

* Revert changes to kivy/__init.py

* Revert changes

* REvert changes

* Revert changes

* Revert changes to toolchain

* Add files exclusions to tox.ini

* Added exclusions for alias recipes

* Remove dead code

* Added py extension to recipes

* Removed recipe build skip

* Improves recipe matching

Previous expression was matching all the following three lines of a `git diff --name-only` output.
```
recipes/hostlibffi/__init__.py
recipes/hostpython.py
recipes/hostpython2/__init__.py
```
This was resulting to a bug when later splitting with `recipe = file_path.split('/')[1]` the `recipes/hostpython.py` string would return including the `\n` new line char, see:
 ```
>>> 'recipes/hostpython.py\n'.split('/')[1]
'hostpython.py\n'
>>> 'recipes/hostlibffi/__init__.py\n'.split('/')[1]
'hostlibffi'
>>> 
```

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-25 18:28:16 +02:00
Mirko
2e8e9a1709 Add IOS_IS_WINDOWED env switch + update SDL2 (#414)
* Add IOS_IS_WINDOWED env switch + update SDL2

* updated kivy hash
2020-01-12 12:20:06 +01:00
Mathieu Virbel
f288af58d5 launchimage: sips is broken, code using Pillow
sips issues:
- -Z apply on the destination
- -p doesn't work anymore
- --padColor is ignored

Reimplementation using Pillow also allow us to detect the lower/left pixel to determinate background color
of the launchimages.
2019-09-29 12:00:07 +02:00
Mathieu Virbel
dff4995035 xcode: fix traceback showed for numpy.
This is supposed to be for debug only.
2019-09-28 18:08:33 +02:00
Mirko
a2de53bc85 Add gif to KIVY_IMAGE in template (#393) 2019-09-25 17:30:13 +02:00
Mathieu Virbel
8b463f7c88 fixes missing symbol on subprocess.
Fixes #361
Fixes #372
2019-09-22 23:30:37 +02:00
Mathieu Virbel
f8916b95f5 supports assets for Xcode 10.3 2019-09-22 19:54:37 +02:00
mahomahomaho
1fc58cb392 Cymunk py3 (#354)
* - recipe which make cymunk build (but doesn't work)

* - cymunk not only builds, but also can be imported

* - python3=>python in cymunk recipe

* - and even single ['python']
2019-09-16 19:54:49 +02:00
richard
85263a773b Fix inabililty to find included modules 2019-09-16 15:46:31 +02:00
Gabriel Pettier
8d5c8c243f
Merge pull request #340 from learnleapfly/dont_delete_py
Fix Module/Name Not Found errors
2019-01-17 08:45:57 +01:00
Kjell Wooding
c7e7b0f403 re-add PYTHONOPTIMIZE to properly parse .pyo files (at @tito's suggestion) 2019-01-16 23:17:51 -05:00
Kjell Wooding
8c7b619883 don't delete .py files (for now) 2019-01-12 23:40:16 -05:00
Kjell Wooding
b35556b379 increase minapi, remove armv7 (32-bit arm),
link to arm64 by default and use new-style linker flags
2019-01-12 21:12:30 -05:00
Mathieu Virbel
271e235927 add include directory as a reference into the xcode template + force 64 bits archs by default.
Closes #328
Closes #330
Closes #333
2019-01-10 20:43:13 +01:00
Mathieu Virbel
679fc62256 cookiecutter: fix tests for python2 2018-11-16 15:24:19 +01:00
Mathieu Virbel
6f295fd23f xcode: remove old include that is not needed anymore 2018-11-16 10:35:50 +01:00
Mathieu Virbel
9ad9abf9b6 fix cookiecutter project for python3 2018-11-09 18:48:08 +01:00
Mathieu Virbel
5311f0c098 fixes requirements, remove mod_pbxproj and use up to date mod_pbxproj to handle tbd files 2018-10-28 22:07:10 +01:00
Peter Badida
aa01292d81
Add explicit AttributeError for mod_pbxproj._printNewXCodeFormat
In case issue similar to #295 appears again.
2018-07-18 22:50:15 +02:00
Cruor99
ea82e43587 Fix typo in mod_pbxproj.py 2018-07-18 13:44:56 +02:00
amru rosyada
2c9e28f416 add python 3 support detection, in case using python 3 in venv 2018-03-17 12:04:20 +07:00
Mathieu Virbel
31d10db8c7 update icon necessary for publication 2017-05-30 16:05:22 +02:00
Mathieu Virbel
91ecf0fe4a update Kivy to 1.10.0, and fixes import graphics issues. Closes #240 2017-05-14 17:54:14 +02:00
Mathieu Virbel
f1f62f20fb cythonize: prevent invalid replacement of global variables. Ref #240 2017-05-14 17:43:16 +02:00
Mathieu Virbel
04fd25237a Merge pull request #247 from cclauss/patch-1
Leverage set() to find unique items
2017-04-29 00:57:28 +02:00
cclauss
f4d44ac122 data = data.replace(pat, sub) 2017-04-14 02:41:48 +02:00
cclauss
51cafa738b Streamline replacement logic 2017-04-14 02:39:07 +02:00
cclauss
abf8d96adb Leverage set() to find unique items 2017-04-14 01:53:45 +02:00
Richard Larkin
cbb5d76832 Merge pull request #190 from cbenhagen/patch-4
mpath of a six module can be an empty list
2016-11-26 16:35:33 +02:00
gfyoung
a4e69fc789 Turn relative path to absolute path for kivy directory 2016-11-20 21:19:25 -05:00
gfyoung
ec2a343795 Clean up fixes for main.m and toolchain.py 2016-11-19 00:04:06 -05:00
bearnun
fd6829e980 Remove $(SDKROOT)/ResourceRules.plist
When I attempt to push my app to the app store, having the resource rules path populated causees this error: 

ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an invalid key 'CFBundleResourceSpecification' in bundle mingyu [mingyu.app]"

According to this post...: http://stackoverflow.com/questions/32504355/error-itms-90339-this-bundle-is-invalid-the-info-plist-contains-an-invalid-ke

...Deleting the code signing path solves the issue.  This does in fact resolve the above error and I am able to push my app to the app store if I do this. So, I am proposing it be changed in the toolchain as well.
2016-11-16 11:39:31 -06:00
Richard
d661336935 Removed test line 2016-11-06 14:47:55 +02:00
Richard
f48f66363c Added corrected check for KIVY_NO_CONSOLE flag 2016-11-06 14:46:31 +02:00
Richard
d4e3635802 Removed std out re-direction 2016-11-04 12:47:04 +02:00
Richard Larkin
c613068e5b Added comments on orientation control 2016-06-24 11:56:00 +02:00
Ben Hagen
73657fe3b1 mpath of a six module can be an empty list 2016-05-02 22:00:36 +02:00
Joe deBlaquiere
29b4aeec5e cleanup; builds for xcode 6 and 7 2015-11-01 15:27:21 -05:00
Joe deBlaquiere
6443c155f1 build hostpython using MacOS libffi instead of cross-compiled ffi 2015-10-27 13:29:22 -04:00
Mathieu Virbel
51f4844c32 toolchain: dont provide car icon in the xcassets, otherwise we will hit an submission issue: Error ITMS-9000: Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons': 'AppIcon120x120' 2015-08-28 12:25:16 +02:00
Mathieu Virbel
ebe6f551ec toolchain: add icon generation support, similar to launch image 2015-08-14 02:51:48 +02:00
Mathieu Virbel
96fee4f7da toolchain: new command to generate launch image on a project 2015-08-14 02:32:11 +02:00
Mathieu Virbel
ec5fad1680 templates: fix to include framework paths of user-downloaded frameworks 2015-08-07 22:57:04 +02:00
Michael Howitz
01a15fd9f4 Jinja2 requires MarkupSafe at runtime, so add it, too. 2015-05-11 14:36:15 +02:00
Mathieu Virbel
c383263858 template: fix codesign resourcerules missing when building ipa 2015-03-07 22:14:10 +01:00
Mathieu Virbel
e8cca46c33 add jinja2 as embedded/external dependencies 2015-03-06 10:47:32 +01:00
Mathieu Virbel
981b4cabf1 remove all previous tools scripts 2015-03-06 10:42:32 +01:00
Mathieu Virbel
3411cd89f9 templates: don't include any library / framework in the default template, the toolchain will fill the blank with update. 2015-02-24 12:01:37 +01:00
Mathieu Virbel
e51be2eec8 toolchain: handle addition of frameworks/libraries within the Xcode project depending of the compiled recipes.
Done automatically during the creation time, or use the update command
2015-02-23 11:34:36 +01:00