CustomTkinter/setup.py

35 lines
1.0 KiB
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
2021-12-04 14:54:57 +03:00
# 2 increase both version numbers
# 3. python -m pip install --upgrade build
# 4. python -m build
# 5. python -m twine upload dist/*
2021-08-25 18:33:44 +03:00
#
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",
2022-04-06 01:31:35 +03:00
version="3.9",
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'),
include_package_data=True,
2021-05-08 13:03:43 +03:00
packages=["customtkinter"],
classifiers=["Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication"],
2022-04-06 01:31:35 +03:00
install_requires=["darkdetect"])