dominicprice / endplay

A suite of tools for generation and analysis of bridge deals. Read the documentation at https://endplay.readthedocs.io
MIT License
23 stars 5 forks source link

Problems building from sources #59

Open ureshvahalia opened 4 weeks ago

ureshvahalia commented 4 weeks ago

I cloned the repository and tried to do a build using poetry. Getting the following error:

$ /c/Users/Vahal/.local/bin/poetry build -f wheel Preparing build environment with build-system requirements poetry-core, setuptools>=42, cmake>=3.13 Building endplay (0.5.10)

Command '['C:/Users/Vahal/AppData/Local/Temp/tmp79tw_63b/.venv/Scripts/python.exe', 'E:\BRIDGE\BBORepo\endplay\setup.py', 'build', '-b', 'E:\BRIDGE\BBORepo\endplay\build', '--build-purelib', 'E:\BRIDGE\BBORepo\endplay\build\lib', '--build-platlib', 'E:\BRIDGE\BBORepo\endplay\build\lib.win-amd64-cpython-311']' returned non-zero exit status 1.

ureshvahalia commented 4 weeks ago

Please ignore the above. Managed to get farther. However, building the docs is giving the following warnings:

Cleaning build directory... Cleaning generated index... Cleaning generated pages... Running Sphinx v8.1.3 Using build located at /home/uresh/endplay/src/endplay loading translations [en]... done making output directory... done WARNING: The config value index_pages_root' has typePosixPath'; expected Path' orWindowsPath'. WARNING: The config value index_output_file' has typePosixPath'; expected Path' orWindowsPath'. WARNING: The config value index_template_file' has typePosixPath'; expected Path' orWindowsPath'. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.config.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay._dds.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay._dds.libdds.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dds.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dds.analyse.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dds.ddtable.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dds.parscore.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dds.solve.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.main.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.constraint.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.generate.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.runscript.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.actions.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.actions.base.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.actions.html.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.actions.latex.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.actions.pdf.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.dealer.actions.terminal.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.evaluate.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.experimental.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.experimental.playdetect.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.main.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.actions.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.commandobject.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.frontends.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.frontends.base.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.frontends.cmd.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.frontends.curses.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.interact.frontends.html.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.parsers.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.parsers.dealer.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.parsers.json.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.parsers.lin.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.parsers.pbn.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.stats.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.bid.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.board.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.card.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.contract.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.deal.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.denom.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.hand.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.penalty.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.player.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.rank.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.suitholding.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.types.vul.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.utils.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.utils.escape.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.utils.io.rst. Creating file /home/uresh/endplay/docs/source/pages/reference/endplay.utils.play.rst. myst v4.0.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True) Modifying file /home/uresh/endplay/docs/source/pages/reference/endplay.rst Creating file /home/uresh/endplay/docs/source/pages/readme/intro.md Creating file /home/uresh/endplay/docs/source/pages/readme/building_and_installing.md Creating file /home/uresh/endplay/docs/source/pages/readme/overview_of_submodules.md Creating file /home/uresh/endplay/docs/source/pages/readme/tutorial.md [autosummary] generating autosummary for: pages/inputformat.md building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 1 source files that are out of date updating environment: [new config] 61 added, 0 changed, 0 removed reading sources... [100%] pages/reference/endplay.utils.play /home/uresh/endplay/docs/source/index.rst:2: WARNING: Title underline too short.

endplay v0.5.10 documentation ===================== [docutils] WARNING: autodoc: failed to import module 'libdds' from module 'endplay._dds'; the following exception was raised: dynamic module does not define module export function (PyInit_libdds) [autodoc.import_object] /home/uresh/endplay/src/endplay/dds/init.py:docstring of endplay.dds.solve.solve_board:6: WARNING: Field list ends without a blank line; unexpected unindent. [docutils] /home/uresh/endplay/src/endplay/dds/solve.py:docstring of endplay.dds.solve.solve_board:6: WARNING: Field list ends without a blank line; unexpected unindent. [docutils] looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /home/uresh/endplay/docs/build/html/_static/documentation_options.js Writing evaluated template result to /home/uresh/endplay/docs/build/html/_static/basic.css Writing evaluated template result to /home/uresh/endplay/docs/build/html/_static/language_data.js Writing evaluated template result to /home/uresh/endplay/docs/build/html/_static/js/versions.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [100%] pages/reference/endplay.utils.play /home/uresh/endplay/docs/source/pages/readme/01_intro.md:11: WARNING: 'myst' cross-reference target not found: 'building-and-installing' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:12: WARNING: 'myst' cross-reference target not found: 'from-pypi' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:13: WARNING: 'myst' cross-reference target not found: 'from-source' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:14: WARNING: 'myst' cross-reference target not found: 'for-development' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:15: WARNING: 'myst' cross-reference target not found: 'building-the-documentation' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:16: WARNING: 'myst' cross-reference target not found: 'running-the-test-suite' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:17: WARNING: 'myst' cross-reference target not found: 'overview-of-submodules' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:18: WARNING: 'myst' cross-reference target not found: 'tutorial' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:19: WARNING: 'myst' cross-reference target not found: 'inspecting-deals' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:20: WARNING: 'myst' cross-reference target not found: 'enumerated-types' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:21: WARNING: 'myst' cross-reference target not found: 'the-interact-module' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:22: WARNING: 'myst' cross-reference target not found: 'generating-hands' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:23: WARNING: 'myst' cross-reference target not found: 'the-main-module' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:24: WARNING: 'myst' cross-reference target not found: 'evaluating-hands' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:25: WARNING: 'myst' cross-reference target not found: 'assigning-point-values-to-hands' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:26: WARNING: 'myst' cross-reference target not found: 'evaluating-shape' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:27: WARNING: 'myst' cross-reference target not found: 'double-dummy-analysis' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:29: WARNING: 'myst' cross-reference target not found: 'dd-tables' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:30: WARNING: 'myst' cross-reference target not found: 'par-contract-calculation-and-scoring-contracts' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:31: WARNING: 'myst' cross-reference target not found: 'bids-and-auctions-an-aside' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:32: WARNING: 'myst' cross-reference target not found: 'solving-for-a-players-hand' [myst.xref_missing] /home/uresh/endplay/docs/source/pages/readme/01_intro.md:33: WARNING: 'myst' cross-reference target not found: 'parsing-to-and-from-bridge-file-formats-pbn-lin-json' [myst.xref_missing] generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 32 warnings.

The HTML pages are in build/html.