()
| 471 | |
| 472 | |
| 473 | def get_docs_url(): |
| 474 | if 'dev' in VERSION: |
| 475 | return "https://numpy.org/devdocs" |
| 476 | else: |
| 477 | # For releases, this URL ends up on PyPI. |
| 478 | # By pinning the version, users looking at old PyPI releases can get |
| 479 | # to the associated docs easily. |
| 480 | return "https://numpy.org/doc/{}.{}".format(MAJOR, MINOR) |
| 481 | |
| 482 | |
| 483 | from numpy.distutils.core import numpy_cmdclass as cmdclass |