Skip to content

Commit 221e069

Browse files
authored
Merge pull request #374 from JamesParrott/Option-C)-Multiple-file-package-(src/shapefile/{__init__,reader,writer,geoson,.}.py)
Option c) multiple file package (src/shapefile/{ init ,reader,writer,geoson,.}.py)
2 parents 7496c72 + 31e0cc9 commit 221e069

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,16 +1496,8 @@ python -m pytest
14961496

14971497
Additionally, all the code and examples located in this file, README.md,
14981498
is tested and verified with the builtin doctest framework.
1499-
A special routine for invoking the doctest is run when calling directly on shapefile.py.
1500-
In the same folder as README.md and shapefile.py, from the command line run:
1501-
1502-
```shell
1503-
python shapefile.py
1504-
```
1505-
1506-
This tests the code inside shapefile.py itself. To test an installed PyShp wheel against
1507-
the doctests, the same special routine can be invoked (in an env with the wheel and pytest
1508-
installed) from the test file:
1499+
A special routine for invoking the doctests against an installed PyShp wheel
1500+
can be invoked (in an env with the wheel and pytest installed) from the test file:
15091501

15101502

15111503
```shell

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ test = ["pytest"]
3636
[project.urls]
3737
Repository = "https://github.com/GeospatialPython/pyshp"
3838

39-
[project.scripts]
40-
shapefile="shapefile.__main__:main"
41-
4239
[tool.hatch.build.targets.sdist]
4340
only-include = ["src", "shapefiles", "test_shapefile.py"]
4441

0 commit comments

Comments
 (0)