Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1496,16 +1496,8 @@ python -m pytest

Additionally, all the code and examples located in this file, README.md,
is tested and verified with the builtin doctest framework.
A special routine for invoking the doctest is run when calling directly on shapefile.py.
In the same folder as README.md and shapefile.py, from the command line run:

```shell
python shapefile.py
```

This tests the code inside shapefile.py itself. To test an installed PyShp wheel against
the doctests, the same special routine can be invoked (in an env with the wheel and pytest
installed) from the test file:
A special routine for invoking the doctests against an installed PyShp wheel
can be invoked (in an env with the wheel and pytest installed) from the test file:


```shell
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ test = ["pytest"]
[project.urls]
Repository = "https://github.com/GeospatialPython/pyshp"

[project.scripts]
shapefile="shapefile.__main__:main"

[tool.hatch.build.targets.sdist]
only-include = ["src", "shapefiles", "test_shapefile.py"]

Expand Down
Loading