✨ Remove distribute recipe (#507)
Co-authored-by: richard <richard@dotmodus>
This commit is contained in:
parent
0998ea824a
commit
45875155c5
3 changed files with 0 additions and 27 deletions
|
@ -1,8 +1,5 @@
|
|||
BROKEN_RECIPES = set(
|
||||
[
|
||||
# no attribute 'SourceFileLoader'
|
||||
# https://github.com/kivy/kivy-ios/issues/466
|
||||
"distribute",
|
||||
# 'distutils.core' is not a package
|
||||
# https://github.com/kivy/kivy-ios/issues/467
|
||||
"markupsafe",
|
||||
|
|
|
@ -62,7 +62,6 @@ You can list the available recipes and their versions with:
|
|||
audiostream master
|
||||
click master
|
||||
cymunk master
|
||||
distribute 0.7.3
|
||||
ffmpeg 2.6.3
|
||||
ffpyplayer v3.2
|
||||
flask master
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
from kivy_ios.toolchain import PythonRecipe, shprint
|
||||
from os.path import join
|
||||
import sh
|
||||
import os
|
||||
|
||||
|
||||
class DistributeRecipe(PythonRecipe):
|
||||
version = "0.7.3"
|
||||
url = "https://pypi.python.org/packages/source/d/distribute/distribute-{version}.zip"
|
||||
depends = ["python"]
|
||||
|
||||
def install(self):
|
||||
arch = list(self.filtered_archs)[0]
|
||||
build_dir = self.get_build_dir(arch.arch)
|
||||
os.chdir(build_dir)
|
||||
hostpython = sh.Command(self.ctx.hostpython)
|
||||
build_env = arch.get_env()
|
||||
dest_dir = join(self.ctx.dist_dir, "root", "python")
|
||||
build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python3.7', 'site-packages')
|
||||
shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)
|
||||
|
||||
|
||||
recipe = DistributeRecipe()
|
Loading…
Add table
Reference in a new issue