GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-docx/Makefile at master · python-openxml/python-docx

Expand file tree

/

Makefile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
64 lines (49 loc) · 1.62 KB
/

Makefile

Copy path

File metadata and controls

64 lines (49 loc) · 1.62 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
BEHAVE = behave
MAKE = make
PYTHON = python
TWINE = $(PYTHON) -m twine
.PHONY: accept build clean cleandocs coverage docs install opendocs sdist test
.PHONY: test-upload wheel
help:
@echo "Please use \`make <target>' where <target> is one or more of"
@echo " accept run acceptance tests using behave"
@echo " build generate both sdist and wheel suitable for upload to PyPI"
@echo " clean delete intermediate work product and start fresh"
@echo " cleandocs delete intermediate documentation files"
@echo " coverage run pytest with coverage"
@echo " docs generate documentation"
@echo " opendocs open browser to local version of documentation"
@echo " register update metadata (README.rst) on PyPI"
@echo " sdist generate a source distribution into dist/"
@echo " test run unit tests using pytest"
@echo " test-upload upload distribution to TestPyPI"
@echo " upload upload distribution tarball to PyPI"
@echo " wheel generate a binary distribution into dist/"
accept:
uv run $(BEHAVE) --stop
build:
uv build
clean:
# find . -type f -name \*.pyc -exec rm {} \;
fd -e pyc -I -x rm
rm -rf dist *.egg-info .coverage .DS_Store
cleandocs:
$(MAKE) -C docs clean
coverage:
uv run pytest --cov-report term-missing --cov=docx tests/
docs:
$(MAKE) -C docs html
install:
pip install -Ue .
opendocs:
open docs/.build/html/index.html
sdist:
uv build --sdist
test:
uv run pytest -x
test-upload: sdist wheel
uv run $(TWINE) upload --repository testpypi dist/*
upload: clean sdist wheel
uv run $(TWINE) upload dist/*
wheel:
uv build --wheel
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.