Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8395268
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
Makefile
View Options
PYTHON = python3
PYFLAKES = pyflakes
PEP8 = pep8
FLAKE8 ?= flake8
SETUP = $(PYTHON) setup.py
TESTRUNNER ?= unittest
RUNTEST = PYTHONHASHSEED=random PYTHONPATH=$(shell pwd)$(if $(PYTHONPATH),:$(PYTHONPATH),) $(PYTHON) -m $(TESTRUNNER) $(TEST_OPTIONS)
COVERAGE = python3-coverage
DESTDIR=/
all: build
doc:: sphinx
sphinx::
$(MAKE) -C docs html
build::
$(SETUP) build
$(SETUP) build_ext -i
install::
$(SETUP) install --root="$(DESTDIR)"
check:: build
$(RUNTEST) dulwich.tests.test_suite
check-tutorial:: build
$(RUNTEST) dulwich.tests.tutorial_test_suite
check-nocompat:: build
$(RUNTEST) dulwich.tests.nocompat_test_suite
check-compat:: build
$(RUNTEST) dulwich.tests.compat_test_suite
check-pypy:: clean
$(MAKE) check-noextensions PYTHON=pypy
check-noextensions:: clean
$(RUNTEST) dulwich.tests.test_suite
check-all: check check-pypy check-noextensions
clean::
$(SETUP) clean --all
rm -f dulwich/*.so
flakes:
$(PYFLAKES) dulwich
pep8:
$(PEP8) dulwich
style:
$(FLAKE8)
before-push: check
git diff origin/master | $(PEP8) --diff
coverage:
$(COVERAGE) run -m unittest dulwich.tests.test_suite dulwich.contrib.test_suite
coverage-html: coverage
$(COVERAGE) html
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Jun 4 2025, 7:37 PM (10 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399260
Attached To
rPPDW python3-dulwich packaging
Event Timeline
Log In to Comment