Skip to content

Migrate to a src/ layout#220

Open
kurtmckee wants to merge 1 commit into
h2non:masterfrom
kurtmckee:use-src-layout
Open

Migrate to a src/ layout#220
kurtmckee wants to merge 1 commit into
h2non:masterfrom
kurtmckee:use-src-layout

Conversation

@kurtmckee
Copy link
Copy Markdown

This prevents the test suite from accidentally passing when a packaging problem is masked by jsonpath_ng being importable from the root of the repository.

See #209 for a PR that demonstrates the consequences of having jsonpath_ng/ as a folder in the root of the repo.

In addition, this migrates from setup.py to pyproject.toml. With this change, the project can be built with these commands:

pip install build
python -m build

This prevents the test suite from accidentally passing
when a packaging problem is masked by `jsonpath_ng`
being importable from the root of the repository.

See h2non#209
for a PR that demonstrates the consequences of having
`jsonpath_ng/` as a folder in the root of the repo.

In addition, this migrates from `setup.py` to `pyproject.toml`.
With this change, the project can be built with these commands:

```
pip install build
python -m build
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant