From fd769e1d0248ac3072ffb5377fce5d77fcfc72d6 Mon Sep 17 00:00:00 2001 From: "krzysztof.ebert" Date: Sat, 6 Feb 2021 23:05:27 +0100 Subject: [PATCH] Version 1.1.0 - added support for minify size of SVG file --- .travis.yml | 18 +++++++++--------- README.md | 4 ++-- setup.py | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62c9077..269602a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: python -matrix: +jobs: include: - - name: "Python 3.6.8 on Windows" - os: windows # Windows 10.0.17134 N/A Build 17134 - language: shell # 'language: python' is an error on Travis CI Windows + - name: "Python 3.6 on Windows" + os: windows + language: shell before_install: - choco install python --version 3.6.8 - python --version @@ -19,12 +19,12 @@ matrix: - export msys2+=" -msys2 -c "\"\$@"\" --" - $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain - export PATH=/C/tools/msys64/mingw64/bin:$PATH - - export MAKE=mingw32-make # so that Autotools can find it + - export MAKE=mingw32-make - $msys2 pacman -S mingw-w64-x86_64-gtk3 --noconfirm env: PATH=/c/Python36:/c/Python36/Scripts:$PATH - - name: "Python 3.7.4 on Windows" - os: windows # Windows 10.0.17134 N/A Build 17134 - language: shell # 'language: python' is an error on Travis CI Windows + - name: "Python 3.7 on Windows" + os: windows + language: shell before_install: - choco install python --version 3.7.4 - python --version @@ -39,7 +39,7 @@ matrix: - export msys2+=" -msys2 -c "\"\$@"\" --" - $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain - export PATH=/C/tools/msys64/mingw64/bin:$PATH - - export MAKE=mingw32-make # so that Autotools can find it + - export MAKE=mingw32-make - $msys2 pacman -S mingw-w64-x86_64-gtk3 --noconfirm env: PATH=/c/Python37:/c/Python37/Scripts:$PATH - os: linux diff --git a/README.md b/README.md index 149707e..d331a36 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,14 @@ avatar = pa.PyAvataaar( facial_hair_type=pa.FacialHairType.DEFAULT, facial_hair_color=pa.FacialHairColor.BLACK, top_type=pa.TopType.SHORT_HAIR_SHORT_FLAT, - hat_color=pa.ClotheColor.BLACK, + hat_color=pa.Color.BLACK, mouth_type=pa.MouthType.SMILE, eye_type=pa.EyesType.DEFAULT, eyebrow_type=pa.EyebrowType.DEFAULT, nose_type=pa.NoseType.DEFAULT, accessories_type=pa.AccessoriesType.DEFAULT, clothe_type=pa.ClotheType.GRAPHIC_SHIRT, - clothe_color=pa.ClotheColor.HEATHER, + clothe_color=pa.Color.HEATHER, clothe_graphic_type=pa.ClotheGraphicType.BAT, ) avatar.render_png_file('') diff --git a/setup.py b/setup.py index d317892..fdf89ee 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='py-avataaars', - version='1.0.2', + version='1.1.0', license='MIT', description='Python Avatar generator library', long_description=long_description,