PyPtt 1.2.13__tar.gz → 1.2.13.dev90917__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PKG-INFO +1 -1
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/__init__.py +1 -1
- pyptt-1.2.13.dev90917/PyPtt/ssl_config.py +24 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt.egg-info/PKG-INFO +1 -1
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/setup.py +1 -3
- pyptt-1.2.13/PyPtt/ssl_config.py +0 -24
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/LICENSE +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/MANIFEST.in +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/PTT.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_bucket.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_call_status.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_change_pw.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_comment.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_del_post.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_board_info.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_board_list.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_bottom_post_list.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_favourite_board.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_newest_index.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_post.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_post_index.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_time.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_get_user.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_give_money.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_has_new_mail.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_loginout.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_mail.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_mark_post.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_post.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_reply_post.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_search_user.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_set_board_title.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/_api_util.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/check_value.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/command.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/config.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/connect_core.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/data_type.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/exceptions.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/i18n.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/lang_en_US.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/lang_zh_TW.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/lib_util.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/log.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/screens.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt/service.py +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt.egg-info/SOURCES.txt +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt.egg-info/dependency_links.txt +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt.egg-info/requires.txt +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/PyPtt.egg-info/top_level.txt +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/README.md +0 -0
- {pyptt-1.2.13 → pyptt-1.2.13.dev90917}/setup.cfg +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
key = """-----BEGIN EC PARAMETERS-----
|
|
2
|
+
BggqhkjOPQMBBw==
|
|
3
|
+
-----END EC PARAMETERS-----
|
|
4
|
+
-----BEGIN EC PRIVATE KEY-----
|
|
5
|
+
MHcCAQEEIHit9XnExnupbNahUy2w9r8KAfoW7VPHxnuutRLSWzUvoAoGCCqGSM49
|
|
6
|
+
AwEHoUQDQgAE0Sk6fmqeDy5x8q3D9+ziWwZon/pQoL5z3H6NzwZr4g7Q5MdBYsIp
|
|
7
|
+
/D/4EQit0oAImedt20nNs5V7yg7bMNpnNQ==
|
|
8
|
+
-----END EC PRIVATE KEY-----
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
cert = """-----BEGIN CERTIFICATE-----
|
|
12
|
+
MIIB6DCCAY8CFBldwwA6lE9CoSWVmt8Z5h9I3F0mMAoGCCqGSM49BAMCMHcxCzAJ
|
|
13
|
+
BgNVBAYTAlRXMQ4wDAYDVQQIDAVTdGF0ZTENMAsGA1UEBwwEQ2l0eTEVMBMGA1UE
|
|
14
|
+
CgwMT3JnYW5pemF0aW9uMRwwGgYDVQQLDBNPcmdhbml6YXRpb25hbCBVbml0MRQw
|
|
15
|
+
EgYDVQQDDAtDb21tb24gTmFtZTAeFw0yNDA5MDkwMjUyMDdaFw0zNDA5MDcwMjUy
|
|
16
|
+
MDdaMHcxCzAJBgNVBAYTAlRXMQ4wDAYDVQQIDAVTdGF0ZTENMAsGA1UEBwwEQ2l0
|
|
17
|
+
eTEVMBMGA1UECgwMT3JnYW5pemF0aW9uMRwwGgYDVQQLDBNPcmdhbml6YXRpb25h
|
|
18
|
+
bCBVbml0MRQwEgYDVQQDDAtDb21tb24gTmFtZTBZMBMGByqGSM49AgEGCCqGSM49
|
|
19
|
+
AwEHA0IABNEpOn5qng8ucfKtw/fs4lsGaJ/6UKC+c9x+jc8Ga+IO0OTHQWLCKfw/
|
|
20
|
+
+BEIrdKACJnnbdtJzbOVe8oO2zDaZzUwCgYIKoZIzj0EAwIDRwAwRAIgUUkdxyJ3
|
|
21
|
+
bycxT//S4wWMB16suAlzL0io+f01B0In5XoCID+JAIvxU+CT2nfpaL43KMYTr7C5
|
|
22
|
+
aTq2gJjVhDAxA1i6
|
|
23
|
+
-----END CERTIFICATE-----
|
|
24
|
+
"""
|
|
@@ -7,9 +7,7 @@ from setuptools import setup
|
|
|
7
7
|
|
|
8
8
|
def version_automation_script():
|
|
9
9
|
is_merged = os.environ.get('GITHUB_EVENT_NAME') == 'pull_request'
|
|
10
|
-
branch = os.environ.get('GITHUB_REF_NAME')
|
|
11
10
|
print('is_merged:', is_merged)
|
|
12
|
-
print('branch:', branch)
|
|
13
11
|
|
|
14
12
|
# read the main version from __init__.py
|
|
15
13
|
with open('PyPtt/__init__.py', 'r', encoding='utf-8') as f:
|
|
@@ -39,7 +37,7 @@ def version_automation_script():
|
|
|
39
37
|
if version is None or pypi_version is None:
|
|
40
38
|
raise ValueError('Can not get version from pypi')
|
|
41
39
|
|
|
42
|
-
if
|
|
40
|
+
if not is_merged:
|
|
43
41
|
commit_file = '/tmp/commit_hash.txt'
|
|
44
42
|
if os.path.exists(commit_file):
|
|
45
43
|
with open(commit_file, 'r', encoding='utf-8') as f:
|
pyptt-1.2.13/PyPtt/ssl_config.py
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
key = """-----BEGIN EC PARAMETERS-----
|
|
2
|
-
BggqhkjOPQMBBw==
|
|
3
|
-
-----END EC PARAMETERS-----
|
|
4
|
-
-----BEGIN EC PRIVATE KEY-----
|
|
5
|
-
MHcCAQEEIPlyCHd9g7xUfCSjEZiEVuQzYHTwHyQS1ph6IJeuWp0loAoGCCqGSM49
|
|
6
|
-
AwEHoUQDQgAEbzihcA0pY7m4q5+x+5MEka1HNMOzYuotBRKZsuNbIAhQttVpSH59
|
|
7
|
-
WOEQ8otbmNwApn97Rzo8Wc2Hwd1Couc7nA==
|
|
8
|
-
-----END EC PRIVATE KEY-----
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
cert = """-----BEGIN CERTIFICATE-----
|
|
12
|
-
MIIB6DCCAY8CFAqUEaN/XA35JcqUvcOv6ACavBaaMAoGCCqGSM49BAMCMHcxCzAJ
|
|
13
|
-
BgNVBAYTAlRXMQ4wDAYDVQQIDAVTdGF0ZTENMAsGA1UEBwwEQ2l0eTEVMBMGA1UE
|
|
14
|
-
CgwMT3JnYW5pemF0aW9uMRwwGgYDVQQLDBNPcmdhbml6YXRpb25hbCBVbml0MRQw
|
|
15
|
-
EgYDVQQDDAtDb21tb24gTmFtZTAeFw0yNDA5MDkwMzExMTBaFw0zNDA5MDcwMzEx
|
|
16
|
-
MTBaMHcxCzAJBgNVBAYTAlRXMQ4wDAYDVQQIDAVTdGF0ZTENMAsGA1UEBwwEQ2l0
|
|
17
|
-
eTEVMBMGA1UECgwMT3JnYW5pemF0aW9uMRwwGgYDVQQLDBNPcmdhbml6YXRpb25h
|
|
18
|
-
bCBVbml0MRQwEgYDVQQDDAtDb21tb24gTmFtZTBZMBMGByqGSM49AgEGCCqGSM49
|
|
19
|
-
AwEHA0IABG84oXANKWO5uKufsfuTBJGtRzTDs2LqLQUSmbLjWyAIULbVaUh+fVjh
|
|
20
|
-
EPKLW5jcAKZ/e0c6PFnNh8HdQqLnO5wwCgYIKoZIzj0EAwIDRwAwRAIgTW8rYznR
|
|
21
|
-
C0HtopDFIDXfYsAosEaVbFNYgUAFhEJb85ACIC+Tt5Q6HldwlzxeiTjqLJgiJcQX
|
|
22
|
-
Gn7eTXHDpDm24QA4
|
|
23
|
-
-----END CERTIFICATE-----
|
|
24
|
-
"""
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|