forked from plaid/plaid-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (25 loc) · 622 Bytes
/
Makefile
File metadata and controls
30 lines (25 loc) · 622 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
#!make
# Requires tox to be installed and in the executable path
.PHONY: test
test:
CLIENT_ID=$(CLIENT_ID) SECRET=$(SECRET) tox
# Setting up for local development
.PHONY: setup
setup:
pip install -r requirements.txt
# Clean the /dist directory for a new publish
.PHONY: package-clean
package-clean:
@rm -rf dist/*
# Build a new package into the /dist directory
.PHONY: package-build
package-build:
python setup.py sdist
# Test new package before publish
.PHONY: package-check
package-check:
twine check dist/*
# Publish the new /dist package to Pypi
.PHONY: package-publish
package-publish:
twine upload dist/*