vunghixuan 0.1.3__tar.gz → 0.1.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/PKG-INFO +1 -1
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/setup.py +7 -4
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan/create_gui.py +2 -2
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan.egg-info/PKG-INFO +1 -1
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/setup.cfg +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan/__init__.py +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan/api_and_otp.py +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan/create_project.py +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan/login.py +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan/main.py +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan/settings.py +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan.egg-info/SOURCES.txt +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan.egg-info/dependency_links.txt +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan.egg-info/entry_points.txt +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan.egg-info/requires.txt +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/src/vunghixuan.egg-info/top_level.txt +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/test/test_api_otp.py +0 -0
- {vunghixuan-0.1.3 → vunghixuan-0.1.4}/test/test_create_gui.py +0 -0
@@ -23,12 +23,16 @@ from setuptools import setup, find_packages
|
|
23
23
|
|
24
24
|
setup(
|
25
25
|
name='vunghixuan',
|
26
|
-
version='0.1.
|
26
|
+
version='0.1.4',
|
27
27
|
packages=find_packages(where='src'),
|
28
|
+
package_data={
|
29
|
+
'vunghixuan': ['settings.py'],
|
30
|
+
},
|
28
31
|
description='Get API, OTP, Create Project, Date_created = 2025-01-08',
|
29
32
|
author='Đặng Thanh Vũ',
|
30
33
|
author_email='vunghixuan@gmail.com',
|
31
34
|
package_dir={'': 'src'},
|
35
|
+
|
32
36
|
install_requires=[
|
33
37
|
'pyotp',
|
34
38
|
],
|
@@ -48,16 +52,15 @@ Quy trình phát hành gói Python bao gồm nhiều bước quan trọng, mỗi
|
|
48
52
|
|
49
53
|
Vào folder dist lấy thông tin file và: Sau khi tạo gói, bạn cần vào thư mục dist để tìm file gói đã tạo.
|
50
54
|
|
51
|
-
3. pip install dist/vunghixuan-0.1.
|
55
|
+
3. pip install dist/vunghixuan-0.1.3-py3-none-any.whl: Lệnh này cài đặt gói đã được tạo ra từ thư mục dist.
|
52
56
|
|
53
|
-
4. Cập nhật nếu hỏi: pip install dist/vunghixuan-0.1.
|
57
|
+
4. Cập nhật nếu hỏi: pip install dist/vunghixuan-0.1.3-py3-none-any.whl --force-reinstall: Nếu bạn cần cập nhật gói đã cài đặt, lệnh này sẽ cài đặt lại gói, bất kể phiên bản hiện tại.
|
54
58
|
|
55
59
|
5. Chạy file main lấy opt 6 chứ số và mở pypi đưa vào
|
56
60
|
|
57
61
|
5. Bản 0.1.2: twine upload dist/* -u __token__ -p pypi-AgEIcHlwaS5vcmcCJDdmZmViYzIwLWJkYjctNDhmZC1hOTI3LTM0ZTIyYzQ4Mzk5YgACKlszLCI4OWIwMTU4NS0wNzFhLTQ1M2ItYTU2Yi1lMjU2YTAyYzUzMzkiXQAABiAwRKMR8U-1QAq-lIozrcJy9SwZhwaCG0VUyE1gsZKLWA --verbose
|
58
62
|
|
59
63
|
|
60
|
-
pypi-AgEIcHlwaS5vcmcCJDdmZmViYzIwLWJkYjctNDhmZC1hOTI3LTM0ZTIyYzQ4Mzk5YgACKlszLCI4OWIwMTU4NS0wNzFhLTQ1M2ItYTU2Yi1lMjU2YTAyYzUzMzkiXQAABiAwRKMR8U-1QAq-lIozrcJy9SwZhwaCG0VUyE1gsZKLWA
|
61
64
|
|
62
65
|
Tóm lại, bước 1 và 2 tạo môi trường local, trong khi bước 5 là bước tải lên gói lên PyPI.
|
63
66
|
|
@@ -276,10 +276,10 @@ class MyWindow(QMainWindow):
|
|
276
276
|
|
277
277
|
def update_color_theme(self):
|
278
278
|
color_fnt_bg = self.header.theme_selector.currentText()
|
279
|
-
with open('
|
279
|
+
with open('settings.py', 'r', encoding='utf-8' ) as file:
|
280
280
|
lines = file.readlines()
|
281
281
|
|
282
|
-
with open('
|
282
|
+
with open('settings.py', 'w', encoding='utf-8') as file:
|
283
283
|
for line in lines:
|
284
284
|
if line.startswith('color_fnt_bg'):
|
285
285
|
file.write(f"color_fnt_bg = COLOR_FONT_BACKGROUND['{color_fnt_bg}']\n")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|