File: Makefile

package info (click to toggle)
colortest-python 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 312 kB
  • sloc: python: 387; makefile: 29
file content (23 lines) | stat: -rw-r--r-- 605 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
# help me remember 'python setup' commands

help:
	pypi - build sdist/bdist_egg and upload to pypi
	clean - remove pypi leftovers

pypi:
	python3 setup.py sdist bdist_egg upload

release:
	@echo git tag -a vX.XX.X -s -f
	@echo git push --tags
	@echo
	@echo Then follow instructions here to GPG sign it for Debian.
	@echo https://wiki.debian.org/Creating%20signed%20GitHub%20releases
	@echo
	@echo Basically, download the tar.gz and zip, run this...
	@echo `gpg --armor --detach-sign terminal-colors-*.tar.gz`
	@echo And upload the resulting .asc file.

clean:
	rm -rf build dist terminal_colors.egg-info