-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
42 lines (36 loc) · 836 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#/usr/bin/sh
# Build Arrand: random Arabic text generator
default: all
# Clean build files
clean:
backup:
#create all files
all: install install3 wheel wheel3 doc
install:
sudo python setup.py install
install3:
sudo python3 setup.py install
# Publish to github
publish:
git push origin master
md2rst:
pandoc -s -r markdown -w rst README.md -o README.rst
pandoc -s -r markdown -w rst doc/features.md -o doc/features.rst
md2html:
pandoc -s -r markdown -w html README.md -o README.html
wheel:
sudo python setup.py bdist_wheel
wheel3:
sudo python3 setup.py bdist_wheel
sdist:
sudo python3 setup.py sdist
sdist2:
sudo python setup.py sdist
upload:
echo "use twine upload dist/arrand-0.1.tar.gz"
test:
python -m unittest discover tests
test3:
python3 -m unittest discover tests
docs:
epydoc -v --config epydoc.conf