There was an error while loading. Please reload this page.
1 parent 680962c commit 24bcf9dCopy full SHA for 24bcf9d
1 file changed
Makefile
@@ -0,0 +1,32 @@
1
+
2
+PYTHON = python
3
+PANDOC = pandoc
4
5
+EMAIL = "mahtin@mahtin.com"
6
7
+all: README.rst build
8
9
+README.rst: README.md
10
+ $(PANDOC) --from=markdown --to=rst < README.md > README.rst
11
12
+build: setup.py
13
+ $(PYTHON) setup.py build
14
15
+install: build
16
+ $(PYTHON) setup.py install
17
18
+test: all
19
+ # to be done
20
21
+sdist: all
22
+ make clean
23
+ make test
24
+ $(PYTHON) setup.py sdist
25
26
+upload: clean all
27
+ $(PYTHON) setup.py sdist upload --sign --identity="$(EMAIL)"
28
29
+clean:
30
+ rm -rf build dist
31
+ $(PYTHON) setup.py clean
32
0 commit comments