Skip to content

Commit

Permalink
Move project source back to src/geventhttpclient, making sure that th…
Browse files Browse the repository at this point in the history
…e tests are run against the installed package

See discussion in geventhttpclient#189
  • Loading branch information
ml31415 committed May 1, 2024
1 parent 306814e commit f0a6bbd
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
include geventhttpclient/*.py
include src/geventhttpclient/*.py
include ext/*.c
include ext/*.h
recursive-include llhttp *.h *.c LICENSE-MIT
recursive-exclude tests *
global-exclude __pycache__
global-exclude *.py[co]
include pyproject.toml
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ download = "https://pypi.org/project/geventhttpclient/#files"


[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true

[tool.setuptools.packages.find]
where = [""]
include = ["geventhttpclient"]
exclude = ["*.tests", "*.tests.*", "tests.*", "tests"]
where = ["src"]

[tool.setuptools.package-data]
"*" = ["README.md", "release.md", "LICENSE-MIT"]
Expand Down Expand Up @@ -94,8 +93,8 @@ commands =
# find . -name '*.pyc' -delete
python -m build
pip install -r requirements-dev.txt
pip install -e.
pytest tests
pip install .
pytest
"""


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f0a6bbd

Please sign in to comment.