From 1ec54e8457afd64001c212f91f9ffe9206356c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20B=C5=82=C4=99dkowski?= <23295125+mbledkowski@users.noreply.github.com> Date: Wed, 29 Sep 2021 02:14:13 +0200 Subject: [PATCH 1/4] Updated to work under Python3 --- apyx_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apyx_example.py b/apyx_example.py index 3f6eb4a..562e50f 100644 --- a/apyx_example.py +++ b/apyx_example.py @@ -52,7 +52,7 @@ if __name__ == '__main__': if not os.path.exists(output_dir): os.makedirs(output_dir) - for name, config in antipixels.iteritems(): + for name, config in antipixels.items(): if 'base' not in config: config['base'] = default_base print("Creating antipixel {0}".format(name)) From 4f7d7a724b62e899543e538a321236fd464ab7ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20B=C5=82=C4=99dkowski?= <23295125+mbledkowski@users.noreply.github.com> Date: Wed, 29 Sep 2021 02:14:13 +0200 Subject: [PATCH 2/4] Removed BitDeli badge and added info on how to install depencencies in README.md file --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0beb2b8..1c4f395 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Antipixels from Python. This is especially useful if you want to quickly generate batches of antipixels. +## Dependencies + +`pip install -r requirements.txt` ## Usage example @@ -78,6 +81,3 @@ antipixels = { For a complete example, have a look at ``apyx_example.py``, in the main project folder. - ------ -[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rshk/apyx/trend.png)](https://bitdeli.com/free "Bitdeli Badge") From 75ba054413592ce0ceac33aa43eb4fb8fa784f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20B=C5=82=C4=99dkowski?= <23295125+mbledkowski@users.noreply.github.com> Date: Wed, 29 Sep 2021 02:14:14 +0200 Subject: [PATCH 3/4] Added requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f983d93 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pillow>=8.3.2 From b80f426f9431ddb3fcb98bbd50c2e11f33e50f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20B=C5=82=C4=99dkowski?= <23295125+mbledkowski@users.noreply.github.com> Date: Wed, 6 Oct 2021 10:52:49 +0200 Subject: [PATCH 4/4] Removed requirements.txt, updated README.md --- README.md | 4 ++-- requirements.txt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 requirements.txt diff --git a/README.md b/README.md index 1c4f395..adc5160 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ Antipixels from Python. This is especially useful if you want to quickly generate batches of antipixels. -## Dependencies +## Installation -`pip install -r requirements.txt` +`pip install .` ## Usage example diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f983d93..0000000 --- a/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -pillow>=8.3.2