Moving to dedicated kivy_ios/ package directory
- updates all imports to prefix kivy_ios - adds basic `setup.py` file - adds a simple `toolchain.py` to the root folder for compat Makes it possible to install kivy-ios from PyPI: ``` pip install kivy-ios toolchain --help ``` Note the `rebuild_updated_recipes.py` is expected to fail as we moved all the recipes. This is a working, but unperfect iteration that come with limitations we would address in subsequent pull requests, such as: - the new usage is not yet documented - CI is not testing the source distribution creation and install - Continuous Delivery to PyPI is not in place - `toolchain` binary is a bit too generic name - we're still vendoring things under `tools/`
This commit is contained in:
parent
b831483cda
commit
56431b6922
147 changed files with 1660 additions and 1616 deletions
|
@ -25,7 +25,7 @@ def modified_recipes(branch="origin/master"):
|
|||
git_diff = sh.contrib.git.diff("--name-only", branch)
|
||||
recipes = set()
|
||||
for file_path in git_diff:
|
||||
if fnmatch(file_path, "recipes/*/__init__.py\n"):
|
||||
if fnmatch(file_path, "kivy_ios/recipes/*/__init__.py\n"):
|
||||
recipe = file_path.split("/")[1]
|
||||
recipes.add(recipe)
|
||||
return recipes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
|
||||
|
||||
class AudiostreamRecipe(CythonRecipe):
|
|
@ -1,5 +1,5 @@
|
|||
# pure-python package, this can be removed when we'll support any python package
|
||||
from toolchain import PythonRecipe, shprint
|
||||
from kivy_ios.toolchain import PythonRecipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
|
||||
|
||||
class CurlyRecipe(CythonRecipe):
|
|
@ -3,7 +3,7 @@ Author: Lawrence Du, Lukasz Mach
|
|||
E-mail: larrydu88@gmail.com, maho@pagema.net
|
||||
"""
|
||||
|
||||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
|
||||
|
||||
class CymunkRecipe(CythonRecipe):
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import PythonRecipe, shprint
|
||||
from kivy_ios.toolchain import PythonRecipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
from os.path import join
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# pure-python package, this can be removed when we'll support any python package
|
||||
from toolchain import PythonRecipe, shprint
|
||||
from kivy_ios.toolchain import PythonRecipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint, cd, cache_execution
|
||||
from kivy_ios.toolchain import Recipe, shprint, cd, cache_execution
|
||||
import sh
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
import sh
|
||||
from os.path import exists
|
||||
import logging
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import logging
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
from toolchain import Recipe
|
||||
from kivy_ios.toolchain import Recipe
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint, ensure_dir
|
||||
from kivy_ios.toolchain import Recipe, shprint, ensure_dir
|
||||
from os.path import join, exists
|
||||
import os
|
||||
import sh
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, cd, shprint
|
||||
from kivy_ios.toolchain import Recipe, cd, shprint
|
||||
from os.path import join
|
||||
import os
|
||||
import sh
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
|
||||
|
||||
class IosRecipe(CythonRecipe):
|
|
@ -1,5 +1,5 @@
|
|||
# pure-python package, this can be removed when we'll support any python package
|
||||
from toolchain import PythonRecipe, shprint, cd
|
||||
from kivy_ios.toolchain import PythonRecipe, shprint, cd
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# pure-python package, this can be removed when we'll support any python package
|
||||
from toolchain import PythonRecipe, shprint
|
||||
from kivy_ios.toolchain import PythonRecipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -3,7 +3,7 @@ Author: Lawrence Du
|
|||
E-mail: larrydu88@gmail.com
|
||||
"""
|
||||
|
||||
from toolchain import CythonRecipe, shprint
|
||||
from kivy_ios.toolchain import CythonRecipe, shprint
|
||||
import sh
|
||||
from os.path import join
|
||||
from os import chdir
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
from os.path import join
|
||||
import logging
|
||||
import shutil
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
import sh
|
||||
from os.path import exists
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# pure-python package, this can be removed when we'll support any python package
|
||||
from toolchain import PythonRecipe, shprint
|
||||
from kivy_ios.toolchain import PythonRecipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
from os.path import join
|
||||
import sh
|
||||
import shutil
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
|
||||
|
||||
class PhotoRecipe(CythonRecipe):
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe
|
||||
from kivy_ios.toolchain import Recipe
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import PythonRecipe
|
||||
from kivy_ios.toolchain import PythonRecipe
|
||||
|
||||
|
||||
class PlyerRecipe(PythonRecipe):
|
|
@ -1,6 +1,6 @@
|
|||
'''Recipe for pycrypto on ios
|
||||
'''
|
||||
from toolchain import CythonRecipe, shprint, cd
|
||||
from kivy_ios.toolchain import CythonRecipe, shprint, cd
|
||||
from os.path import join
|
||||
import sh
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import PythonRecipe
|
||||
from kivy_ios.toolchain import PythonRecipe
|
||||
|
||||
|
||||
class PykkaRecipe(PythonRecipe):
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import CythonRecipe
|
||||
from kivy_ios.toolchain import CythonRecipe
|
||||
|
||||
|
||||
class PyobjusRecipe(CythonRecipe):
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from toolchain import Recipe
|
||||
from kivy_ios.toolchain import Recipe
|
||||
import logging
|
||||
from os.path import join
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
|
@ -1,4 +1,4 @@
|
|||
from toolchain import Recipe, shprint
|
||||
from kivy_ios.toolchain import Recipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import shutil
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue