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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vunghixuan
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Get API, OTP, Create Project, Date_created = 2025-01-08
5
5
  Author: Đặng Thanh Vũ
6
6
  Author-email: vunghixuan@gmail.com
@@ -23,12 +23,16 @@ from setuptools import setup, find_packages
23
23
 
24
24
  setup(
25
25
  name='vunghixuan',
26
- version='0.1.3',
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.2-py3-none-any.whl: Lệnh này cài đặt gói đã được tạo ra từ thư mục dist.
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.1-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.
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('vunghixuan/settings.py', 'r', encoding='utf-8' ) as file:
279
+ with open('settings.py', 'r', encoding='utf-8' ) as file:
280
280
  lines = file.readlines()
281
281
 
282
- with open('vunghixuan/settings.py', 'w', encoding='utf-8') as file:
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")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vunghixuan
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Get API, OTP, Create Project, Date_created = 2025-01-08
5
5
  Author: Đặng Thanh Vũ
6
6
  Author-email: vunghixuan@gmail.com
File without changes