@@ -56,48 +56,45 @@ You can also test the master branch from Github using::
56
56
57
57
pip install git+https://github.com/kivy/python-for-android.git
58
58
59
- Installing Dependencies
59
+ Installing Prerequisites
60
60
~~~~~~~~~~~~~~~~~~~~~~~
61
61
62
- p4a has several dependencies that must be installed:
63
-
64
- - ant
65
- - autoconf (for libffi and other recipes)
66
- - automake
67
- - ccache (optional)
68
- - cmake (required for some native code recipes like jpeg's recipe)
69
- - cython (can be installed via pip)
70
- - gcc
71
- - git
72
- - libncurses (including 32 bit)
73
- - libtool (for libffi and recipes)
74
- - libssl-dev (for TLS/SSL support on hostpython3 and recipe)
75
- - openjdk-8
76
- - patch
77
- - python3
78
- - unzip
79
- - virtualenv (can be installed via pip)
80
- - zlib (including 32 bit)
81
- - zip
82
-
83
- On recent versions of Ubuntu and its derivatives you may be able to
84
- install most of these with::
85
-
86
- sudo dpkg --add-architecture i386
87
- sudo apt-get update
88
- sudo apt-get install -y build-essential ccache git zlib1g-dev python3 python3-dev libncurses5:i386 libstdc++6:i386 zlib1g:i386 openjdk-8-jdk unzip ant ccache autoconf libtool libssl-dev
89
-
90
- On Arch Linux you should be able to run the following to
91
- install most of the dependencies (note: this list may not be
92
- complete)::
62
+ p4a requires a few dependencies to be installed on your system to work
63
+ properly. While we're working on a way to automate pre-requisites checks,
64
+ suggestions and installation on all platforms (macOS is already supported),
65
+ on Linux distros you'll need to install them manually.
93
66
94
- sudo pacman -S core/autoconf core/automake core/gcc core/make core/patch core/pkgconf extra/cmake extra/jdk8-openjdk extra/python-pip extra/unzip extra/zip
67
+ On recent versions of Ubuntu and its derivatives you can easily install them via
68
+ the following command (re-adapted from the `Dockerfile ` we use to perform CI builds)::
95
69
96
- On macOS::
70
+ sudo apt-get update
71
+ sudo apt-get install -y \
72
+ ant \
73
+ autoconf \
74
+ automake \
75
+ ccache \
76
+ cmake \
77
+ g++ \
78
+ gcc \
79
+ git \
80
+ lbzip2 \
81
+ libffi-dev \
82
+ libltdl-dev \
83
+ libtool \
84
+ libssl-dev \
85
+ openjdk-17-jdk \
86
+ patch \
87
+ unzip \
88
+ zip \
89
+ pkg-config \
90
+ python3 \
91
+ python3-dev \
92
+ python3-pip \
93
+ python3-venv \
94
+ make \
95
+ sudo \
96
+ wget
97
97
98
- brew install autoconf automake libtool openssl pkg-config
99
- brew tap homebrew/cask-versions
100
- brew install --cask homebrew/cask-versions/adoptopenjdk8
101
98
102
99
Installing Android SDK
103
100
~~~~~~~~~~~~~~~~~~~~~~
0 commit comments