Skip to content

Commit

Permalink
Update setup.py, exclude 'test' (Julius2342#370)
Browse files Browse the repository at this point in the history
Otherwise:

```
* Messages for package dev-python/pyvlx-0.2.21:

 * The following unexpected files/directories were found top-level
 * in the site-packages directory:
 *
 *   /usr/lib/python3.11/site-packages/test
 *
 * This is most likely a bug in the build system.  More information
 * can be found in the Python Guide:
 * https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages
 * ERROR: dev-python/pyvlx-0.2.21::HomeAssistantRepository failed (install phase):
 *   Failing install because of stray top-level files in site-packages
```
  • Loading branch information
onkelbeh authored Jan 8, 2024
1 parent 0cd9f0f commit eabece3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_long_description() -> str:
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
packages=find_packages(),
packages=find_packages(exclude=['test*']),
package_data={
"pyvlx": ["py.typed"],
},
Expand Down

0 comments on commit eabece3

Please sign in to comment.