py2docfx 0.1.10.dev1808802__py3-none-any.whl → 0.1.10.dev1811742__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 +3 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/command/test.py +42 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +2 -0
- {py2docfx-0.1.10.dev1808802.dist-info → py2docfx-0.1.10.dev1811742.dist-info}/METADATA +1 -1
- {py2docfx-0.1.10.dev1808802.dist-info → py2docfx-0.1.10.dev1811742.dist-info}/RECORD +8 -7
- {py2docfx-0.1.10.dev1808802.dist-info → py2docfx-0.1.10.dev1811742.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.10.dev1808802.dist-info → py2docfx-0.1.10.dev1811742.dist-info}/top_level.txt +0 -0
py2docfx/__main__.py
CHANGED
@@ -247,6 +247,9 @@ def donwload_package_generate_documents(
|
|
247
247
|
env_executable = executable
|
248
248
|
start_num = len(list(required_package_list))
|
249
249
|
package_number = start_num + package_index
|
250
|
+
|
251
|
+
print(f"<CI INFO>: Start processing package {package.name} using Venv ID:{package_number}")
|
252
|
+
|
250
253
|
get_source(package, package_number, env_executable, vststoken=ado_token, githubtoken=github_token)
|
251
254
|
install_package(package, env_executable, quiet_install=False)
|
252
255
|
generate_document(package, output_root, env_executable)
|
@@ -62,4 +62,7 @@ class VirtualEnvironmentManager:
|
|
62
62
|
install_converter_requirements(env_executable)
|
63
63
|
if (self.required_package_list is not None) and (len(self.required_package_list) > 0):
|
64
64
|
self.install_required_packages(env_executable)
|
65
|
+
|
66
|
+
print(f"<CI INFO>: Created virtual environment ID: {venv_name}")
|
67
|
+
|
65
68
|
return env_executable
|
@@ -0,0 +1,42 @@
|
|
1
|
+
from setuptools import Command
|
2
|
+
from setuptools.warnings import SetuptoolsDeprecationWarning
|
3
|
+
|
4
|
+
|
5
|
+
def __getattr__(name):
|
6
|
+
if name == 'test':
|
7
|
+
SetuptoolsDeprecationWarning.emit(
|
8
|
+
"The test command is disabled and references to it are deprecated.",
|
9
|
+
"Please remove any references to `setuptools.command.test` in all "
|
10
|
+
"supported versions of the affected package.",
|
11
|
+
due_date=(2024, 11, 15),
|
12
|
+
stacklevel=2,
|
13
|
+
)
|
14
|
+
return _test
|
15
|
+
raise AttributeError(name)
|
16
|
+
|
17
|
+
|
18
|
+
class _test(Command):
|
19
|
+
"""
|
20
|
+
Stub to warn when test command is referenced or used.
|
21
|
+
"""
|
22
|
+
|
23
|
+
description = "stub for old test command (do not use)"
|
24
|
+
|
25
|
+
user_options = [
|
26
|
+
('test-module=', 'm', "Run 'test_suite' in specified module"),
|
27
|
+
(
|
28
|
+
'test-suite=',
|
29
|
+
's',
|
30
|
+
"Run single test, case or suite (e.g. 'module.test_suite')",
|
31
|
+
),
|
32
|
+
('test-runner=', 'r', "Test runner to use"),
|
33
|
+
]
|
34
|
+
|
35
|
+
def initialize_options(self):
|
36
|
+
pass
|
37
|
+
|
38
|
+
def finalize_options(self):
|
39
|
+
pass
|
40
|
+
|
41
|
+
def run(self):
|
42
|
+
raise RuntimeError("Support for the test command was removed in Setuptools 72")
|
@@ -54,6 +54,8 @@ EXAMPLES = [
|
|
54
54
|
("pyyaml", LATEST), # cython + custom build_ext + custom distclass
|
55
55
|
("charset-normalizer", LATEST), # uses mypyc, used by aiohttp
|
56
56
|
("protobuf", LATEST),
|
57
|
+
("requests", LATEST),
|
58
|
+
("celery", LATEST),
|
57
59
|
# When adding packages to this list, make sure they expose a `__version__`
|
58
60
|
# attribute, or modify the tests below
|
59
61
|
]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: py2docfx
|
3
|
-
Version: 0.1.10.
|
3
|
+
Version: 0.1.10.dev1811742
|
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=VMmG6vkRAE5duMsihtBzXT0CKGreJD-4kjJcjkoTrYg,12248
|
3
3
|
py2docfx/convert_prepare/__init__.py,sha256=XxtxrP0kmW3ZBHIAoxsPDEHzcgeC0WSnole8Lk6CjKs,11
|
4
|
-
py2docfx/convert_prepare/environment.py,sha256=
|
4
|
+
py2docfx/convert_prepare/environment.py,sha256=E3KOFFy2xhrIqNjxpU9xIXknrgCxkinVuxcSul4p3HY,2677
|
5
5
|
py2docfx/convert_prepare/generate_conf.py,sha256=wqs6iyElzJarH-20_qEL9zvZvt5xfBMsGXSXPSZy6wg,2295
|
6
6
|
py2docfx/convert_prepare/generate_document.py,sha256=TcGAgLMrpPqHUOVRSX7Amp6ld7hQhKT_IqFzIGdqiRE,2473
|
7
7
|
py2docfx/convert_prepare/get_source.py,sha256=JQ_6VIiu902U22l4lE7z6DLtu_DneJhRQWEPdogWZ6Q,5035
|
@@ -1526,6 +1526,7 @@ py2docfx/venv/0/Lib/site-packages/setuptools/command/rotate.py,sha256=LKHQnx90Zy
|
|
1526
1526
|
py2docfx/venv/0/Lib/site-packages/setuptools/command/saveopts.py,sha256=mVAPMRIGE98gl6eXQ3C2Wo-qPOgl9lbH-Q_YsbLuqeg,657
|
1527
1527
|
py2docfx/venv/0/Lib/site-packages/setuptools/command/sdist.py,sha256=FkbbBr0-cBKsD9sLkE8xQCNx-U1sZd3kGiKENGJ0o4U,6808
|
1528
1528
|
py2docfx/venv/0/Lib/site-packages/setuptools/command/setopt.py,sha256=w_7z7z_DDPNlY7rZIIsgdABfZD3VxCdLre3Edu8JloE,5018
|
1529
|
+
py2docfx/venv/0/Lib/site-packages/setuptools/command/test.py,sha256=YXZTxa_BbHXRVAMLqmRhip-xV48s0TOT5DJ-87Sw_OQ,1178
|
1529
1530
|
py2docfx/venv/0/Lib/site-packages/setuptools/command/upload.py,sha256=J1tGiJPJMQlD1SIegkuu2KEiY1ycoKkaNJUGqgOl_XI,460
|
1530
1531
|
py2docfx/venv/0/Lib/site-packages/setuptools/command/upload_docs.py,sha256=1MJd-TFDmilsGutLbjd9Nwu8-3OdxwHXIGRN4NTaa6U,7754
|
1531
1532
|
py2docfx/venv/0/Lib/site-packages/setuptools/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -1606,7 +1607,7 @@ py2docfx/venv/0/Lib/site-packages/setuptools/tests/config/downloads/__init__.py,
|
|
1606
1607
|
py2docfx/venv/0/Lib/site-packages/setuptools/tests/config/downloads/preload.py,sha256=ZAhZpkdu67QJC176xJgL8x5yyStUg9pFCa0LkZpD6eQ,451
|
1607
1608
|
py2docfx/venv/0/Lib/site-packages/setuptools/tests/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1608
1609
|
py2docfx/venv/0/Lib/site-packages/setuptools/tests/integration/helpers.py,sha256=xnBxC5HF6GlmNGeE_X7wy1TTAEFt1th3kzipWncfZ2M,2522
|
1609
|
-
py2docfx/venv/0/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py,sha256=
|
1610
|
+
py2docfx/venv/0/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py,sha256=kMOuHG9wtSPSD9vO8Ts58I0mUoSNlWyHYEU4kd4PZMk,8257
|
1610
1611
|
py2docfx/venv/0/Lib/site-packages/snowballstemmer/__init__.py,sha256=3E9CWKlSBXanCAWgUJiUSO5EaJRlO_WsadfNXs63Eig,2677
|
1611
1612
|
py2docfx/venv/0/Lib/site-packages/snowballstemmer/among.py,sha256=6-2dpr7gpGtIvibJJxSgnS2QPkCjAG5w8skP3M9B5-s,404
|
1612
1613
|
py2docfx/venv/0/Lib/site-packages/snowballstemmer/arabic_stemmer.py,sha256=JE5IbnI0GoO8uqSByoqDIcakWviMANBsm2BVIIlIhmE,40812
|
@@ -1885,7 +1886,7 @@ py2docfx/venv/0/Scripts/rst2s5.py,sha256=qup0-LMkBGLuh6Bj-1n8ucEVc5T8ANpqL0Pscmp
|
|
1885
1886
|
py2docfx/venv/0/Scripts/rst2xetex.py,sha256=FNBX2UuBN3vqJQss_DdqjMBSU5BQmOFGLOZV8DSNAuk,905
|
1886
1887
|
py2docfx/venv/0/Scripts/rst2xml.py,sha256=7uyNsZb5QOV243R-EQqdsyUKX7t5_9sQd6LYtw1ZyPA,634
|
1887
1888
|
py2docfx/venv/0/Scripts/rstpep2html.py,sha256=p-PYRUWuvD1LWAzofxrQu_Go3SMfIS8q0pmy6HT2Y5E,702
|
1888
|
-
py2docfx-0.1.10.
|
1889
|
-
py2docfx-0.1.10.
|
1890
|
-
py2docfx-0.1.10.
|
1891
|
-
py2docfx-0.1.10.
|
1889
|
+
py2docfx-0.1.10.dev1811742.dist-info/METADATA,sha256=e4yq2_L68bt_gTymti9ZFF7USlhvlluQekzPgJPt4dk,602
|
1890
|
+
py2docfx-0.1.10.dev1811742.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
1891
|
+
py2docfx-0.1.10.dev1811742.dist-info/top_level.txt,sha256=5dH2uP81dczt_qQJ38wiZ-gzoVWasfiJALWRSjdbnYU,9
|
1892
|
+
py2docfx-0.1.10.dev1811742.dist-info/RECORD,,
|
File without changes
|
File without changes
|