minor changes for pypi

This commit is contained in:
Tom Schimansky 2021-05-08 12:03:43 +02:00
parent 9958da72c6
commit 0c8e06b150
18 changed files with 50 additions and 1 deletions

8
.gitignore vendored
View File

@ -1,3 +1,9 @@
.DS_Store
.idea/
__pycache__/
__pycache__/
/build/
/dist/
/test/
/documentation_images/customtkinter_design.afdesign
/images/
Readme_pypi.md

16
Readme_pypi.md Normal file
View File

@ -0,0 +1,16 @@
# CustomTkinter
![macOS darkmode](https://raw.githubusercontent.com/TomSchimansky/CustomTkinter/master/documentation_images/customtkinter_mode_switch.gif)
With CustomTkinter you can create modern looking user
interfaces in python with tkinter. CustomTkinter is a
tkinter extension which provides extra ui-elements like
the CTkButton, which can be used like a normal tkinter.Button,
but can be customized with a border and round edges.
CustomTkinter also supports a light and dark theme,
which can either be set manually or get controlled by
the system appearance mode (only macOS).
For detailed information and documentation visit the github page:
https://github.com/TomSchimansky/CustomTkinter

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 636 KiB

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 KiB

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 KiB

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 883 KiB

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 33 KiB

0
examples/__init__.py Normal file
View File

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

6
project.toml Normal file
View File

@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

21
setup.py Normal file
View File

@ -0,0 +1,21 @@
from setuptools import setup
import os
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(name="customtkinter",
version="0.5",
author="Tom Schimansky",
license="Creative Commons Zero v1.0 Universal",
url="https://github.com/TomSchimansky/CustomTkinter",
description="Create modern looking gui with tkinter and python",
long_description_content_type="text/markdown",
long_description=read('Readme_pypi.md'),
packages=["customtkinter"],
classifiers=["Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication"],
install_requires=["darkdetect"])