Skip to content

Commit

Permalink
Ensure that wheel binary distribution does not package tests and deve…
Browse files Browse the repository at this point in the history
…lopment utilities
  • Loading branch information
ushkarev committed Feb 9, 2023
1 parent a44138f commit 5f71f67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include Makefile *.txt *.md
recursive-include *.py
include *.txt
include *.md
include notifications_python_client/py.typed
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test: ## Run tests

.PHONY: integration-test
integration-test: ## Run integration tests
python integration_test/integration_tests.py
python -m integration_test.integration_tests

.PHONY: build-wheel
build-wheel: ## build distributable wheel
Expand Down
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ test=pytest
addopts = --verbose
python_files = tests/**

[bdist_wheel]
# this flags the wheel as being python 2 and 3 compatible
universal = 1

[isort]
line_length=80
indent=' '
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def run_tests(self):
],
keywords='gds govuk notify',

packages=find_packages(),
packages=find_packages(include=['notifications_python_client']),
include_package_data=True,

# only support actively patched versions of python (https://devguide.python.org/devcycle/#end-of-life-branches)
Expand Down

0 comments on commit 5f71f67

Please sign in to comment.