Skip to content

Commit f631214

Browse files
committed
updates
1 parent 0f4d515 commit f631214

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,29 @@ res = session.post(
7373
)
7474
```
7575

76+
# Pyinstaller / Pyarmor
77+
**If you want to package the module with Pyinstaller or Pyarmor, make sure to add this to your command:**
78+
79+
Linux:
80+
```
81+
--add-binary '{path_to_library}/tls_client/dependencies/tls-client.so:tls_client/dependencies'
82+
```
83+
84+
MacOS M1 and older:
85+
```
86+
--add-binary '{path_to_library}/tls_client/dependencies/tls-client-x86.dylib:tls_client/dependencies'
87+
```
88+
89+
MacOS M2:
90+
```
91+
--add-binary '{path_to_library}/tls_client/dependencies/tls-client-arm64.dylib:tls_client/dependencies'
92+
```
93+
94+
Windows:
95+
```
96+
--add-binary '{path_to_library}/tls_client/dependencies/tls-client.dll;tls_client/dependencies'
97+
```
98+
7699
# Acknowledgements
77100
Big shout out to [Bogdanfinn](https://github.com/bogdanfinn) for open sourcing his [tls-client](https://github.com/bogdanfinn/tls-client) in Golang.
78101
Also to [requests](https://github.com/psf/requests), as most of the cookie handling is copied from it. :'D

0 commit comments

Comments
 (0)