Skip to content

Commit

Permalink
Eliminate build warning about ambiguous package list
Browse files Browse the repository at this point in the history
Details:

* The vendorizing of 'nocasedict' and 'nocaselist' caused new Python packages to
  appear under the 'pywbem' package. This caused the build of the distribution
  wheel archive to complain about ambiguity of the package list. This did not
  affect the content of the wheel distribution archive.
  Eliminated the warning by specifying the new sub-packages in the 'packages'
  parameter of setuptools.setup().

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed May 2, 2024
1 parent 0d3e70e commit 5549895
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ Released: not yet

**Cleanup:**

* Eliminated a warning about about ambiguity of the package list when building
the wheel distribution archive.

**Known issues:**

* See `list of open issues`_.
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ class bdist_wheel(bdist_wheel_base):
version=package_version,
packages=[
'pywbem',
'pywbem._vendor',
'pywbem._vendor.nocasedict',
'pywbem._vendor.nocaselist',
'pywbem_mock'
],
include_package_data=True, # Includes MANIFEST.in files into sdist (only)
Expand Down

0 comments on commit 5549895

Please sign in to comment.