Skip to content

Commit 641e26b

Browse files
committed
better publish workflow
1 parent b22dceb commit 641e26b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.PHONY: test
2+
test:
3+
tox
4+
5+
.PHONY: publish
6+
publish:
7+
python setup.py sdist bdist_wheel
8+
twine upload dist/*
9+
10+
.PHONY: cleanup
11+
cleanup:
12+
rm -rf airflow_python_sdk.egg-info/
13+
rm -rf build/
14+
rm -rf dist/

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ nulltype
22
python_dateutil >= 2.5.3
33
setuptools >= 21.0.0
44
urllib3 >= 1.25.3
5+
tox >= 3.21.2
6+
wheel >= 0.36.2
7+
twine >= 3.3.0

0 commit comments

Comments
 (0)