File size: 648 Bytes
51227cf
 
 
cfc0db8
51227cf
 
 
 
 
 
 
bfff554
51227cf
 
4c4dd99
51227cf
 
 
 
 
 
 
df40774
 
 
c23b2e7
 
 
51227cf
 
 
 
 
 
 
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
# Define variables
PYTHON=python
PIP=pip
PACKAGE=megabots

.PHONY: install test clean build publish

install:
	$(PIP) install -r requirements.txt

test:
	$(PYTHON) -m pytest ./tests

clean:
	rm -rf build dist *.egg-info .pytest_cache ./**/__pycache__

build:
	$(PYTHON) setup.py sdist bdist_wheel

publish: clean build
	$(PYTHON) -m twine upload dist/*

trace:
	langchain-server	

freeze:
	$(PIP) freeze > requirements.txt

help:
	@echo "install - install dependencies"
	@echo "test - run tests"
	@echo "clean - remove build artifacts"
	@echo "build - build package"
	@echo "publish - publish package to PyPI"
	@echo "help - show this help message"