8000 move localstack dependency to dev extra (#73) · localstack/localstack-extensions@97ad22a · GitHub
[go: up one dir, main page]

Skip to content

Commit 97ad22a

Browse files
authored
move localstack dependency to dev extra (#73)
1 parent ecbffaa commit 97ad22a

File tree

19 files changed

+41
-32
lines changed

19 files changed

+41
-32
lines changed

aws-replicator/setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ install_requires =
1818
# TODO: currently requires a version pin, see note in auth_proxy.py
1919
botocore>=1.29.151
2020
flask
21-
localstack
2221
localstack-client
23-
localstack-ext
2422
xmltodict
2523
# TODO: refactor the use of http2_server
2624
hypercorn
@@ -37,6 +35,8 @@ install_requires =
3735
[options.extras_require]
3836
test =
3937
apispec
38+
localstack-core
39+
localstack-ext
4040
openapi-spec-validator
4141
pyproject-flake8
4242
pytest

diagnosis-viewer/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ venv: $(VENV_ACTIVATE)
88
$(VENV_ACTIVATE): setup.py setup.cfg
99
test -d .venv || $(VENV_BIN) .venv
1010
$(VENV_RUN); pip install --upgrade pip setuptools plux wheel
11-
$(VENV_RUN); pip install -e .
1211
touch $(VENV_DIR)/bin/activate
1312

1413
clean:
@@ -18,7 +17,7 @@ clean:
1817
rm -rf *.egg-info/
1918

2019
install: venv
21-
$(VENV_RUN); python setup.py develop
20+
$(VENV_RUN); python -m pip install -e .[dev]
2221

2322
dist: venv
2423
$(VENV_RUN); python setup.py sdist bdist_wheel

diagnosis-viewer/setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ long_description_content_type = text/markdown; charset=UTF-8
1313
zip_safe = False
1414
packages = find:
1515
install_requires =
16-
localstack>=1.4
1716
diapretty
1817

18+
[options.extras_require]
19+
dev =
20+
localstack-core>=1.4
21+
1922
[options.entry_points]
2023
localstack.extensions =
2124
diagnosis-viewer = diagnosis_viewer.extension:DiagnosisViewerExtension

hello-world/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ $(VENV_ACTIVATE): setup.py setup.cfg
99
test -d .venv || $(VENV_BIN) .venv
1010
$(VENV_RUN); pip install --upgrade pip setuptools plux wheel
1111
$(VENV_RUN); pip install --upgrade black isort pyproject-flake8 flake8-black flake8-isort
12-
$(VENV_RUN); pip install -e .
1312
touch $(VENV_DIR)/bin/activate
1413

1514
clean:
@@ -25,7 +24,7 @@ format: ## Run black and isort code formatter
2524
$(VENV_RUN); python -m isort helloworld; python -m black helloworld
2625

2726
install: venv
28-
$(VENV_RUN); python setup.py develop
27+
$(VENV_RUN); python -m pip install -e .[dev]
2928

3029
dist: venv
3130
$(VENV_RUN); python setup.py sdist bdist_wheel

hello-world/setup.cfg

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ author_email = thomas@localstack.cloud
1212
[options]
1313
zip_safe = False
1414
packages = find:
15-
install_requires =
16-
localstack>=1.0
15+
16+
[options.extras_require]
17+
dev =
18+
localstack-core>=1.0
1719

1820
[options.entry_points]
1921
localstack.extensions =

httpbin/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ $(VENV_ACTIVATE): setup.py setup.cfg
99
test -d .venv || $(VENV_BIN) .venv
1010
$(VENV_RUN); pip install --upgrade pip setuptools plux wheel
1111
$(VENV_RUN); pip install --upgrade black isort pyproject-flake8 flake8-black flake8-isort
12-
$(VENV_RUN); pip install -e .
1312
touch $(VENV_DIR)/bin/activate
1413

1514
clean:
@@ -25,7 +24,7 @@ format: venv
2524
$(VENV_RUN); python -m isort .; python -m black .
2625

2726
install: venv
28-
$(VENV_RUN); python setup.py develop
27+
$(VENV_RUN); python -m pip install -e .[dev]
2928

3029
dist: venv
3130
$(VENV_RUN); python setup.py sdist bdist_wheel

httpbin/setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ long_description_content_type = text/markdown; charset=UTF-8
1313
zip_safe = False
1414
packages = find:
1515
install_requires =
16-
localstack>=2.2
1716
# requirements for vendored httpbin
1817
Flask
1918
MarkupSafe
@@ -24,6 +23,10 @@ install_requires =
2423
gevent
2524
flasgger
2625

26+
[options.extras_require]
27+
dev =
28+
localstack-core>=2.2
29+
2730
[options.entry_points]
2831
localstack.extensions =
2932
httpbin = localstack_httpbin.extension:HttpbinExtension

mailhog/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ $(VENV_ACTIVATE): setup.py setup.cfg
99
test -d .venv || $(VENV_BIN) .venv
1010
$(VENV_RUN); pip install --upgrade pip setuptools plux wheel
1111
$(VENV_RUN); pip install --upgrade black isort pyproject-flake8 flake8-black flake8-isort
12-
$(VENV_RUN); pip install -e .
1312
touch $(VENV_DIR)/bin/activate
1413

1514
clean:
@@ -25,7 +24,7 @@ format: ## Run black and isort code formatter
2524
$(VENV_RUN); python -m isort mailhog; python -m black mailhog
2625

2726
install: venv
28-
$(VENV_RUN); python setup.py develop
27+
$(VENV_RUN); python -m pip install -e .[dev]
2928

3029
dist: venv
3130
$(VENV_RUN); python setup.py sdist bdist_wheel

mailhog/setup.cfg

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ long_description_content_type = text/markdown; charset=UTF-8
1212
[options]
1313
zip_safe = False
1414
packages = find:
15-
install_requires =
16-
localstack>=2.2
15+
16+
[options.extras_require]
17+
dev =
18+
localstack-core>=2.2
1719

1820
[options.entry_points]
1921
localstack.extensions =

miniflare/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ $(VENV_ACTIVATE): setup.py setup.cfg
99
test -d .venv || $(VENV_BIN) .venv
1010
$(VENV_RUN); pip install --upgrade pip setuptools plux wheel
1111
$(VENV_RUN); pip install --upgrade black isort pyproject-flake8 flake8-black flake8-isort
12-
$(VENV_RUN); pip install -e .
1312
touch $(VENV_DIR)/bin/activate
1413

1514
clean:
@@ -25,7 +24,7 @@ format: ## Run black and isort code formatter
2524
$(VENV_RUN); python -m isort .; python -m black .
2625

2726
install: venv
28-
$(VENV_RUN); python setup.py develop
27+
$(VENV_RUN); python -m pip install -e .[dev]
2928

3029
dist: venv
3130
$(VENV_RUN); python setup.py sdist bdist_wheel

0 commit comments

Comments
 (0)
0