Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@blink1073
Copy link
Member

No description provided.

],
)
],
cmdclass={"doc": doc}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README tells you to use the doc directive with setup.py to build the docs with Sphinx. Does that still work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I updated the instructions

@blink1073 blink1073 requested a review from behackett July 28, 2023 17:58
README.rst Outdated

python setup.py doc
cd doc
cmd.exe /c 'make.bat html SPHINXOPTS="-W"'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about python -m sphinx -b html doc ...?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@blink1073 blink1073 requested a review from ShaneHarvey July 28, 2023 20:19
@blink1073 blink1073 merged commit 6321f90 into mongodb:master Jul 31, 2023
@blink1073 blink1073 deleted the PYTHON-3881 branch July 31, 2023 16:46
Copy link
Contributor

@jborean93 jborean93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this has already been merged but thought I should share this.

@@ -0,0 +1,38 @@
[build-system]
requires = ["setuptools"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add a lower bound of setuptools >= 61.0.0 as that's when setuptools added support for pyproject.toml. If pip or other build tools end up using an earlier version it will fail to build your package.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants