linkchecker/doc/development.md
Chris Mayo d2d2a563cc Make installing from the git archive of a tagged commit possible
aka make GitHub release assets usable.

Requires setuptools-scm-git-archive.
2021-12-06 19:40:02 +00:00

2.2 KiB

Developing LinkChecker

The following steps describe how to compile LinkChecker from source on various platforms.

This is a technical document, if you are looking for ways to participate in the community, you should rather look into contributing.

Requirements

On Mac OS X systems, using MacPorts, Fink or homebrew for software installation is recommended.

Setup for Unix/Linux

Execute make localbuild to compile a local version and execute ./linkchecker. Execute make test to run the unittest suite. Execute make dist to build a distributable source package.

Setup for Mac OS X

Execute make localbuild to compile a local version and execute ./linkchecker. Execute make test to run the unittest suite. Execute make app to build a distributable source package.

Setup for Windows

Execute windows\build.bat to build a local version. Execute windows\test.bat to run the unittest suite. Execute windows\dist.bat to build a binary installer.

Release process

  1. check whether updated translations need committing (make locale; make -C doc locale; make -C doc man)

  2. edit changelog.txt, and if applicable the copyright date in linkcheck/configuration/__init__.py

  3. confirm tests have passed

  4. submit a pull request

  5. create a new git clone

  6. check Python polib package is installed

  7. build Python distribution files (setup.py sdist bdist_wheel)

  8. check distribution files (twine check dist/*) and upload to PyPI (twine upload dist/*)

  9. create release (vX.Y.Z) on GitHub