@scrypted/server 0.0.139 → 0.0.143

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.

Potentially problematic release.


This version of @scrypted/server might be problematic. Click here for more details.

Files changed (719) hide show
  1. package/dist/plugin/media.js +20 -15
  2. package/dist/plugin/media.js.map +1 -1
  3. package/dist/rpc.js +9 -5
  4. package/dist/rpc.js.map +1 -1
  5. package/dist/runtime.js +6 -0
  6. package/dist/runtime.js.map +1 -1
  7. package/package.json +2 -2
  8. package/src/plugin/media.ts +20 -16
  9. package/src/rpc.ts +11 -3
  10. package/src/runtime.ts +7 -0
  11. package/.venv/bin/Activate.ps1 +0 -241
  12. package/.venv/bin/activate +0 -66
  13. package/.venv/bin/activate.csh +0 -25
  14. package/.venv/bin/activate.fish +0 -64
  15. package/.venv/bin/pip +0 -8
  16. package/.venv/bin/pip3 +0 -8
  17. package/.venv/bin/pip3.9 +0 -8
  18. package/.venv/lib/python3.9/site-packages/_distutils_hack/__init__.py +0 -198
  19. package/.venv/lib/python3.9/site-packages/_distutils_hack/override.py +0 -1
  20. package/.venv/lib/python3.9/site-packages/distutils-precedence.pth +0 -1
  21. package/.venv/lib/python3.9/site-packages/pgi/__init__.py +0 -62
  22. package/.venv/lib/python3.9/site-packages/pgi/_compat.py +0 -74
  23. package/.venv/lib/python3.9/site-packages/pgi/callback.py +0 -15
  24. package/.venv/lib/python3.9/site-packages/pgi/cffilib/__init__.py +0 -12
  25. package/.venv/lib/python3.9/site-packages/pgi/cffilib/_compat.py +0 -25
  26. package/.venv/lib/python3.9/site-packages/pgi/cffilib/_utils.py +0 -119
  27. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/__init__.py +0 -60
  28. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_cdef.py +0 -574
  29. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_ffi.py +0 -25
  30. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/error.py +0 -13
  31. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giarginfo.py +0 -73
  32. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giargument.py +0 -36
  33. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gibaseinfo.py +0 -113
  34. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gicallableinfo.py +0 -75
  35. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giconstantinfo.py +0 -22
  36. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gienuminfo.py +0 -59
  37. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifieldinfo.py +0 -40
  38. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifunctioninfo.py +0 -64
  39. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giinterfaceinfo.py +0 -93
  40. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giobjectinfo.py +0 -143
  41. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gipropertyinfo.py +0 -28
  42. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giregisteredtypeinfo.py +0 -27
  43. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/girepository.py +0 -143
  44. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gisignalinfo.py +0 -55
  45. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gistructinfo.py +0 -55
  46. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypeinfo.py +0 -66
  47. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypelib.py +0 -40
  48. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giunioninfo.py +0 -66
  49. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/__init__.py +0 -8
  50. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/_cdef.py +0 -101
  51. package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/glib.py +0 -260
  52. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/__init__.py +0 -15
  53. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_cdef.py +0 -45
  54. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_ffi.py +0 -26
  55. package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/gobject.py +0 -27
  56. package/.venv/lib/python3.9/site-packages/pgi/clib/__init__.py +0 -11
  57. package/.venv/lib/python3.9/site-packages/pgi/clib/_compat.py +0 -20
  58. package/.venv/lib/python3.9/site-packages/pgi/clib/_utils.py +0 -213
  59. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/__init__.py +0 -71
  60. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/error.py +0 -13
  61. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giarginfo.py +0 -65
  62. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giargument.py +0 -58
  63. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gibaseinfo.py +0 -152
  64. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gicallableinfo.py +0 -203
  65. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giconstantinfo.py +0 -35
  66. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gienuminfo.py +0 -64
  67. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gifieldinfo.py +0 -46
  68. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giinterfaceinfo.py +0 -83
  69. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giobjectinfo.py +0 -134
  70. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gipropertyinfo.py +0 -36
  71. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giregisteredtypeinfo.py +0 -34
  72. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/girepository.py +0 -200
  73. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gistructinfo.py +0 -55
  74. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypeinfo.py +0 -97
  75. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypelib.py +0 -56
  76. package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giunioninfo.py +0 -60
  77. package/.venv/lib/python3.9/site-packages/pgi/clib/glib.py +0 -336
  78. package/.venv/lib/python3.9/site-packages/pgi/clib/gobject.py +0 -405
  79. package/.venv/lib/python3.9/site-packages/pgi/codegen/__init__.py +0 -28
  80. package/.venv/lib/python3.9/site-packages/pgi/codegen/arguments.py +0 -640
  81. package/.venv/lib/python3.9/site-packages/pgi/codegen/backend.py +0 -95
  82. package/.venv/lib/python3.9/site-packages/pgi/codegen/cbargs.py +0 -152
  83. package/.venv/lib/python3.9/site-packages/pgi/codegen/cbreturn.py +0 -77
  84. package/.venv/lib/python3.9/site-packages/pgi/codegen/cffi_backend.py +0 -424
  85. package/.venv/lib/python3.9/site-packages/pgi/codegen/construct.py +0 -222
  86. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/__init__.py +0 -11
  87. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/main.py +0 -184
  88. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_basic.py +0 -705
  89. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_container.py +0 -236
  90. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_interface.py +0 -402
  91. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_other.py +0 -93
  92. package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/utils.py +0 -168
  93. package/.venv/lib/python3.9/site-packages/pgi/codegen/fieldgen.py +0 -114
  94. package/.venv/lib/python3.9/site-packages/pgi/codegen/fields.py +0 -244
  95. package/.venv/lib/python3.9/site-packages/pgi/codegen/funcgen.py +0 -376
  96. package/.venv/lib/python3.9/site-packages/pgi/codegen/null_backend.py +0 -110
  97. package/.venv/lib/python3.9/site-packages/pgi/codegen/returnvalues.py +0 -443
  98. package/.venv/lib/python3.9/site-packages/pgi/codegen/siggen.py +0 -157
  99. package/.venv/lib/python3.9/site-packages/pgi/codegen/utils.py +0 -248
  100. package/.venv/lib/python3.9/site-packages/pgi/const.py +0 -9
  101. package/.venv/lib/python3.9/site-packages/pgi/constant.py +0 -32
  102. package/.venv/lib/python3.9/site-packages/pgi/debug.py +0 -31
  103. package/.venv/lib/python3.9/site-packages/pgi/enum.py +0 -244
  104. package/.venv/lib/python3.9/site-packages/pgi/field.py +0 -58
  105. package/.venv/lib/python3.9/site-packages/pgi/finalizer.py +0 -3
  106. package/.venv/lib/python3.9/site-packages/pgi/foreign/__init__.py +0 -71
  107. package/.venv/lib/python3.9/site-packages/pgi/foreign/_base.py +0 -43
  108. package/.venv/lib/python3.9/site-packages/pgi/foreign/cairo.py +0 -41
  109. package/.venv/lib/python3.9/site-packages/pgi/function.py +0 -12
  110. package/.venv/lib/python3.9/site-packages/pgi/gerror.py +0 -58
  111. package/.venv/lib/python3.9/site-packages/pgi/gtype.py +0 -168
  112. package/.venv/lib/python3.9/site-packages/pgi/importer.py +0 -189
  113. package/.venv/lib/python3.9/site-packages/pgi/module.py +0 -141
  114. package/.venv/lib/python3.9/site-packages/pgi/obj.py +0 -519
  115. package/.venv/lib/python3.9/site-packages/pgi/overrides/GLib.py +0 -1013
  116. package/.venv/lib/python3.9/site-packages/pgi/overrides/GObject.py +0 -583
  117. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gdk.py +0 -454
  118. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gio.py +0 -237
  119. package/.venv/lib/python3.9/site-packages/pgi/overrides/Gtk.py +0 -2412
  120. package/.venv/lib/python3.9/site-packages/pgi/overrides/Pango.py +0 -53
  121. package/.venv/lib/python3.9/site-packages/pgi/overrides/Poppler.py +0 -61
  122. package/.venv/lib/python3.9/site-packages/pgi/overrides/__init__.py +0 -327
  123. package/.venv/lib/python3.9/site-packages/pgi/overrides/keysyms.py +0 -54
  124. package/.venv/lib/python3.9/site-packages/pgi/properties.py +0 -313
  125. package/.venv/lib/python3.9/site-packages/pgi/propertyhelper.py +0 -12
  126. package/.venv/lib/python3.9/site-packages/pgi/repository/__init__.py +0 -10
  127. package/.venv/lib/python3.9/site-packages/pgi/signalhelper.py +0 -18
  128. package/.venv/lib/python3.9/site-packages/pgi/signals.py +0 -122
  129. package/.venv/lib/python3.9/site-packages/pgi/static.py +0 -189
  130. package/.venv/lib/python3.9/site-packages/pgi/structure.py +0 -131
  131. package/.venv/lib/python3.9/site-packages/pgi/util.py +0 -342
  132. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/COPYING +0 -502
  133. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/INSTALLER +0 -1
  134. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/METADATA +0 -22
  135. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/RECORD +0 -229
  136. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/REQUESTED +0 -0
  137. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/WHEEL +0 -5
  138. package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/top_level.txt +0 -1
  139. package/.venv/lib/python3.9/site-packages/pip/__init__.py +0 -13
  140. package/.venv/lib/python3.9/site-packages/pip/__main__.py +0 -31
  141. package/.venv/lib/python3.9/site-packages/pip/_internal/__init__.py +0 -19
  142. package/.venv/lib/python3.9/site-packages/pip/_internal/build_env.py +0 -293
  143. package/.venv/lib/python3.9/site-packages/pip/_internal/cache.py +0 -264
  144. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/__init__.py +0 -4
  145. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py +0 -163
  146. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/base_command.py +0 -214
  147. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py +0 -1010
  148. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/command_context.py +0 -27
  149. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main.py +0 -70
  150. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py +0 -87
  151. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/parser.py +0 -292
  152. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py +0 -250
  153. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/req_command.py +0 -469
  154. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/spinners.py +0 -157
  155. package/.venv/lib/python3.9/site-packages/pip/_internal/cli/status_codes.py +0 -6
  156. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/__init__.py +0 -127
  157. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/cache.py +0 -223
  158. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/check.py +0 -53
  159. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/completion.py +0 -96
  160. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/configuration.py +0 -266
  161. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/debug.py +0 -202
  162. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/download.py +0 -139
  163. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/freeze.py +0 -97
  164. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/hash.py +0 -59
  165. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/help.py +0 -41
  166. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/index.py +0 -138
  167. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/install.py +0 -770
  168. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/list.py +0 -361
  169. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/search.py +0 -174
  170. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/show.py +0 -235
  171. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py +0 -105
  172. package/.venv/lib/python3.9/site-packages/pip/_internal/commands/wheel.py +0 -177
  173. package/.venv/lib/python3.9/site-packages/pip/_internal/configuration.py +0 -367
  174. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/__init__.py +0 -21
  175. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/base.py +0 -36
  176. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/installed.py +0 -22
  177. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py +0 -129
  178. package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/wheel.py +0 -31
  179. package/.venv/lib/python3.9/site-packages/pip/_internal/exceptions.py +0 -402
  180. package/.venv/lib/python3.9/site-packages/pip/_internal/index/__init__.py +0 -2
  181. package/.venv/lib/python3.9/site-packages/pip/_internal/index/collector.py +0 -536
  182. package/.venv/lib/python3.9/site-packages/pip/_internal/index/package_finder.py +0 -993
  183. package/.venv/lib/python3.9/site-packages/pip/_internal/index/sources.py +0 -224
  184. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/__init__.py +0 -446
  185. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py +0 -169
  186. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_sysconfig.py +0 -219
  187. package/.venv/lib/python3.9/site-packages/pip/_internal/locations/base.py +0 -52
  188. package/.venv/lib/python3.9/site-packages/pip/_internal/main.py +0 -12
  189. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/__init__.py +0 -51
  190. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/base.py +0 -330
  191. package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/pkg_resources.py +0 -146
  192. package/.venv/lib/python3.9/site-packages/pip/_internal/models/__init__.py +0 -2
  193. package/.venv/lib/python3.9/site-packages/pip/_internal/models/candidate.py +0 -34
  194. package/.venv/lib/python3.9/site-packages/pip/_internal/models/direct_url.py +0 -220
  195. package/.venv/lib/python3.9/site-packages/pip/_internal/models/format_control.py +0 -80
  196. package/.venv/lib/python3.9/site-packages/pip/_internal/models/index.py +0 -28
  197. package/.venv/lib/python3.9/site-packages/pip/_internal/models/link.py +0 -288
  198. package/.venv/lib/python3.9/site-packages/pip/_internal/models/scheme.py +0 -31
  199. package/.venv/lib/python3.9/site-packages/pip/_internal/models/search_scope.py +0 -129
  200. package/.venv/lib/python3.9/site-packages/pip/_internal/models/selection_prefs.py +0 -51
  201. package/.venv/lib/python3.9/site-packages/pip/_internal/models/target_python.py +0 -110
  202. package/.venv/lib/python3.9/site-packages/pip/_internal/models/wheel.py +0 -89
  203. package/.venv/lib/python3.9/site-packages/pip/_internal/network/__init__.py +0 -2
  204. package/.venv/lib/python3.9/site-packages/pip/_internal/network/auth.py +0 -323
  205. package/.venv/lib/python3.9/site-packages/pip/_internal/network/cache.py +0 -69
  206. package/.venv/lib/python3.9/site-packages/pip/_internal/network/download.py +0 -184
  207. package/.venv/lib/python3.9/site-packages/pip/_internal/network/lazy_wheel.py +0 -210
  208. package/.venv/lib/python3.9/site-packages/pip/_internal/network/session.py +0 -454
  209. package/.venv/lib/python3.9/site-packages/pip/_internal/network/utils.py +0 -96
  210. package/.venv/lib/python3.9/site-packages/pip/_internal/network/xmlrpc.py +0 -60
  211. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/__init__.py +0 -0
  212. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  213. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata.py +0 -30
  214. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_editable.py +0 -34
  215. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py +0 -67
  216. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel.py +0 -37
  217. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_editable.py +0 -46
  218. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_legacy.py +0 -105
  219. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/check.py +0 -149
  220. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/freeze.py +0 -254
  221. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/__init__.py +0 -2
  222. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/editable_legacy.py +0 -46
  223. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.py +0 -125
  224. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py +0 -738
  225. package/.venv/lib/python3.9/site-packages/pip/_internal/operations/prepare.py +0 -632
  226. package/.venv/lib/python3.9/site-packages/pip/_internal/pyproject.py +0 -183
  227. package/.venv/lib/python3.9/site-packages/pip/_internal/req/__init__.py +0 -94
  228. package/.venv/lib/python3.9/site-packages/pip/_internal/req/constructors.py +0 -466
  229. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_file.py +0 -536
  230. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_install.py +0 -891
  231. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_set.py +0 -189
  232. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_tracker.py +0 -124
  233. package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py +0 -633
  234. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/__init__.py +0 -0
  235. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/base.py +0 -20
  236. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  237. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py +0 -467
  238. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  239. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py +0 -141
  240. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -540
  241. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py +0 -701
  242. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +0 -155
  243. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/provider.py +0 -215
  244. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/reporter.py +0 -68
  245. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/requirements.py +0 -166
  246. package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py +0 -251
  247. package/.venv/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py +0 -182
  248. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/__init__.py +0 -0
  249. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/_log.py +0 -38
  250. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/appdirs.py +0 -52
  251. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compat.py +0 -63
  252. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compatibility_tags.py +0 -165
  253. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/datetime.py +0 -11
  254. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/deprecation.py +0 -120
  255. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/direct_url_helpers.py +0 -87
  256. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/distutils_args.py +0 -42
  257. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/egg_link.py +0 -75
  258. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/encoding.py +0 -36
  259. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py +0 -27
  260. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filesystem.py +0 -182
  261. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filetypes.py +0 -27
  262. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/glibc.py +0 -88
  263. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/hashes.py +0 -144
  264. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/inject_securetransport.py +0 -35
  265. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/logging.py +0 -358
  266. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/misc.py +0 -689
  267. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/models.py +0 -39
  268. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/packaging.py +0 -84
  269. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/parallel.py +0 -103
  270. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/pkg_resources.py +0 -33
  271. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/setuptools_build.py +0 -167
  272. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py +0 -289
  273. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py +0 -246
  274. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/unpacking.py +0 -258
  275. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/urls.py +0 -62
  276. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/virtualenv.py +0 -104
  277. package/.venv/lib/python3.9/site-packages/pip/_internal/utils/wheel.py +0 -182
  278. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/__init__.py +0 -15
  279. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/bazaar.py +0 -93
  280. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/git.py +0 -513
  281. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/mercurial.py +0 -153
  282. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/subversion.py +0 -318
  283. package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/versioncontrol.py +0 -693
  284. package/.venv/lib/python3.9/site-packages/pip/_internal/wheel_builder.py +0 -375
  285. package/.venv/lib/python3.9/site-packages/pip/_vendor/__init__.py +0 -111
  286. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/__init__.py +0 -11
  287. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/_cmd.py +0 -57
  288. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/adapter.py +0 -133
  289. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/cache.py +0 -39
  290. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +0 -2
  291. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +0 -146
  292. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +0 -33
  293. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/compat.py +0 -29
  294. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/controller.py +0 -376
  295. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/filewrapper.py +0 -80
  296. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/heuristics.py +0 -135
  297. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/serialize.py +0 -188
  298. package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/wrapper.py +0 -29
  299. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__init__.py +0 -3
  300. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__main__.py +0 -12
  301. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem +0 -4257
  302. package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/core.py +0 -76
  303. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/__init__.py +0 -83
  304. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5freq.py +0 -386
  305. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5prober.py +0 -47
  306. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/chardistribution.py +0 -233
  307. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetgroupprober.py +0 -107
  308. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetprober.py +0 -145
  309. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -1
  310. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/chardetect.py +0 -84
  311. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/codingstatemachine.py +0 -88
  312. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/compat.py +0 -36
  313. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cp949prober.py +0 -49
  314. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/enums.py +0 -76
  315. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escprober.py +0 -101
  316. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escsm.py +0 -246
  317. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/eucjpprober.py +0 -92
  318. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrfreq.py +0 -195
  319. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrprober.py +0 -47
  320. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwfreq.py +0 -387
  321. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwprober.py +0 -46
  322. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312freq.py +0 -283
  323. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312prober.py +0 -46
  324. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/hebrewprober.py +0 -292
  325. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jisfreq.py +0 -325
  326. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jpcntx.py +0 -233
  327. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +0 -4650
  328. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langgreekmodel.py +0 -4398
  329. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhebrewmodel.py +0 -4383
  330. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhungarianmodel.py +0 -4650
  331. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langrussianmodel.py +0 -5718
  332. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langthaimodel.py +0 -4383
  333. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langturkishmodel.py +0 -4383
  334. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/latin1prober.py +0 -145
  335. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcharsetprober.py +0 -91
  336. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +0 -54
  337. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcssm.py +0 -572
  338. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
  339. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/languages.py +0 -310
  340. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcharsetprober.py +0 -145
  341. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +0 -83
  342. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sjisprober.py +0 -92
  343. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/universaldetector.py +0 -286
  344. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/utf8prober.py +0 -82
  345. package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/version.py +0 -9
  346. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/__init__.py +0 -6
  347. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansi.py +0 -102
  348. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansitowin32.py +0 -258
  349. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/initialise.py +0 -80
  350. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/win32.py +0 -152
  351. package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/winterm.py +0 -169
  352. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/__init__.py +0 -23
  353. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/__init__.py +0 -6
  354. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/misc.py +0 -41
  355. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/shutil.py +0 -764
  356. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +0 -84
  357. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +0 -786
  358. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/tarfile.py +0 -2607
  359. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/compat.py +0 -1122
  360. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/database.py +0 -1339
  361. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/index.py +0 -509
  362. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/locators.py +0 -1300
  363. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/manifest.py +0 -393
  364. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/markers.py +0 -147
  365. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/metadata.py +0 -1058
  366. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/resources.py +0 -358
  367. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/scripts.py +0 -429
  368. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  369. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  370. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  371. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/util.py +0 -1969
  372. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/version.py +0 -739
  373. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  374. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  375. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  376. package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/wheel.py +0 -1053
  377. package/.venv/lib/python3.9/site-packages/pip/_vendor/distro.py +0 -1386
  378. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/__init__.py +0 -35
  379. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_ihatexml.py +0 -289
  380. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_inputstream.py +0 -918
  381. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_tokenizer.py +0 -1735
  382. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/__init__.py +0 -5
  383. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/_base.py +0 -40
  384. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/py.py +0 -67
  385. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_utils.py +0 -159
  386. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/constants.py +0 -2946
  387. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
  388. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +0 -29
  389. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/base.py +0 -12
  390. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +0 -73
  391. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/lint.py +0 -93
  392. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +0 -207
  393. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +0 -916
  394. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/whitespace.py +0 -38
  395. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/html5parser.py +0 -2795
  396. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/serializer.py +0 -409
  397. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -30
  398. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +0 -54
  399. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +0 -50
  400. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +0 -88
  401. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/base.py +0 -417
  402. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +0 -239
  403. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +0 -343
  404. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +0 -392
  405. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +0 -154
  406. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/base.py +0 -252
  407. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +0 -43
  408. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +0 -131
  409. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +0 -215
  410. package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +0 -69
  411. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/__init__.py +0 -44
  412. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/codec.py +0 -117
  413. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/compat.py +0 -16
  414. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/core.py +0 -409
  415. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/idnadata.py +0 -2050
  416. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/intranges.py +0 -58
  417. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/package_data.py +0 -2
  418. package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/uts46data.py +0 -8438
  419. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/__init__.py +0 -54
  420. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/_version.py +0 -1
  421. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/exceptions.py +0 -48
  422. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/ext.py +0 -193
  423. package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/fallback.py +0 -1087
  424. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__about__.py +0 -26
  425. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__init__.py +0 -25
  426. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_manylinux.py +0 -301
  427. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_musllinux.py +0 -136
  428. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_structures.py +0 -67
  429. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py +0 -304
  430. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/requirements.py +0 -146
  431. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py +0 -828
  432. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/tags.py +0 -484
  433. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/utils.py +0 -136
  434. package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/version.py +0 -504
  435. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/__init__.py +0 -6
  436. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/build.py +0 -127
  437. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/check.py +0 -207
  438. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/colorlog.py +0 -115
  439. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/compat.py +0 -51
  440. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/dirtools.py +0 -44
  441. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/envbuild.py +0 -171
  442. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/__init__.py +0 -17
  443. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py +0 -363
  444. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/meta.py +0 -92
  445. package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/wrappers.py +0 -375
  446. package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py +0 -3296
  447. package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/py31compat.py +0 -23
  448. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__init__.py +0 -329
  449. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__main__.py +0 -44
  450. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/android.py +0 -117
  451. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/api.py +0 -155
  452. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.py +0 -62
  453. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/unix.py +0 -180
  454. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/version.py +0 -4
  455. package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/windows.py +0 -180
  456. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/__init__.py +0 -189
  457. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/bar.py +0 -93
  458. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/colors.py +0 -79
  459. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/counter.py +0 -47
  460. package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/spinner.py +0 -45
  461. package/.venv/lib/python3.9/site-packages/pip/_vendor/pyparsing.py +0 -7107
  462. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__init__.py +0 -154
  463. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__version__.py +0 -14
  464. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/_internal_utils.py +0 -42
  465. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py +0 -533
  466. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/api.py +0 -159
  467. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/auth.py +0 -305
  468. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/certs.py +0 -18
  469. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/compat.py +0 -76
  470. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/cookies.py +0 -549
  471. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/exceptions.py +0 -127
  472. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/help.py +0 -132
  473. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/hooks.py +0 -34
  474. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/models.py +0 -966
  475. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/packages.py +0 -16
  476. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py +0 -781
  477. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/status_codes.py +0 -123
  478. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/structures.py +0 -105
  479. package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/utils.py +0 -1013
  480. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/__init__.py +0 -26
  481. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  482. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +0 -6
  483. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
  484. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/reporters.py +0 -37
  485. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py +0 -483
  486. package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py +0 -165
  487. package/.venv/lib/python3.9/site-packages/pip/_vendor/six.py +0 -998
  488. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/__init__.py +0 -517
  489. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_asyncio.py +0 -92
  490. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_utils.py +0 -68
  491. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/after.py +0 -46
  492. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before.py +0 -41
  493. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before_sleep.py +0 -58
  494. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/nap.py +0 -43
  495. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/retry.py +0 -213
  496. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/stop.py +0 -96
  497. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/tornadoweb.py +0 -59
  498. package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/wait.py +0 -191
  499. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/__init__.py +0 -6
  500. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_parser.py +0 -703
  501. package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_re.py +0 -83
  502. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/__init__.py +0 -85
  503. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_collections.py +0 -337
  504. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_version.py +0 -2
  505. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py +0 -569
  506. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py +0 -1078
  507. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  508. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +0 -36
  509. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  510. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +0 -519
  511. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +0 -397
  512. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/appengine.py +0 -314
  513. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +0 -130
  514. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +0 -511
  515. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +0 -922
  516. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/socks.py +0 -216
  517. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/exceptions.py +0 -323
  518. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/fields.py +0 -274
  519. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/filepost.py +0 -98
  520. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -5
  521. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  522. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +0 -51
  523. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/six.py +0 -1077
  524. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py +0 -24
  525. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py +0 -160
  526. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/poolmanager.py +0 -536
  527. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/request.py +0 -170
  528. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py +0 -821
  529. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/__init__.py +0 -49
  530. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/connection.py +0 -150
  531. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/proxy.py +0 -57
  532. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/queue.py +0 -22
  533. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/request.py +0 -143
  534. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/response.py +0 -107
  535. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/retry.py +0 -602
  536. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssl_.py +0 -495
  537. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssltransport.py +0 -221
  538. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/timeout.py +0 -268
  539. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/url.py +0 -432
  540. package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/wait.py +0 -153
  541. package/.venv/lib/python3.9/site-packages/pip/_vendor/vendor.txt +0 -22
  542. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/__init__.py +0 -342
  543. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/labels.py +0 -231
  544. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/mklabels.py +0 -59
  545. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/tests.py +0 -153
  546. package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/x_user_defined.py +0 -325
  547. package/.venv/lib/python3.9/site-packages/pip/py.typed +0 -4
  548. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/INSTALLER +0 -1
  549. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/LICENSE.txt +0 -20
  550. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/METADATA +0 -93
  551. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/RECORD +0 -819
  552. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/REQUESTED +0 -0
  553. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/WHEEL +0 -5
  554. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/entry_points.txt +0 -5
  555. package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/top_level.txt +0 -1
  556. package/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py +0 -3303
  557. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/__init__.py +0 -0
  558. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/appdirs.py +0 -608
  559. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__about__.py +0 -26
  560. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__init__.py +0 -25
  561. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +0 -301
  562. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +0 -136
  563. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_structures.py +0 -67
  564. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/markers.py +0 -304
  565. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py +0 -146
  566. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/specifiers.py +0 -828
  567. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/tags.py +0 -484
  568. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/utils.py +0 -136
  569. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/version.py +0 -504
  570. package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/pyparsing.py +0 -5742
  571. package/.venv/lib/python3.9/site-packages/pkg_resources/extern/__init__.py +0 -73
  572. package/.venv/lib/python3.9/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +0 -6
  573. package/.venv/lib/python3.9/site-packages/setuptools/__init__.py +0 -244
  574. package/.venv/lib/python3.9/site-packages/setuptools/_deprecation_warning.py +0 -7
  575. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/__init__.py +0 -24
  576. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_collections.py +0 -56
  577. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_msvccompiler.py +0 -561
  578. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/archive_util.py +0 -256
  579. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/bcppcompiler.py +0 -393
  580. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py +0 -1123
  581. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py +0 -403
  582. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/__init__.py +0 -31
  583. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist.py +0 -143
  584. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_dumb.py +0 -123
  585. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_msi.py +0 -749
  586. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_rpm.py +0 -579
  587. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_wininst.py +0 -377
  588. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build.py +0 -157
  589. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_clib.py +0 -209
  590. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py +0 -755
  591. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_py.py +0 -392
  592. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_scripts.py +0 -152
  593. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/check.py +0 -148
  594. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/clean.py +0 -76
  595. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/config.py +0 -344
  596. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install.py +0 -775
  597. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_data.py +0 -79
  598. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_egg_info.py +0 -84
  599. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_headers.py +0 -47
  600. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_lib.py +0 -217
  601. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_scripts.py +0 -60
  602. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/py37compat.py +0 -30
  603. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/register.py +0 -304
  604. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py +0 -494
  605. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/upload.py +0 -214
  606. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/config.py +0 -130
  607. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/core.py +0 -249
  608. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cygwinccompiler.py +0 -362
  609. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/debug.py +0 -5
  610. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dep_util.py +0 -92
  611. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dir_util.py +0 -210
  612. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py +0 -1257
  613. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/errors.py +0 -97
  614. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/extension.py +0 -240
  615. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/fancy_getopt.py +0 -457
  616. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/file_util.py +0 -238
  617. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/filelist.py +0 -355
  618. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/log.py +0 -81
  619. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvc9compiler.py +0 -788
  620. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvccompiler.py +0 -643
  621. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py35compat.py +0 -19
  622. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py38compat.py +0 -7
  623. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/spawn.py +0 -106
  624. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/sysconfig.py +0 -567
  625. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/text_file.py +0 -286
  626. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py +0 -325
  627. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/util.py +0 -548
  628. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/version.py +0 -363
  629. package/.venv/lib/python3.9/site-packages/setuptools/_distutils/versionpredicate.py +0 -169
  630. package/.venv/lib/python3.9/site-packages/setuptools/_imp.py +0 -82
  631. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/__init__.py +0 -0
  632. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/__init__.py +0 -4
  633. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/more.py +0 -3825
  634. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/recipes.py +0 -620
  635. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/ordered_set.py +0 -488
  636. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__about__.py +0 -26
  637. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__init__.py +0 -25
  638. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_manylinux.py +0 -301
  639. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_musllinux.py +0 -136
  640. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_structures.py +0 -67
  641. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/markers.py +0 -304
  642. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/requirements.py +0 -146
  643. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/specifiers.py +0 -828
  644. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/tags.py +0 -484
  645. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/utils.py +0 -136
  646. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/version.py +0 -504
  647. package/.venv/lib/python3.9/site-packages/setuptools/_vendor/pyparsing.py +0 -5742
  648. package/.venv/lib/python3.9/site-packages/setuptools/archive_util.py +0 -205
  649. package/.venv/lib/python3.9/site-packages/setuptools/build_meta.py +0 -290
  650. package/.venv/lib/python3.9/site-packages/setuptools/cli-32.exe +0 -0
  651. package/.venv/lib/python3.9/site-packages/setuptools/cli-64.exe +0 -0
  652. package/.venv/lib/python3.9/site-packages/setuptools/cli-arm64.exe +0 -0
  653. package/.venv/lib/python3.9/site-packages/setuptools/cli.exe +0 -0
  654. package/.venv/lib/python3.9/site-packages/setuptools/command/__init__.py +0 -8
  655. package/.venv/lib/python3.9/site-packages/setuptools/command/alias.py +0 -78
  656. package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_egg.py +0 -456
  657. package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_rpm.py +0 -40
  658. package/.venv/lib/python3.9/site-packages/setuptools/command/build_clib.py +0 -101
  659. package/.venv/lib/python3.9/site-packages/setuptools/command/build_ext.py +0 -328
  660. package/.venv/lib/python3.9/site-packages/setuptools/command/build_py.py +0 -242
  661. package/.venv/lib/python3.9/site-packages/setuptools/command/develop.py +0 -193
  662. package/.venv/lib/python3.9/site-packages/setuptools/command/dist_info.py +0 -36
  663. package/.venv/lib/python3.9/site-packages/setuptools/command/easy_install.py +0 -2304
  664. package/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py +0 -755
  665. package/.venv/lib/python3.9/site-packages/setuptools/command/install.py +0 -132
  666. package/.venv/lib/python3.9/site-packages/setuptools/command/install_egg_info.py +0 -62
  667. package/.venv/lib/python3.9/site-packages/setuptools/command/install_lib.py +0 -122
  668. package/.venv/lib/python3.9/site-packages/setuptools/command/install_scripts.py +0 -69
  669. package/.venv/lib/python3.9/site-packages/setuptools/command/launcher manifest.xml +0 -15
  670. package/.venv/lib/python3.9/site-packages/setuptools/command/py36compat.py +0 -134
  671. package/.venv/lib/python3.9/site-packages/setuptools/command/register.py +0 -18
  672. package/.venv/lib/python3.9/site-packages/setuptools/command/rotate.py +0 -64
  673. package/.venv/lib/python3.9/site-packages/setuptools/command/saveopts.py +0 -22
  674. package/.venv/lib/python3.9/site-packages/setuptools/command/sdist.py +0 -196
  675. package/.venv/lib/python3.9/site-packages/setuptools/command/setopt.py +0 -149
  676. package/.venv/lib/python3.9/site-packages/setuptools/command/test.py +0 -252
  677. package/.venv/lib/python3.9/site-packages/setuptools/command/upload.py +0 -17
  678. package/.venv/lib/python3.9/site-packages/setuptools/command/upload_docs.py +0 -202
  679. package/.venv/lib/python3.9/site-packages/setuptools/config.py +0 -751
  680. package/.venv/lib/python3.9/site-packages/setuptools/dep_util.py +0 -25
  681. package/.venv/lib/python3.9/site-packages/setuptools/depends.py +0 -176
  682. package/.venv/lib/python3.9/site-packages/setuptools/dist.py +0 -1156
  683. package/.venv/lib/python3.9/site-packages/setuptools/errors.py +0 -40
  684. package/.venv/lib/python3.9/site-packages/setuptools/extension.py +0 -55
  685. package/.venv/lib/python3.9/site-packages/setuptools/extern/__init__.py +0 -73
  686. package/.venv/lib/python3.9/site-packages/setuptools/glob.py +0 -167
  687. package/.venv/lib/python3.9/site-packages/setuptools/gui-32.exe +0 -0
  688. package/.venv/lib/python3.9/site-packages/setuptools/gui-64.exe +0 -0
  689. package/.venv/lib/python3.9/site-packages/setuptools/gui-arm64.exe +0 -0
  690. package/.venv/lib/python3.9/site-packages/setuptools/gui.exe +0 -0
  691. package/.venv/lib/python3.9/site-packages/setuptools/installer.py +0 -104
  692. package/.venv/lib/python3.9/site-packages/setuptools/launch.py +0 -36
  693. package/.venv/lib/python3.9/site-packages/setuptools/logging.py +0 -30
  694. package/.venv/lib/python3.9/site-packages/setuptools/monkey.py +0 -177
  695. package/.venv/lib/python3.9/site-packages/setuptools/msvc.py +0 -1805
  696. package/.venv/lib/python3.9/site-packages/setuptools/namespaces.py +0 -107
  697. package/.venv/lib/python3.9/site-packages/setuptools/package_index.py +0 -1127
  698. package/.venv/lib/python3.9/site-packages/setuptools/py34compat.py +0 -13
  699. package/.venv/lib/python3.9/site-packages/setuptools/sandbox.py +0 -530
  700. package/.venv/lib/python3.9/site-packages/setuptools/script (dev).tmpl +0 -6
  701. package/.venv/lib/python3.9/site-packages/setuptools/script.tmpl +0 -3
  702. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/__init__.py +0 -0
  703. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/helpers.py +0 -61
  704. package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +0 -218
  705. package/.venv/lib/python3.9/site-packages/setuptools/unicode_utils.py +0 -42
  706. package/.venv/lib/python3.9/site-packages/setuptools/version.py +0 -6
  707. package/.venv/lib/python3.9/site-packages/setuptools/wheel.py +0 -213
  708. package/.venv/lib/python3.9/site-packages/setuptools/windows_support.py +0 -29
  709. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/INSTALLER +0 -1
  710. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/LICENSE +0 -19
  711. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/METADATA +0 -142
  712. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/RECORD +0 -308
  713. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/REQUESTED +0 -0
  714. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/WHEEL +0 -5
  715. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/entry_points.txt +0 -56
  716. package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/top_level.txt +0 -3
  717. package/.venv/pyvenv.cfg +0 -3
  718. package/.vscode/launch.json +0 -62
  719. package/.vscode/settings.json +0 -8
