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

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...
21
	pip install .
22 23 24

uninstall: files.txt
	@echo Uninstalling the package...
25
	pip uninstall -y cadbiom_gui
26

27 28 29 30 31 32 33 34
dev_install:
	@echo Install the package for developers...
	python2.7 setup.py develop

dev_uninstall:
	@echo Uninstalling the package for developers...
	python2.7 setup.py develop --uninstall

35 36
upload: clean sdist
	python setup.py bdist_wheel
VIGNET Pierre's avatar
VIGNET Pierre committed
37
	twine upload dist/* -r pypi_inria