CustomTkinter/setup.py

33 lines
984 B
Python
Raw Normal View History

2021-05-08 13:03:43 +03:00
from setuptools import setup
import os
2021-09-13 15:27:29 +03:00
# Update on pypi:
2021-08-25 18:33:44 +03:00
#
# 1. delete old /dist
# 2. python3 -m pip install --upgrade build
# 3. python3 -m build
# 4. python3 -m twine upload dist/*
#
2021-05-08 13:03:43 +03:00
def read(filename):
2021-05-08 13:06:59 +03:00
try:
return open(os.path.join(os.path.dirname(__file__), filename)).read()
except Exception as err:
return ""
2021-05-08 13:03:43 +03:00
setup(name="customtkinter",
2021-10-15 14:57:38 +03:00
version="1.3",
2021-05-08 13:03:43 +03:00
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"],
2021-10-15 14:57:38 +03:00
install_requires=["darkdetect"])