We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2188edd commit 8125cefCopy full SHA for 8125cef
Makefile
@@ -3,6 +3,7 @@ IMAGE ?= fme
3
REGISTRY ?= registry.nersc.gov/m4492/ai2cm
4
ENVIRONMENT_NAME ?= fme
5
USERNAME ?= $(shell beaker account whoami --format=json | jq -r '.[0].name')
6
+DEPLOY_TARGET ?= pypi
7
8
build_docker_image:
9
docker build -f docker/Dockerfile -t $(IMAGE):$(VERSION) .
@@ -40,3 +41,17 @@ test_fast:
40
41
42
test_very_fast:
43
pytest --durations 40 --very-fast .
44
+
45
46
+# For maintainer use only
47
+# requires fme[deploy] to be installed
48
49
+build_pypi:
50
+ rm -rf fme/dist
51
+ cd fme && python -m build
52
53
+deploy_pypi: build_pypi
54
+ cd fme && twine upload --repository $(DEPLOY_TARGET) dist/*
55
56
+deploy_test_pypi: DEPLOY_TARGET = testpypi
57
+deploy_test_pypi: deploy_pypi
0 commit comments