File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff 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
77100Big shout out to [ Bogdanfinn] ( https://github.com/bogdanfinn ) for open sourcing his [ tls-client] ( https://github.com/bogdanfinn/tls-client ) in Golang.
78101Also to [ requests] ( https://github.com/psf/requests ) , as most of the cookie handling is copied from it. :'D
You can’t perform that action at this time.
0 commit comments