From 9ea501e36039728386a046bf50e7f4dad9d72bbf Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 13 Jun 2019 11:38:05 +0000 Subject: [PATCH] add android installer --- README.md | 19 ++++--------------- copyparty/__version__.py | 4 ++-- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 3bab9afd..1c5d1b57 100644 --- a/README.md +++ b/README.md @@ -37,25 +37,14 @@ optional, enables thumbnails: * `Pillow` (requires py2.7 or py3.5+) -# install on android (fully automatic soon™) +# install on android -install [Termux](https://termux.com/) (see [ocv.me/termux](https://ocv.me/termux/)) and then +install [Termux](https://termux.com/) (see [ocv.me/termux](https://ocv.me/termux/)) and then copy-paste this into Termux (long-tap) all at once: ```sh -apt install python -python3 -m venv ~/pe/ve.copyparty -. ~/pe/ve.copyparty/bin/activate -pip install jinja2 -# download copyparty somehow, for example from git: -git clone https://github.com/9001/copyparty -cd copyparty -python3 -m copyparty +apt update && apt -y full-upgrade && termux-setup-storage && apt -y install curl && cd && curl -L https://github.com/9001/copyparty/raw/master/scripts/copyparty-android.sh > copyparty-android.sh && chmod 755 copyparty-android.sh && ./copyparty-android.sh -h ``` -for image thumbnails, install optional dependency [Pillow](https://pypi.org/project/Pillow/): -```sh -apt install clang python-dev zlib-dev libjpeg-turbo-dev libcrypt-dev ndk-sysroot -CFLAGS=-I$HOME/../usr/include/ pip install Pillow -``` +after the initial setup (and restarting bash), you can launch copyparty at any time by running "copyparty" in Termux # dev env setup diff --git a/copyparty/__version__.py b/copyparty/__version__.py index f86f40d9..f4fa394e 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ #!/usr/bin/env python # coding: utf-8 -VERSION = (0, 0, 1) -BUILD_DT = (2019, 5, 26) +VERSION = (0, 1, 0) +BUILD_DT = (2019, 6, 13) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)