py2docfx 0.1.10.dev1870645__py3-none-any.whl → 0.1.10.dev1870735__py3-none-any.whl
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.
- py2docfx/__main__.py +3 -0
- py2docfx/convert_prepare/environment.py +1 -1
- {py2docfx-0.1.10.dev1870645.dist-info → py2docfx-0.1.10.dev1870735.dist-info}/METADATA +1 -1
- {py2docfx-0.1.10.dev1870645.dist-info → py2docfx-0.1.10.dev1870735.dist-info}/RECORD +6 -6
- {py2docfx-0.1.10.dev1870645.dist-info → py2docfx-0.1.10.dev1870735.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.10.dev1870645.dist-info → py2docfx-0.1.10.dev1870735.dist-info}/top_level.txt +0 -0
py2docfx/__main__.py
CHANGED
@@ -253,11 +253,14 @@ async def donwload_package_generate_documents(
|
|
253
253
|
for idx, package in enumerate(package_info_list):
|
254
254
|
package_number = start_num + idx
|
255
255
|
print(f"Processing package {package.name}, env_prepare_tasks: {len(env_prepare_tasks)}")
|
256
|
+
start_time = time.time()
|
256
257
|
try:
|
257
258
|
await env_prepare_tasks[idx]
|
258
259
|
except Exception as e:
|
259
260
|
print(f"Failed to setup venv for package {package.name}: {e}")
|
260
261
|
raise
|
262
|
+
end_time = time.time()
|
263
|
+
print(f"<wait_prepare_venv>{end_time-start_time}<wait_prepare_venv/>")
|
261
264
|
|
262
265
|
start_time = time.time()
|
263
266
|
get_source(package, package_number, vststoken=ado_token, githubtoken=github_token)
|
@@ -40,7 +40,7 @@ def get_venv_exe(venv_num: int) -> str:
|
|
40
40
|
return os.path.join(get_venv_path(venv_num), "Scripts", "python.exe")
|
41
41
|
|
42
42
|
async def install_converter_requirement_async(executable: str):
|
43
|
-
pip_cmd = PIP_INSTALL_COMMAND + REQUIREMENT_MODULES
|
43
|
+
pip_cmd = PIP_INSTALL_COMMAND + REQUIREMENT_MODULES
|
44
44
|
await(await asyncio.create_subprocess_exec(executable, *pip_cmd)).wait()
|
45
45
|
|
46
46
|
async def install_required_packages(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: py2docfx
|
3
|
-
Version: 0.1.10.
|
3
|
+
Version: 0.1.10.dev1870735
|
4
4
|
Summary: A package built based on Sphinx which download source code package and generate yaml files supported by docfx.
|
5
5
|
Author: Microsoft Corporation
|
6
6
|
License: MIT License
|
@@ -1,7 +1,7 @@
|
|
1
1
|
py2docfx/__init__.py,sha256=kPRhPGPC1JknDotkksG428c1iIgfFr_4_7Jm-llrowY,72
|
2
|
-
py2docfx/__main__.py,sha256=
|
2
|
+
py2docfx/__main__.py,sha256=wxlErNKLRQGZJAsEwe4JaJTRE48aWRTdJMsOrm5eda8,15084
|
3
3
|
py2docfx/convert_prepare/__init__.py,sha256=XxtxrP0kmW3ZBHIAoxsPDEHzcgeC0WSnole8Lk6CjKs,11
|
4
|
-
py2docfx/convert_prepare/environment.py,sha256=
|
4
|
+
py2docfx/convert_prepare/environment.py,sha256=mwTsMN-vM5j2pVL-Of2Q3qE8V0EldEe2fEjG7U-9b3c,3166
|
5
5
|
py2docfx/convert_prepare/generate_conf.py,sha256=wqs6iyElzJarH-20_qEL9zvZvt5xfBMsGXSXPSZy6wg,2295
|
6
6
|
py2docfx/convert_prepare/generate_document.py,sha256=cLfFr7od0RHADkXyh2gaPreXZGvKNBUlduBosYTuPbk,3118
|
7
7
|
py2docfx/convert_prepare/get_source.py,sha256=eEIbfLkGdBSOIJElMBTiXkKlkujb_hdFu5g6InNroTg,5851
|
@@ -1882,7 +1882,7 @@ py2docfx/venv/venv0/Scripts/rst2s5.py,sha256=lnv7lRNv1Oz3gjI5BOJlTqfCJQLJxgwJ9l3
|
|
1882
1882
|
py2docfx/venv/venv0/Scripts/rst2xetex.py,sha256=5_9VjwA5RKUMJG9L__1ZiS8DIeLHRdPWeWW7B4otM8M,909
|
1883
1883
|
py2docfx/venv/venv0/Scripts/rst2xml.py,sha256=hU2nzGVbXbQBnH_ydI5f2VDkGQyDMUdTgz3rfa45JMg,638
|
1884
1884
|
py2docfx/venv/venv0/Scripts/rstpep2html.py,sha256=uLmCJKfEKPeeWS0n76HharN9YEYIuCRQQXfPPBJaRso,706
|
1885
|
-
py2docfx-0.1.10.
|
1886
|
-
py2docfx-0.1.10.
|
1887
|
-
py2docfx-0.1.10.
|
1888
|
-
py2docfx-0.1.10.
|
1885
|
+
py2docfx-0.1.10.dev1870735.dist-info/METADATA,sha256=8Gs083up_yDbJmABUrxhe2LlYSGtZMOZHboktKpIivI,601
|
1886
|
+
py2docfx-0.1.10.dev1870735.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
1887
|
+
py2docfx-0.1.10.dev1870735.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
|
1888
|
+
py2docfx-0.1.10.dev1870735.dist-info/RECORD,,
|
File without changes
|
File without changes
|