forked from CharlesShan-hub/tkinter_page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (28 loc) · 960 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="tkinter_page",
version="0.0.5",
author="Charles Shan",
author_email="[email protected]",
description="tkinter components extention",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
url="https://github.com/CharlesShan-hub/tkinter_page",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
#==========
# 建立包
# python3 setup.py sdist bdist_wheel
# 上传
# python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# python3 -m twine upload dist/*
# 测试软件包
# python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps iiapds
# python3 -m pip install --index-url https://pypi.org/simple/ --no-deps iiapds