From e9c377136b8d0329f464749ea9671874d9dde17e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 18 Jan 2016 18:41:39 +0100 Subject: Configure for publications on pypi, descriptions, etc. --- Makefile.example | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile.example') diff --git a/Makefile.example b/Makefile.example index 967641959..837bc74cd 100644 --- a/Makefile.example +++ b/Makefile.example @@ -15,6 +15,7 @@ clean: -rm -rf *~* -find . -name '*.pyc' -exec rm {} \; -find . -name '.*.swp' -exec rm {} \; + -rm -rf dist ishtar.egg-info update: clean syncdb compilemessages collectstatic @@ -191,3 +192,15 @@ translations_push: makemessages translations_pull: zanata-cli pull + +readme_md_to_rst: + pandoc --from=markdown --to=rst --output=README.rst README.md + +sdist: clean + $(PYTHON) setup.py sdist + +distribute_test: sdist + twine upload -r pypitest dist/* + +distribute_main: sdist + twine upload -r pypi dist/* -- cgit v1.2.3