-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.mak
More file actions
32 lines (26 loc) · 806 Bytes
/
Makefile.mak
File metadata and controls
32 lines (26 loc) · 806 Bytes
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
.PHONY: help install install-dev test clean uninstall
help:
@echo "XRF Analysis Package - Available Commands"
@echo "=========================================="
@echo "make install - Install package"
@echo "make install-dev - Install in development mode"
@echo "make test - Run installation tests"
@echo "make clean - Remove build artifacts"
@echo "make uninstall - Uninstall package"
@echo ""
@echo "After installation, use: xrf-analyze --help"
install:
pip install .
install-dev:
pip install -e .
test:
python test_installation.py
clean:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
find . -type f -name "*.pyo" -delete
uninstall:
pip uninstall -y xrf-analysis