@@ -1,755 +0,0 @@
1
- """distutils.command.build_ext
2
-
3
- Implements the Distutils 'build_ext' command, for building extension
4
- modules (currently limited to C extensions, should accommodate C++
5
- extensions ASAP)."""
6
-
7
- import contextlib
8
- import os
9
- import re
10
- import sys
11
- from distutils.core import Command
12
- from distutils.errors import *
13
- from distutils.sysconfig import customize_compiler, get_python_version
14
- from distutils.sysconfig import get_config_h_filename
15
- from distutils.dep_util import newer_group
16
- from distutils.extension import Extension
17
- from distutils.util import get_platform
18
- from distutils import log
19
- from . import py37compat
20
-
21
- from site import USER_BASE
22
-
23
- # An extension name is just a dot-separated list of Python NAMEs (ie.
24
- # the same as a fully-qualified module name).
25
- extension_name_re = re.compile \
26
- (r'^[a-zA-Z_][a-zA-Z_0-9]*(\.[a-zA-Z_][a-zA-Z_0-9]*)*$')
27
-
28
-
29
- def show_compilers ():
30
- from distutils.ccompiler import show_compilers
31
- show_compilers()
32
-
33
-
34
- class build_ext(Command):
35
-
36
- description = "build C/C++ extensions (compile/link to build directory)"
37
-
38
- # XXX thoughts on how to deal with complex command-line options like
39
- # these, i.e. how to make it so fancy_getopt can suck them off the
40
- # command line and make it look like setup.py defined the appropriate
41
- # lists of tuples of what-have-you.
42
- # - each command needs a callback to process its command-line options
43
- # - Command.__init__() needs access to its share of the whole
44
- # command line (must ultimately come from
45
- # Distribution.parse_command_line())
46
- # - it then calls the current command class' option-parsing
47
- # callback to deal with weird options like -D, which have to
48
- # parse the option text and churn out some custom data
49
- # structure
50
- # - that data structure (in this case, a list of 2-tuples)
51
- # will then be present in the command object by the time
52
- # we get to finalize_options() (i.e. the constructor
53
- # takes care of both command-line and client options
54
- # in between initialize_options() and finalize_options())
55
-
56
- sep_by = " (separated by '%s')" % os.pathsep
57
- user_options = [
58
- ('build-lib=', 'b',
59
- "directory for compiled extension modules"),
60
- ('build-temp=', 't',
61
- "directory for temporary files (build by-products)"),
62
- ('plat-name=', 'p',
63
- "platform name to cross-compile for, if supported "
64
- "(default: %s)" % get_platform()),
65
- ('inplace', 'i',
66
- "ignore build-lib and put compiled extensions into the source " +
67
- "directory alongside your pure Python modules"),
68
- ('include-dirs=', 'I',
69
- "list of directories to search for header files" + sep_by),
70
- ('define=', 'D',
71
- "C preprocessor macros to define"),
72
- ('undef=', 'U',
73
- "C preprocessor macros to undefine"),
74
- ('libraries=', 'l',
75
- "external C libraries to link with"),
76
- ('library-dirs=', 'L',
77
- "directories to search for external C libraries" + sep_by),
78
- ('rpath=', 'R',
79
- "directories to search for shared C libraries at runtime"),
80
- ('link-objects=', 'O',
81
- "extra explicit link objects to include in the link"),
82
- ('debug', 'g',
83
- "compile/link with debugging information"),
84
- ('force', 'f',
85
- "forcibly build everything (ignore file timestamps)"),
86
- ('compiler=', 'c',
87
- "specify the compiler type"),
88
- ('parallel=', 'j',
89
- "number of parallel build jobs"),
90
- ('swig-cpp', None,
91
- "make SWIG create C++ files (default is C)"),
92
- ('swig-opts=', None,
93
- "list of SWIG command line options"),
94
- ('swig=', None,
95
- "path to the SWIG executable"),
96
- ('user', None,
97
- "add user include, library and rpath")
98
- ]
99
-
100
- boolean_options = ['inplace', 'debug', 'force', 'swig-cpp', 'user']
101
-
102
- help_options = [
103
- ('help-compiler', None,
104
- "list available compilers", show_compilers),
105
- ]
106
-
107
- def initialize_options(self):
108
- self.extensions = None
109
- self.build_lib = None
110
- self.plat_name = None
111
- self.build_temp = None
112
- self.inplace = 0
113
- self.package = None
114
-
115
- self.include_dirs = None
116
- self.define = None
117
- self.undef = None
118
- self.libraries = None
119
- self.library_dirs = None
120
- self.rpath = None
121
- self.link_objects = None
122
- self.debug = None
123
- self.force = None
124
- self.compiler = None
125
- self.swig = None
126
- self.swig_cpp = None
127
- self.swig_opts = None
128
- self.user = None
129
- self.parallel = None
130
-
131
- def finalize_options(self):
132
- from distutils import sysconfig
133
-
134
- self.set_undefined_options('build',
135
- ('build_lib', 'build_lib'),
136
- ('build_temp', 'build_temp'),
137
- ('compiler', 'compiler'),
138
- ('debug', 'debug'),
139
- ('force', 'force'),
140
- ('parallel', 'parallel'),
141
- ('plat_name', 'plat_name'),
142
- )
143
-
144
- if self.package is None:
145
- self.package = self.distribution.ext_package
146
-
147
- self.extensions = self.distribution.ext_modules
148
-
149
- # Make sure Python's include directories (for Python.h, pyconfig.h,
150
- # etc.) are in the include search path.
151
- py_include = sysconfig.get_python_inc()
152
- plat_py_include = sysconfig.get_python_inc(plat_specific=1)
153
- if self.include_dirs is None:
154
- self.include_dirs = self.distribution.include_dirs or []
155
- if isinstance(self.include_dirs, str):
156
- self.include_dirs = self.include_dirs.split(os.pathsep)
157
-
158
- # If in a virtualenv, add its include directory
159
- # Issue 16116
160
- if sys.exec_prefix != sys.base_exec_prefix:
161
- self.include_dirs.append(os.path.join(sys.exec_prefix, 'include'))
162
-
163
- # Put the Python "system" include dir at the end, so that
164
- # any local include dirs take precedence.
165
- self.include_dirs.extend(py_include.split(os.path.pathsep))
166
- if plat_py_include != py_include:
167
- self.include_dirs.extend(
168
- plat_py_include.split(os.path.pathsep))
169
-
170
- self.ensure_string_list('libraries')
171
- self.ensure_string_list('link_objects')
172
-
173
- # Life is easier if we're not forever checking for None, so
174
- # simplify these options to empty lists if unset
175
- if self.libraries is None:
176
- self.libraries = []
177
- if self.library_dirs is None:
178
- self.library_dirs = []
179
- elif isinstance(self.library_dirs, str):
180
- self.library_dirs = self.library_dirs.split(os.pathsep)
181
-
182
- if self.rpath is None:
183
- self.rpath = []
184
- elif isinstance(self.rpath, str):
185
- self.rpath = self.rpath.split(os.pathsep)
186
-
187
- # for extensions under windows use different directories
188
- # for Release and Debug builds.
189
- # also Python's library directory must be appended to library_dirs
190
- if os.name == 'nt':
191
- # the 'libs' directory is for binary installs - we assume that
192
- # must be the *native* platform. But we don't really support
193
- # cross-compiling via a binary install anyway, so we let it go.
194
- self.library_dirs.append(os.path.join(sys.exec_prefix, 'libs'))
195
- if sys.base_exec_prefix != sys.prefix: # Issue 16116
196
- self.library_dirs.append(os.path.join(sys.base_exec_prefix, 'libs'))
197
- if self.debug:
198
- self.build_temp = os.path.join(self.build_temp, "Debug")
199
- else:
200
- self.build_temp = os.path.join(self.build_temp, "Release")
201
-
202
- # Append the source distribution include and library directories,
203
- # this allows distutils on windows to work in the source tree
204
- self.include_dirs.append(os.path.dirname(get_config_h_filename()))
205
- self.library_dirs.append(sys.base_exec_prefix)
206
-
207
- # Use the .lib files for the correct architecture
208
- if self.plat_name == 'win32':
209
- suffix = 'win32'
210
- else:
211
- # win-amd64
212
- suffix = self.plat_name[4:]
213
- new_lib = os.path.join(sys.exec_prefix, 'PCbuild')
214
- if suffix:
215
- new_lib = os.path.join(new_lib, suffix)
216
- self.library_dirs.append(new_lib)
217
-
218
- # For extensions under Cygwin, Python's library directory must be
219
- # appended to library_dirs
220
- if sys.platform[:6] == 'cygwin':
221
- if not sysconfig.python_build:
222
- # building third party extensions
223
- self.library_dirs.append(os.path.join(sys.prefix, "lib",
224
- "python" + get_python_version(),
225
- "config"))
226
- else:
227
- # building python standard extensions
228
- self.library_dirs.append('.')
229
-
230
- # For building extensions with a shared Python library,
231
- # Python's library directory must be appended to library_dirs
232
- # See Issues: #1600860, #4366
233
- if (sysconfig.get_config_var('Py_ENABLE_SHARED')):
234
- if not sysconfig.python_build:
235
- # building third party extensions
236
- self.library_dirs.append(sysconfig.get_config_var('LIBDIR'))
237
- else:
238
- # building python standard extensions
239
- self.library_dirs.append('.')
240
-
241
- # The argument parsing will result in self.define being a string, but
242
- # it has to be a list of 2-tuples. All the preprocessor symbols
243
- # specified by the 'define' option will be set to '1'. Multiple
244
- # symbols can be separated with commas.
245
-
246
- if self.define:
247
- defines = self.define.split(',')
248
- self.define = [(symbol, '1') for symbol in defines]
249
-
250
- # The option for macros to undefine is also a string from the
251
- # option parsing, but has to be a list. Multiple symbols can also
252
- # be separated with commas here.
253
- if self.undef:
254
- self.undef = self.undef.split(',')
255
-
256
- if self.swig_opts is None:
257
- self.swig_opts = []
258
- else:
259
- self.swig_opts = self.swig_opts.split(' ')
260
-
261
- # Finally add the user include and library directories if requested
262
- if self.user:
263
- user_include = os.path.join(USER_BASE, "include")
264
- user_lib = os.path.join(USER_BASE, "lib")
265
- if os.path.isdir(user_include):
266
- self.include_dirs.append(user_include)
267
- if os.path.isdir(user_lib):
268
- self.library_dirs.append(user_lib)
269
- self.rpath.append(user_lib)
270
-
271
- if isinstance(self.parallel, str):
272
- try:
273
- self.parallel = int(self.parallel)
274
- except ValueError:
275
- raise DistutilsOptionError("parallel should be an integer")
276
-
277
- def run(self):
278
- from distutils.ccompiler import new_compiler
279
-
280
- # 'self.extensions', as supplied by setup.py, is a list of
281
- # Extension instances. See the documentation for Extension (in
282
- # distutils.extension) for details.
283
- #
284
- # For backwards compatibility with Distutils 0.8.2 and earlier, we
285
- # also allow the 'extensions' list to be a list of tuples:
286
- # (ext_name, build_info)
287
- # where build_info is a dictionary containing everything that
288
- # Extension instances do except the name, with a few things being
289
- # differently named. We convert these 2-tuples to Extension
290
- # instances as needed.
291
-
292
- if not self.extensions:
293
- return
294
-
295
- # If we were asked to build any C/C++ libraries, make sure that the
296
- # directory where we put them is in the library search path for
297
- # linking extensions.
298
- if self.distribution.has_c_libraries():
299
- build_clib = self.get_finalized_command('build_clib')
300
- self.libraries.extend(build_clib.get_library_names() or [])
301
- self.library_dirs.append(build_clib.build_clib)
302
-
303
- # Setup the CCompiler object that we'll use to do all the
304
- # compiling and linking
305
- self.compiler = new_compiler(compiler=self.compiler,
306
- verbose=self.verbose,
307
- dry_run=self.dry_run,
308
- force=self.force)
309
- customize_compiler(self.compiler)
310
- # If we are cross-compiling, init the compiler now (if we are not
311
- # cross-compiling, init would not hurt, but people may rely on
312
- # late initialization of compiler even if they shouldn't...)
313
- if os.name == 'nt' and self.plat_name != get_platform():
314
- self.compiler.initialize(self.plat_name)
315
-
316
- # And make sure that any compile/link-related options (which might
317
- # come from the command-line or from the setup script) are set in
318
- # that CCompiler object -- that way, they automatically apply to
319
- # all compiling and linking done here.
320
- if self.include_dirs is not None:
321
- self.compiler.set_include_dirs(self.include_dirs)
322
- if self.define is not None:
323
- # 'define' option is a list of (name,value) tuples
324
- for (name, value) in self.define:
325
- self.compiler.define_macro(name, value)
326
- if self.undef is not None:
327
- for macro in self.undef:
328
- self.compiler.undefine_macro(macro)
329
- if self.libraries is not None:
330
- self.compiler.set_libraries(self.libraries)
331
- if self.library_dirs is not None:
332
- self.compiler.set_library_dirs(self.library_dirs)
333
- if self.rpath is not None:
334
- self.compiler.set_runtime_library_dirs(self.rpath)
335
- if self.link_objects is not None:
336
- self.compiler.set_link_objects(self.link_objects)
337
-
338
- # Now actually compile and link everything.
339
- self.build_extensions()
340
-
341
- def check_extensions_list(self, extensions):
342
- """Ensure that the list of extensions (presumably provided as a
343
- command option 'extensions') is valid, i.e. it is a list of
344
- Extension objects. We also support the old-style list of 2-tuples,
345
- where the tuples are (ext_name, build_info), which are converted to
346
- Extension instances here.
347
-
348
- Raise DistutilsSetupError if the structure is invalid anywhere;
349
- just returns otherwise.
350
- """
351
- if not isinstance(extensions, list):
352
- raise DistutilsSetupError(
353
- "'ext_modules' option must be a list of Extension instances")
354
-
355
- for i, ext in enumerate(extensions):
356
- if isinstance(ext, Extension):
357
- continue # OK! (assume type-checking done
358
- # by Extension constructor)
359
-
360
- if not isinstance(ext, tuple) or len(ext) != 2:
361
- raise DistutilsSetupError(
362
- "each element of 'ext_modules' option must be an "
363
- "Extension instance or 2-tuple")
364
-
365
- ext_name, build_info = ext
366
-
367
- log.warn("old-style (ext_name, build_info) tuple found in "
368
- "ext_modules for extension '%s' "
369
- "-- please convert to Extension instance", ext_name)
370
-
371
- if not (isinstance(ext_name, str) and
372
- extension_name_re.match(ext_name)):
373
- raise DistutilsSetupError(
374
- "first element of each tuple in 'ext_modules' "
375
- "must be the extension name (a string)")
376
-
377
- if not isinstance(build_info, dict):
378
- raise DistutilsSetupError(
379
- "second element of each tuple in 'ext_modules' "
380
- "must be a dictionary (build info)")
381
-
382
- # OK, the (ext_name, build_info) dict is type-safe: convert it
383
- # to an Extension instance.
384
- ext = Extension(ext_name, build_info['sources'])
385
-
386
- # Easy stuff: one-to-one mapping from dict elements to
387
- # instance attributes.
388
- for key in ('include_dirs', 'library_dirs', 'libraries',
389
- 'extra_objects', 'extra_compile_args',
390
- 'extra_link_args'):
391
- val = build_info.get(key)
392
- if val is not None:
393
- setattr(ext, key, val)
394
-
395
- # Medium-easy stuff: same syntax/semantics, different names.
396
- ext.runtime_library_dirs = build_info.get('rpath')
397
- if 'def_file' in build_info:
398
- log.warn("'def_file' element of build info dict "
399
- "no longer supported")
400
-
401
- # Non-trivial stuff: 'macros' split into 'define_macros'
402
- # and 'undef_macros'.
403
- macros = build_info.get('macros')
404
- if macros:
405
- ext.define_macros = []
406
- ext.undef_macros = []
407
- for macro in macros:
408
- if not (isinstance(macro, tuple) and len(macro) in (1, 2)):
409
- raise DistutilsSetupError(
410
- "'macros' element of build info dict "
411
- "must be 1- or 2-tuple")
412
- if len(macro) == 1:
413
- ext.undef_macros.append(macro[0])
414
- elif len(macro) == 2:
415
- ext.define_macros.append(macro)
416
-
417
- extensions[i] = ext
418
-
419
- def get_source_files(self):
420
- self.check_extensions_list(self.extensions)
421
- filenames = []
422
-
423
- # Wouldn't it be neat if we knew the names of header files too...
424
- for ext in self.extensions:
425
- filenames.extend(ext.sources)
426
- return filenames
427
-
428
- def get_outputs(self):
429
- # Sanity check the 'extensions' list -- can't assume this is being
430
- # done in the same run as a 'build_extensions()' call (in fact, we
431
- # can probably assume that it *isn't*!).
432
- self.check_extensions_list(self.extensions)
433
-
434
- # And build the list of output (built) filenames. Note that this
435
- # ignores the 'inplace' flag, and assumes everything goes in the
436
- # "build" tree.
437
- outputs = []
438
- for ext in self.extensions:
439
- outputs.append(self.get_ext_fullpath(ext.name))
440
- return outputs
441
-
442
- def build_extensions(self):
443
- # First, sanity-check the 'extensions' list
444
- self.check_extensions_list(self.extensions)
445
- if self.parallel:
446
- self._build_extensions_parallel()
447
- else:
448
- self._build_extensions_serial()
449
-
450
- def _build_extensions_parallel(self):
451
- workers = self.parallel
452
- if self.parallel is True:
453
- workers = os.cpu_count() # may return None
454
- try:
455
- from concurrent.futures import ThreadPoolExecutor
456
- except ImportError:
457
- workers = None
458
-
459
- if workers is None:
460
- self._build_extensions_serial()
461
- return
462
-
463
- with ThreadPoolExecutor(max_workers=workers) as executor:
464
- futures = [executor.submit(self.build_extension, ext)
465
- for ext in self.extensions]
466
- for ext, fut in zip(self.extensions, futures):
467
- with self._filter_build_errors(ext):
468
- fut.result()
469
-
470
- def _build_extensions_serial(self):
471
- for ext in self.extensions:
472
- with self._filter_build_errors(ext):
473
- self.build_extension(ext)
474
-
475
- @contextlib.contextmanager
476
- def _filter_build_errors(self, ext):
477
- try:
478
- yield
479
- except (CCompilerError, DistutilsError, CompileError) as e:
480
- if not ext.optional:
481
- raise
482
- self.warn('building extension "%s" failed: %s' %
483
- (ext.name, e))
484
-
485
- def build_extension(self, ext):
486
- sources = ext.sources
487
- if sources is None or not isinstance(sources, (list, tuple)):
488
- raise DistutilsSetupError(
489
- "in 'ext_modules' option (extension '%s'), "
490
- "'sources' must be present and must be "
491
- "a list of source filenames" % ext.name)
492
- # sort to make the resulting .so file build reproducible
493
- sources = sorted(sources)
494
-
495
- ext_path = self.get_ext_fullpath(ext.name)
496
- depends = sources + ext.depends
497
- if not (self.force or newer_group(depends, ext_path, 'newer')):
498
- log.debug("skipping '%s' extension (up-to-date)", ext.name)
499
- return
500
- else:
501
- log.info("building '%s' extension", ext.name)
502
-
503
- # First, scan the sources for SWIG definition files (.i), run
504
- # SWIG on 'em to create .c files, and modify the sources list
505
- # accordingly.
506
- sources = self.swig_sources(sources, ext)
507
-
508
- # Next, compile the source code to object files.
509
-
510
- # XXX not honouring 'define_macros' or 'undef_macros' -- the
511
- # CCompiler API needs to change to accommodate this, and I
512
- # want to do one thing at a time!
513
-
514
- # Two possible sources for extra compiler arguments:
515
- # - 'extra_compile_args' in Extension object
516
- # - CFLAGS environment variable (not particularly
517
- # elegant, but people seem to expect it and I
518
- # guess it's useful)
519
- # The environment variable should take precedence, and
520
- # any sensible compiler will give precedence to later
521
- # command line args. Hence we combine them in order:
522
- extra_args = ext.extra_compile_args or []
523
-
524
- macros = ext.define_macros[:]
525
- for undef in ext.undef_macros:
526
- macros.append((undef,))
527
-
528
- objects = self.compiler.compile(sources,
529
- output_dir=self.build_temp,
530
- macros=macros,
531
- include_dirs=ext.include_dirs,
532
- debug=self.debug,
533
- extra_postargs=extra_args,
534
- depends=ext.depends)
535
-
536
- # XXX outdated variable, kept here in case third-part code
537
- # needs it.
538
- self._built_objects = objects[:]
539
-
540
- # Now link the object files together into a "shared object" --
541
- # of course, first we have to figure out all the other things
542
- # that go into the mix.
543
- if ext.extra_objects:
544
- objects.extend(ext.extra_objects)
545
- extra_args = ext.extra_link_args or []
546
-
547
- # Detect target language, if not provided
548
- language = ext.language or self.compiler.detect_language(sources)
549
-
550
- self.compiler.link_shared_object(
551
- objects, ext_path,
552
- libraries=self.get_libraries(ext),
553
- library_dirs=ext.library_dirs,
554
- runtime_library_dirs=ext.runtime_library_dirs,
555
- extra_postargs=extra_args,
556
- export_symbols=self.get_export_symbols(ext),
557
- debug=self.debug,
558
- build_temp=self.build_temp,
559
- target_lang=language)
560
-
561
- def swig_sources(self, sources, extension):
562
- """Walk the list of source files in 'sources', looking for SWIG
563
- interface (.i) files. Run SWIG on all that are found, and
564
- return a modified 'sources' list with SWIG source files replaced
565
- by the generated C (or C++) files.
566
- """
567
- new_sources = []
568
- swig_sources = []
569
- swig_targets = {}
570
-
571
- # XXX this drops generated C/C++ files into the source tree, which
572
- # is fine for developers who want to distribute the generated
573
- # source -- but there should be an option to put SWIG output in
574
- # the temp dir.
575
-
576
- if self.swig_cpp:
577
- log.warn("--swig-cpp is deprecated - use --swig-opts=-c++")
578
-
579
- if self.swig_cpp or ('-c++' in self.swig_opts) or \
580
- ('-c++' in extension.swig_opts):
581
- target_ext = '.cpp'
582
- else:
583
- target_ext = '.c'
584
-
585
- for source in sources:
586
- (base, ext) = os.path.splitext(source)
587
- if ext == ".i": # SWIG interface file
588
- new_sources.append(base + '_wrap' + target_ext)
589
- swig_sources.append(source)
590
- swig_targets[source] = new_sources[-1]
591
- else:
592
- new_sources.append(source)
593
-
594
- if not swig_sources:
595
- return new_sources
596
-
597
- swig = self.swig or self.find_swig()
598
- swig_cmd = [swig, "-python"]
599
- swig_cmd.extend(self.swig_opts)
600
- if self.swig_cpp:
601
- swig_cmd.append("-c++")
602
-
603
- # Do not override commandline arguments
604
- if not self.swig_opts:
605
- for o in extension.swig_opts:
606
- swig_cmd.append(o)
607
-
608
- for source in swig_sources:
609
- target = swig_targets[source]
610
- log.info("swigging %s to %s", source, target)
611
- self.spawn(swig_cmd + ["-o", target, source])
612
-
613
- return new_sources
614
-
615
- def find_swig(self):
616
- """Return the name of the SWIG executable. On Unix, this is
617
- just "swig" -- it should be in the PATH. Tries a bit harder on
618
- Windows.
619
- """
620
- if os.name == "posix":
621
- return "swig"
622
- elif os.name == "nt":
623
- # Look for SWIG in its standard installation directory on
624
- # Windows (or so I presume!). If we find it there, great;
625
- # if not, act like Unix and assume it's in the PATH.
626
- for vers in ("1.3", "1.2", "1.1"):
627
- fn = os.path.join("c:\\swig%s" % vers, "swig.exe")
628
- if os.path.isfile(fn):
629
- return fn
630
- else:
631
- return "swig.exe"
632
- else:
633
- raise DistutilsPlatformError(
634
- "I don't know how to find (much less run) SWIG "
635
- "on platform '%s'" % os.name)
636
-
637
- # -- Name generators -----------------------------------------------
638
- # (extension names, filenames, whatever)
639
- def get_ext_fullpath(self, ext_name):
640
- """Returns the path of the filename for a given extension.
641
-
642
- The file is located in `build_lib` or directly in the package
643
- (inplace option).
644
- """
645
- fullname = self.get_ext_fullname(ext_name)
646
- modpath = fullname.split('.')
647
- filename = self.get_ext_filename(modpath[-1])
648
-
649
- if not self.inplace:
650
- # no further work needed
651
- # returning :
652
- # build_dir/package/path/filename
653
- filename = os.path.join(*modpath[:-1]+[filename])
654
- return os.path.join(self.build_lib, filename)
655
-
656
- # the inplace option requires to find the package directory
657
- # using the build_py command for that
658
- package = '.'.join(modpath[0:-1])
659
- build_py = self.get_finalized_command('build_py')
660
- package_dir = os.path.abspath(build_py.get_package_dir(package))
661
-
662
- # returning
663
- # package_dir/filename
664
- return os.path.join(package_dir, filename)
665
-
666
- def get_ext_fullname(self, ext_name):
667
- """Returns the fullname of a given extension name.
668
-
669
- Adds the `package.` prefix"""
670
- if self.package is None:
671
- return ext_name
672
- else:
673
- return self.package + '.' + ext_name
674
-
675
- def get_ext_filename(self, ext_name):
676
- r"""Convert the name of an extension (eg. "foo.bar") into the name
677
- of the file from which it will be loaded (eg. "foo/bar.so", or
678
- "foo\bar.pyd").
679
- """
680
- from distutils.sysconfig import get_config_var
681
- ext_path = ext_name.split('.')
682
- ext_suffix = get_config_var('EXT_SUFFIX')
683
- return os.path.join(*ext_path) + ext_suffix
684
-
685
- def get_export_symbols(self, ext):
686
- """Return the list of symbols that a shared extension has to
687
- export. This either uses 'ext.export_symbols' or, if it's not
688
- provided, "PyInit_" + module_name. Only relevant on Windows, where
689
- the .pyd file (DLL) must export the module "PyInit_" function.
690
- """
691
- name = ext.name.split('.')[-1]
692
- try:
693
- # Unicode module name support as defined in PEP-489
694
- # https://www.python.org/dev/peps/pep-0489/#export-hook-name
695
- name.encode('ascii')
696
- except UnicodeEncodeError:
697
- suffix = 'U_' + name.encode('punycode').replace(b'-', b'_').decode('ascii')
698
- else:
699
- suffix = "_" + name
700
-
701
- initfunc_name = "PyInit" + suffix
702
- if initfunc_name not in ext.export_symbols:
703
- ext.export_symbols.append(initfunc_name)
704
- return ext.export_symbols
705
-
706
- def get_libraries(self, ext):
707
- """Return the list of libraries to link against when building a
708
- shared extension. On most platforms, this is just 'ext.libraries';
709
- on Windows, we add the Python library (eg. python20.dll).
710
- """
711
- # The python library is always needed on Windows. For MSVC, this
712
- # is redundant, since the library is mentioned in a pragma in
713
- # pyconfig.h that MSVC groks. The other Windows compilers all seem
714
- # to need it mentioned explicitly, though, so that's what we do.
715
- # Append '_d' to the python import library on debug builds.
716
- if sys.platform == "win32":
717
- from distutils._msvccompiler import MSVCCompiler
718
- if not isinstance(self.compiler, MSVCCompiler):
719
- template = "python%d%d"
720
- if self.debug:
721
- template = template + '_d'
722
- pythonlib = (template %
723
- (sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff))
724
- # don't extend ext.libraries, it may be shared with other
725
- # extensions, it is a reference to the original list
726
- return ext.libraries + [pythonlib]
727
- else:
728
- # On Android only the main executable and LD_PRELOADs are considered
729
- # to be RTLD_GLOBAL, all the dependencies of the main executable
730
- # remain RTLD_LOCAL and so the shared libraries must be linked with
731
- # libpython when python is built with a shared python library (issue
732
- # bpo-21536).
733
- # On Cygwin (and if required, other POSIX-like platforms based on
734
- # Windows like MinGW) it is simply necessary that all symbols in
735
- # shared libraries are resolved at link time.
736
- from distutils.sysconfig import get_config_var
737
- link_libpython = False
738
- if get_config_var('Py_ENABLE_SHARED'):
739
- # A native build on an Android device or on Cygwin
740
- if hasattr(sys, 'getandroidapilevel'):
741
- link_libpython = True
742
- elif sys.platform == 'cygwin':
743
- link_libpython = True
744
- elif '_PYTHON_HOST_PLATFORM' in os.environ:
745
- # We are cross-compiling for one of the relevant platforms
746
- if get_config_var('ANDROID_API_LEVEL') != 0:
747
- link_libpython = True
748
- elif get_config_var('MACHDEP') == 'cygwin':
749
- link_libpython = True
750
-
751
- if link_libpython:
752
- ldversion = get_config_var('LDVERSION')
753
- return ext.libraries + ['python' + ldversion]
754
-
755
- return ext.libraries + py37compat.pythonlib()