File: Makefile

package info (click to toggle)
toposort 1.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: python: 252; makefile: 21; sh: 20
file content (26 lines) | stat: -rw-r--r-- 514 bytes parent folder | download
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
all: wheel sdist

wheel:
	python3 -m build --wheel

sdist:
	python3 -m build --sdist

clean:
	rm -rf build/ dist/ src/*.egg-info src/__pycache__ test/__pycache__

test:	unittest doctest

unittest:
	PYTHONPATH=src:test python3 -m test.test_toposort

doctest:
	PYTHONPATH=src python3 -m doctest README.md

upload:
	twine upload dist/*

# I don't think my account is registered on the test server, but this
# is how it should work when that is fixed.
upload-test:
	twine upload --repository=testpypi --verbose dist/*