Skip to content

Commit 7099db2

Browse files
committed
release: 1.1
1 parent 5e07c3d commit 7099db2

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from materialyoucolor.utils.string_utils import argbFromRgb, hexFromArgb
1212

1313
# Define constants
14-
IMAGE_FILE = "/home/tdynamos/Downloads/Pixel 6 Pro Wallpaper_Hellebores-light by Andrew Zuckerman.png" # file
14+
IMAGE_FILE = "/sdcard/Download/Pixel-6-Pro-Wallpaper_Hellebores-dark-by-Andrew-Zuckerman.png" # file
1515
THEME = "Dark" # theme to display
1616
COLOR_INDEX = 0 # index to build theme from
1717

materialyoucolor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = 1.0
1+
__version__ = 1.1

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@
77
with open("README.md", "r") as f:
88
long_description = f.read()
99
f.close()
10-
10+
with open("materialyoucolor/__init__.py","r") as file:
11+
VERSION = file.read().split("=")[-1].strip()
12+
file.close()
13+
1114
setup(
1215
name="materialyoucolor",
13-
version="1.0",
16+
version=VERSION,
1417
description="Material You color generation algorithms in pure python!",
1518
author="Ansh Dadwal",
1619
author_email="[email protected]",

0 commit comments

Comments
 (0)