From 87f9e109ce56ce3941b3e4822454f2c5171cebaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D1=83=D0=BB=D1=8C=D0=B1=D0=B0?= <81091299+ulbwa@users.noreply.github.com> Date: Sun, 23 Jan 2022 19:11:22 +0500 Subject: [PATCH] 2022.01.23.18 --- MockupEngineer/__init__.py | 6 +++--- readme.md | 38 +++++++++++++++++++------------------- setup.py | 2 +- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/MockupEngineer/__init__.py b/MockupEngineer/__init__.py index 8a6cbc8..fb1c58c 100644 --- a/MockupEngineer/__init__.py +++ b/MockupEngineer/__init__.py @@ -21,8 +21,8 @@ class MockupEngineerInstance: for template in templates.ALL_TEMPLATES: self.templates.append(getattr( - import_module(name='MockupModule.templates.' + template, - package='MockupModule.templates.' + template + '.Device'), 'Device')()) + import_module(name='MockupEngineer.templates.' + template, + package='MockupEngineer.templates.' + template + '.Device'), 'Device')()) def __create_mockups_list__(self) -> str: output = list() @@ -37,7 +37,7 @@ class MockupEngineerInstance: for template in item: output.append( '* [{manufacturer} {name}](https://raw.githubusercontent.com/' - 'ulbwazhine/MockupEngineer/main/MockupModule/' + 'ulbwazhine/MockupEngineer/main/MockupEngineer/' 'templates/{path}/example.png) [{resolution}] ({year})'.format( manufacturer=template.manufacturer, name=template.name, path=template.__template_path__, resolution=template.resolution, diff --git a/readme.md b/readme.md index 16f8cd3..3042410 100644 --- a/readme.md +++ b/readme.md @@ -62,47 +62,47 @@ $ python -m MockupEngineer Full list of all currently supported mockups ### Phones -* [Samsung Galaxy S20](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/galaxys20/example.png) [1440 x 3200] (2020) +* [Samsung Galaxy S20](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/galaxys20/example.png) [1440 x 3200] (2020) * Cloud Blue * Cosmic Grey * Pink -* [Samsung Galaxy S20 Ultra](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/galaxys20/example.png) [1440 x 3200] (2020) +* [Samsung Galaxy S20 Ultra](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/galaxys20/example.png) [1440 x 3200] (2020) * Cosmic Black * Cosmic Grey -* [Apple iPhone 12](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphone12/example.png) [1170 x 2532] (2020) +* [Apple iPhone 12](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone12/example.png) [1170 x 2532] (2020) * Black * Blue * Green * PRODUCT RED * White -* [Apple iPhone 12 Mini](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphone12mini/example.png) [1080 x 2340] (2020) +* [Apple iPhone 12 Mini](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone12mini/example.png) [1080 x 2340] (2020) * Black * Blue * Green * PRODUCT RED * White -* [Apple iPhone 12 Pro](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphone12pro/example.png) [1170 x 2532] (2020) +* [Apple iPhone 12 Pro](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone12pro/example.png) [1170 x 2532] (2020) * Gold * Graphite * Pacific Blue * Silver -* [Apple iPhone 12 Pro Max](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphone12promax/example.png) [1284 x 2778] (2020) +* [Apple iPhone 12 Pro Max](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone12promax/example.png) [1284 x 2778] (2020) * Gold * Graphite * Pacific Blue * Silver -* [Apple iPhone SE](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphonese2020/example.png) [750 x 1334] (2020) +* [Apple iPhone SE](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphonese2020/example.png) [750 x 1334] (2020) * Black * PRODUCT RED * White -* [Apple iPhone Xr](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/iphonexr/example.png) [828 x 1792] (2018) +* [Apple iPhone Xr](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphonexr/example.png) [828 x 1792] (2018) * Blue * Coral * PRODUCT RED @@ -110,58 +110,58 @@ Full list of all currently supported mockups * Space Gray * Yellow -* [Google Pixel](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/pixel/example.png) [1080 x 1920] (2016) +* [Google Pixel](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/pixel/example.png) [1080 x 1920] (2016) * Quite Black * Really Blue * Very Silver -* [Google Pixel 4](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/pixel4/example.png) [1080 x 2280] (2019) +* [Google Pixel 4](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/pixel4/example.png) [1080 x 2280] (2019) * Clearly White * Just Black * Oh So Orange -* [Google Pixel 4 XL](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/pixel4xl/example.png) [1440 x 3040] (2019) +* [Google Pixel 4 XL](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/pixel4xl/example.png) [1440 x 3040] (2019) * Clearly White * Just Black * Oh So Orange -* [Google Pixel 5](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/pixel5/example.png) [1080 x 2340] (2020) +* [Google Pixel 5](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/pixel5/example.png) [1080 x 2340] (2020) * Just Black * Sorta Sage ### Tablets -* [Apple iPad 9](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/ipad9/example.png) [2160 x 1620] (2021) +* [Apple iPad 9](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipad9/example.png) [2160 x 1620] (2021) * Gold * Silver * Space Gray -* [Apple iPad Air 4](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/ipadair4/example.png) [2360 x 1640] (2020) +* [Apple iPad Air 4](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipadair4/example.png) [2360 x 1640] (2020) * Green * Rose Gold * Silver * Sky Blue * Space Gray -* [Apple iPad Mini 5](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/ipadmini5/example.png) [2048 x 1536] (2021) +* [Apple iPad Mini 5](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipadmini5/example.png) [2048 x 1536] (2021) * Gold * Silver * Space Gray -* [Apple iPad Pro 4 11"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/ipadpro114/example.png) [2388 x 1668] (2020) +* [Apple iPad Pro 4 11"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipadpro114/example.png) [2388 x 1668] (2020) * Silver * Space Gray -* [Apple iPad Pro 4 12.9"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/ipadpro134/example.png) [2732 x 2048] (2020) +* [Apple iPad Pro 4 12.9"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipadpro134/example.png) [2732 x 2048] (2020) * Silver * Space Gray ### Computers -* [Apple MacBook 12"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/macbook122016/example.png) [2304 x 1440] (2016) +* [Apple MacBook 12"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/macbook122016/example.png) [2304 x 1440] (2016) * Gold * Space Gray ### Wearable devices -* [Apple Watch Series 6 44mm](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupModule/templates/watchseries644mm/example.png) [368 x 448] (2020) +* [Apple Watch Series 6 44mm](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/watchseries644mm/example.png) [368 x 448] (2020) * Aluminum Case - Blue * Aluminum Case - Gold * Aluminum Case - PRODUCT RED diff --git a/setup.py b/setup.py index a0190fb..3870bac 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='MockupEngineer', - version='2022.01.23.17', + version='2022.01.23.18', packages=find_packages(), url='https://github.com/ulbwazhine/MockupEngineer', license='MIT',