File: Makefile

package info (click to toggle)
python-textile 1%3A4.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 460 kB
  • sloc: python: 2,791; makefile: 17; sh: 7
file content (18 lines) | stat: -rw-r--r-- 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clean:
	$(RM) README.txt
	$(RM) -r ./dist ./build

generate_pypi_README:
	${VIRTUAL_ENV}/bin/pytextile README.textile | sed -e 's/^\t//' > README.txt

build: generate_pypi_README
	python -m build

upload_to_test: build
	twine check ./dist/*
	twine upload --repository test_textile ./dist/*

upload_to_prod: build
	twine check ./dist/*
	# for now, don't actually upload to prod PyPI, just output the command to do so.
	@echo "twine upload --repository textile ./dist/*"