Skip to content

Commit

Permalink
Update setup.py, exclude 'tests'
Browse files Browse the repository at this point in the history
Otherwise:

```
 * The following unexpected files/directories were found top-level
 * in the site-packages directory:
 *
 *   /usr/lib/python3.11/site-packages/tests
 *
 * 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
```
  • Loading branch information
onkelbeh authored and rokam committed Jan 6, 2024
1 parent b7b920d commit f976fc4
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 @@ -20,7 +20,7 @@
long_description_content_type="text/markdown",
url="https://github.com/rokam/sunweg",
install_requires=requires,
packages=setuptools.find_packages(),
packages=setuptools.find_packages(exclude=['tests','tests.*']),
python_requires=">=3.10",
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit f976fc4

Please sign in to comment.