Skip to content

Commit 27fa51d

Browse files
authored
fix(build): use correct package list with setuptools (#207)
Signed-off-by: Phil Adams <[email protected]>
1 parent d60d1c4 commit 27fa51d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist: jammy
44

55
stages:
66
- name: Build-Test
7+
if: tag IS blank
78
- name: Semantic-Release
89
if: (branch = main) AND (type IN (push, api)) AND (fork = false)
910
- name: Publish-Release

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ lint-fix:
4141

4242
build-dist:
4343
rm -fr dist
44-
${PYTHON} -m build -s
44+
${PYTHON} -m build
4545

4646
# This target requires the TWINE_PASSWORD env variable to be set to the user's pypi.org API token.
4747
publish-dist:
48-
TWINE_USERNAME=__token__ ${PYTHON} -m twine upload --non-interactive --verbose dist/*.tar.gz
48+
TWINE_USERNAME=__token__ ${PYTHON} -m twine upload --non-interactive --verbose dist/*

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ requires = ["setuptools>=67.7.2"]
5959
build-backend = "setuptools.build_meta"
6060

6161
[tool.setuptools]
62-
packages = ["ibm_cloud_sdk_core"]
62+
packages = ["ibm_cloud_sdk_core", "ibm_cloud_sdk_core.authenticators", "ibm_cloud_sdk_core.token_managers"]
6363

6464
[tool.black]
6565
line-length = 120

0 commit comments

Comments
 (0)