Skip to content

Commit

Permalink
Version 1.1.0 - added support for minify size of SVG file
Browse files Browse the repository at this point in the history
  • Loading branch information
kebu committed Feb 6, 2021
1 parent efa6930 commit fd769e1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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('<output_file.png>')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fd769e1

Please sign in to comment.