Skip to content

Commit

Permalink
Fix tests being installed as a package
Browse files Browse the repository at this point in the history
  • Loading branch information
bebleo committed Jul 7, 2023
1 parent 0715533 commit dd1c76c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

Release date: TBD

- remove redundant `smtpdfix.typing`.
- Removes redundant `smtpdfix.typing` module.
- Drop support for PyPy 3.7 from testing.
- Fixes an issue where `tests` would be installed as a package by pip. [Issue #328](https://github.com/bebleo/smtpdfix/issues/328) reported by [thedamnedrhino](https://github.com/thedamnedrhino).

## Version 0.5.0

Expand All @@ -18,7 +19,7 @@ Previously `smtpdfix` would load a `.env` file automatically using `python-doten
Previous versions used port 8025 by default, as of version 0.5.0 a random port is used instead.

- As of version 0.5.0 Smtpdfix no longer uses `python-dotenv` to load a `.env` file by default. [Issue #274](https://github.com/bebleo/smtpdfix/274) reported by [Emmanuel Belair (@e-belair)](https://github.com/e-belair)
- A random unused port is used instead of the default 8025 port. [Issue #820](https://github.com/bebleo/smtpdfix/issues/280) reported by [Éloi Rivard](https://github.com/azmeuk)
- A random unused port is used instead of the default 8025 port. [Issue #280](https://github.com/bebleo/smtpdfix/issues/280) [Éloi Rivard](https://github.com/azmeuk)
- Replaced the deprecated key `license_file` with `license_files` as per warning during build.

## Version 0.4.2
Expand Down
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ typing =
[options.package_data]
smtpdfix = py.typed

[options.packages.find]
exclude =
docs*
requirements*
tests*

[tool:pytest]
testpaths = tests

Expand Down

0 comments on commit dd1c76c

Please sign in to comment.