Makefile 739 Bytes
Newer Older
1
2
3
4
5
6
7
8

all: clean compile sdist

clean:
	@echo Clean Python build dir...
	python2.7 setup.py clean --all
	@echo Clean Python distribution dir...
	@-rm -rf dist
ysard's avatar
ysard committed
9
	@-rm -rf *egg-info
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

compile:
	@echo Building the library...
	python2.7 setup.py build

sdist:
	@echo Building the distribution package...
	python2.7 setup.py sdist

install:
	@echo Install the package...
	python2.7 setup.py install --record files.txt

uninstall: files.txt
	@echo Uninstalling the package...
	cat files.txt | xargs rm -rf
	rm files.txt

test_register:
	python2.7 setup.py register -r https://testpypi.python.org/pypi

test_install:
	python2.7 setup.py sdist upload -r https://testpypi.python.org/pypi
	pip2.7 install -U -i https://testpypi.python.org/pypi pycryptosat