Closed kloczek closed 2 years ago
That should not happen. Are you stripping the repository of any files like setup.cfg or pyproject.toml? What versions of pip/virtualenv/tox are available in the build env?
I've been using git tag autogenerated tar ball from https://github.com/ionelmc/python-lazy-object-proxy/archive/v1.5.0.tar.gz
Ok what about the versions in the build env?
Ok what about the versions in the build env?
All modules versions are reported by tox :) Look on top of what copied from test suite output :P
I don't see anywhere the 2 pip versions (one outside, one inside the tox env). I suspect that somewhere around that lies the problem (sdist being built without setuptools-scm, thus sdist lacks the manifest.in generated by setuptools-scm, thus changelog.rst is missing; or the checkout doesn't have a .git dir)
I think that last one might actually be the problem. Use the sdist from pypi not a tag from github - that's not how users install it.
[root@barrel ~]# pip -V
pip 20.0.2 from /usr/lib/python3.8/site-packages/pip (python 3.8)
OK if it is that kind of problem from which you would suggest to start checking/diagnosing that issue? :P
Use the sdist from pypi. Pretty sure that will fix the problem.
OK after add missing modules I'm able now execute pytest without errors. However there are some numbers of warnings. I'm not 100% are those warnings ok so better is to ask :)
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-lazy-object-proxy-1.6.0-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-lazy-object-proxy-1.6.0-4.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.11, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
Using --randomly-seed=1845807367
rootdir: /home/tkloczko/rpmbuild/BUILD/python-lazy-object-proxy-1.6.0, configfile: setup.cfg, testpaths: tests
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, aspectlib-1.5.2, toolbox-0.5, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, flaky-3.7.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, xprocess-0.18.1, black-0.3.12, checkdocs-2.7.1, anyio-3.3.0, Faker-8.11.0, asyncio-0.15.1, trio-0.7.0, httpbin-1.0.0, subtests-0.5.0, isort-2.0.0, hypothesis-6.14.6, mock-3.6.1, profiling-1.7.0, randomly-3.8.0
collected 1983 items
tests/test_async_py3.py ............................................................................. [ 3%]
tests/test_lazy_object_proxy.py ...s.ss..s.s.xsss..ssx.x..s......s.s..s..ss.....s...s...........x.ss..s..........xX...ss....ss.s..ss......X..sss..............X...s. [ 10%]
........s..s......s...s.....s...........x..............ss..X.s...ss.s.Xs............s.sX..s.ss....ss.....s..s...x.....s...........sx...s...s..s...x.s....s....s..... [ 18%]
.ssss.s.....ss.xs..s.......s..........ss..s....X.........X.s..s...ss.s.x.s...sXxs....s......x.ss....s......s....s.s.........xsss.ss..sss.s......sxs......sx...s..... [ 27%]
......x....s.......s..s......s......s....s.s [ 29%]
tests/test_async_py3.py ............................................................................................................................................ [ 36%]
........................................................................................... [ 40%]
tests/test_lazy_object_proxy.py ...s......ss.ss..ss..ss..s......s....s...Xs.ss.......s.s...s.s.s..x.s.......x....s....s..........s..s....X....ss....ss..ss.s..s.sX.. [ 47%]
s.Xs..sXs..s............s....s...s............s..X..Xss.......ss..........s...sx....s.....s....X.........s.s..s.....xX.. [ 53%]
tests/test_async_py3.py ............................................................................................................................................ [ 60%]
.............. [ 61%]
tests/test_lazy_object_proxy.py xs....s.....s...X..s.....x....s.s.s..s........s..s....s.s...X................sssxs.....ss....................sss.................ss. [ 68%]
...s...Xs.....s..s..s..X.s.........Xsss..s......sss..s..X.....s...s...s....s....sXs....sXsss.ss..x.s.s.....s....s.X.s....s........ssXsx...s............Xs...s.X..... [ 76%]
s........s....X....sx......s..s............s.ss......s......sx....s..sX....s...s....s...s..............s....ss....s.X.ss.ss.s....s....s.s.s.s....s.......ss.s.s..... [ 84%]
s.ss..XsX........s..s.s...ss.s.xs..ss..X...................x.sX.....x..s..Xs......s...s..x...s..s..s....ss..s.....s........s.ss.s.s.xs..X.............s......ss...s. [ 92%]
s....ss.s.s.......x...s...............ss.........s...X.x.s...ss.sX..ss...s.....s.s..s........s....s....ss.s..s..s.X.s......s..ss.s.....sx.... [100%]
============================================================================= warnings summary =============================================================================
tests/test_async_py3.py::test_func_11[normal-cext]
tests/test_async_py3.py::test_func_11[subclassed-cext]
tests/test_async_py3.py::test_func_11[normal-slots]
tests/test_async_py3.py::test_func_11[normal-simple]
tests/test_async_py3.py::test_func_11[subclassed-slots]
tests/test_async_py3.py::test_func_11[subclassed-simple]
/home/tkloczko/rpmbuild/BUILD/python-lazy-object-proxy-1.6.0/tests/test_async_py3.py:259: RuntimeWarning: coroutine 'do_await' was never awaited
assert '__iter__' in dir(coro.__await__())
tests/test_async_py3.py::test_func_11[normal-cext]
tests/test_async_py3.py::test_func_11[subclassed-cext]
tests/test_async_py3.py::test_func_11[normal-slots]
tests/test_async_py3.py::test_func_11[normal-simple]
tests/test_async_py3.py::test_func_11[subclassed-slots]
tests/test_async_py3.py::test_func_11[subclassed-simple]
/home/tkloczko/rpmbuild/BUILD/python-lazy-object-proxy-1.6.0/tests/test_async_py3.py:260: RuntimeWarning: coroutine 'do_await' was never awaited
assert 'coroutine_wrapper' in str(coro.__await__())
-- Docs: https://docs.pytest.org/en/stable/warnings.html
------------------------------------------------------------------------------------------ benchmark: 5 tests ------------------------------------------------------------------------------------------
Name (time in ns) Min Max Mean StdDev Median IQR Outliers OPS (Mops/s) Rounds Iterations
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_perf[cext] 122.5344 (1.0) 960.4664 (1.0) 137.2509 (1.0) 32.7717 (1.0) 135.0927 (1.0) 12.7475 (1.0) 2687;5639 7.2859 (1.0) 195160 32
test_perf[simple] 623.9861 (5.09) 17,421.0873 (18.14) 765.3924 (5.58) 374.1035 (11.42) 740.0522 (5.48) 47.9631 (3.76) 237;11718 1.3065 (0.18) 154610 1
test_perf[slots] 681.0296 (5.56) 20,116.9169 (20.94) 772.7548 (5.63) 302.5033 (9.23) 764.0338 (5.66) 76.9505 (6.04) 158;1312 1.2941 (0.18) 120237 1
test_perf[django] 710.0170 (5.79) 43,993.0009 (45.80) 879.9933 (6.41) 549.5324 (16.77) 808.9701 (5.99) 77.0669 (6.05) 4429;10471 1.1364 (0.16) 138695 1
test_perf[objproxies] 864.9658 (7.06) 20,566.9785 (21.41) 997.7749 (7.27) 505.7010 (15.43) 974.0470 (7.21) 93.0158 (7.30) 636;2958 1.0022 (0.14) 120642 1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------- benchmark 'prototypes': 4 tests --------------------------------------------------------------------------------------------
Name (time in ns) Min Max Mean StdDev Median IQR Outliers OPS (Mops/s) Rounds Iterations
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_proto[SimpleProxy] 416.7960 (1.0) 2,471.9979 (1.0) 482.7428 (1.0) 102.3841 (1.0) 459.6019 (1.0) 36.1062 (1.0) 2012;3627 2.0715 (1.0) 95202 20
test_proto[LocalsCachedPropertyProxy] 483.0072 (1.16) 20,007.0208 (8.09) 553.7004 (1.15) 222.3472 (2.17) 546.1043 (1.19) 54.1331 (1.50) 188;2909 1.8060 (0.87) 179114 1
test_proto[CachedPropertyProxy] 488.0130 (1.17) 17,268.9324 (6.99) 564.7306 (1.17) 299.6552 (2.93) 552.9728 (1.20) 55.0644 (1.53) 169;4368 1.7708 (0.85) 175779 1
test_proto[LocalsSimpleProxy] 567.9904 (1.36) 19,953.0041 (8.07) 639.2256 (1.32) 308.7121 (3.02) 622.9384 (1.36) 64.0284 (1.77) 132;3174 1.5644 (0.76) 110633 1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
========================================================================= short test summary info ==========================================================================
SKIPPED [324] tests/test_lazy_object_proxy.py:1713: could not import 'cPickle': No module named 'cPickle'
SKIPPED [2] tests/test_lazy_object_proxy.py:1867: Not possible.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_is_callable[normal-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_vars_of_function[normal-simple]
The lazy_object_proxy.simple.Proxy has some limitations.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_hasattr_call[normal-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_callable_proxy_getattr_call[normal-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_vars_of_class[normal-simple]
The lazy_object_proxy.simple.Proxy has some limitations.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_getattr_call[normal-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_vars_of_instance[normal-simple]
The lazy_object_proxy.simple.Proxy has some limitations.
XFAIL tests/test_lazy_object_proxy.py::test_callable_proxy_getattr_call[subclassed-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_hasattr_call[subclassed-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_is_callable[subclassed-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_instance_module_name[subclassed-cext]
This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XFAIL tests/test_lazy_object_proxy.py::test_class_doc_string[subclassed-cext]
This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_getattr_call[subclassed-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_class_module_name[subclassed-cext]
This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XFAIL tests/test_lazy_object_proxy.py::test_function_module_name[subclassed-cext]
This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XFAIL tests/test_lazy_object_proxy.py::test_instance_doc_string[subclassed-cext]
This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XFAIL tests/test_lazy_object_proxy.py::test_function_doc_string[subclassed-cext]
This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_is_callable[normal-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_getattr_call[normal-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_callable_proxy_getattr_call[normal-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_hasattr_call[normal-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_is_callable[subclassed-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_getattr_call[subclassed-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_hasattr_call[subclassed-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_callable_proxy_getattr_call[subclassed-slots]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_callable_proxy_getattr_call[normal-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_is_callable[normal-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_getattr_call[normal-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_hasattr_call[normal-cext]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_vars_of_function[subclassed-simple]
The lazy_object_proxy.simple.Proxy has some limitations.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_is_callable[subclassed-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_vars_of_instance[subclassed-simple]
The lazy_object_proxy.simple.Proxy has some limitations.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_getattr_call[subclassed-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_proxy_hasattr_call[subclassed-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_callable_proxy_getattr_call[subclassed-simple]
Don't know how to make this work. This tests the existence of the __call__ method.
XFAIL tests/test_lazy_object_proxy.py::test_vars_of_class[subclassed-simple]
The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_function_module_name[normal-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_class_doc_string[normal-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_doc_string[normal-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_function_doc_string[normal-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_class_module_name[normal-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_module_name[normal-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_instance[subclassed-cext] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_function[subclassed-cext] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_class[subclassed-cext] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_function_module_name[normal-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_module_name[normal-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_class_doc_string[normal-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_doc_string[normal-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_function[normal-slots] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_class_module_name[normal-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_class[normal-slots] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_function_doc_string[normal-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_instance[normal-slots] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_class_module_name[subclassed-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_doc_string[subclassed-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_module_name[subclassed-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_function_module_name[subclassed-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_instance[subclassed-slots] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_class[subclassed-slots] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_function[subclassed-slots] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_class_doc_string[subclassed-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_function_doc_string[subclassed-slots] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_function[normal-cext] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_instance[normal-cext] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_function_doc_string[normal-cext] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_doc_string[normal-cext] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_class_doc_string[normal-cext] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_module_name[normal-cext] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_class_module_name[normal-cext] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_vars_of_class[normal-cext] The lazy_object_proxy.simple.Proxy has some limitations.
XPASS tests/test_lazy_object_proxy.py::test_function_module_name[normal-cext] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_doc_string[subclassed-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_class_module_name[subclassed-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_class_doc_string[subclassed-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_function_module_name[subclassed-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_instance_module_name[subclassed-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
XPASS tests/test_lazy_object_proxy.py::test_function_doc_string[subclassed-simple] This test can't work because subclassing disables certain features like __doc__ and __module__ proxying.
================================================= 1579 passed, 326 skipped, 36 xfailed, 42 xpassed, 12 warnings in 18.79s ==================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
Feel free to close this thiocket if that output is OK.
Thank you for your help :)
Well I fixed those warnings. What else?
Thank you. Will test that patch ASP :)
I'm using below patch to be able use python-lazy-object-proxy
with latest versions of some modules :P
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,5 +2,5 @@
requires = [
"setuptools>=30.3.0",
"wheel",
- "setuptools_scm>=3.3.1,<6.0",
+ "setuptools_scm>=3.3.1",
]
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[options]
setup_requires =
- setuptools_scm>=3.3.1,<6.0
+ setuptools_scm>=3.3.1
[flake8]
max-line-length = 140
and I don't see any side effects with that partch :)
Just checked and except XFAILS messages everything look clean :) I have yet another small thing .. On building my packages I'm building modules documentation as man page. Is it possible to add below patch?
--- a/docs/conf.py~ 2021-03-22 15:06:24.000000000 +0000
+++ b/docs/conf.py 2021-08-26 21:57:06.637341728 +0100
@@ -20,7 +20,7 @@
master_doc = 'index'
project = 'lazy-object-proxy'
year = '2014-2021'
-author = 'Ionel Cristian Mărieș'
+author = u'Ionel Cristian Mărieș'
copyright = '{0}, {1}'.format(year, author)
try:
from pkg_resources import get_distribution
@@ -52,3 +52,14 @@
napoleon_use_ivar = True
napoleon_use_rtype = False
napoleon_use_param = False
+
+# Man ------------------------------------------------------------------
+man_pages = [
+ (
+ 'index',
+ 'python-lazy-object-proxy',
+ u'lazy-object-proxy Python Module Documentation',
+ author,
+ 3,
+ )
+]
Feel free to commit it or let me know that if I want to have that in next release of you module I should make PR.
With that patch is possible to have level 3 man page:
+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
running build_sphinx
Running Sphinx v4.1.2
making output directory... done
[autosummary] generating autosummary for: authors.rst, changelog.rst, contributing.rst, index.rst, installation.rst, readme.rst, usage.rst
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 7 added, 0 changed, 0 removed
reading sources... [100%] usage
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-lazy-object-proxy.3 { readme installation usage contributing authors changelog } done
build succeeded.
I guess this is not longer relevant right?