summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-01-18 18:41:39 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-01-18 18:41:39 +0100
commit572620d0670282098b49b55934ce67a1fdc58f17 (patch)
treeee582542b10f432c24b6613359de1d0dbf37cda1 /Makefile.example
parent720cbbaaf3154e926f3a84f1ae1137bd1f5fea70 (diff)
downloadIshtar-572620d0670282098b49b55934ce67a1fdc58f17.tar.bz2
Ishtar-572620d0670282098b49b55934ce67a1fdc58f17.zip
Configure for publications on pypi, descriptions, etc.
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example13
1 files changed, 13 insertions, 0 deletions
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/*