Skip to content

Commit

Permalink
HARMONY-1909: Remove setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
ygliuvt committed Oct 16, 2024
1 parent 06fdd59 commit e363ec3
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 37 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ include *.md

# Include license and setup files
include LICENSE
include setup.py
include pyproject.toml

34 changes: 16 additions & 18 deletions docs/user/notebook.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def install_project_and_dependencies(project_root, libs=None):
Change to the project root, install the project and its optional dependencies,
then switch back to the original directory.
:param project_root: Path to the project root directory where pyproject.toml or setup.py is located.
:param project_root: Path to the project root directory where pyproject.toml is located.
:param libs: List of optional pip extra dependencies (e.g., ['examples', 'dev']).
"""
# Save the current working directory
Expand Down
15 changes: 0 additions & 15 deletions setup.py

This file was deleted.

4 changes: 2 additions & 2 deletions tests/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ def test_request_valid_shape():

@pytest.mark.parametrize('key, value, messages', [
('shape', './tests/', ['The provided shape path "./tests/" is not a file']),
('shape', './setup.py',
['The provided shape path "./setup.py" has extension "py" which is not recognized. '
('shape', './pyproject.toml',
['The provided shape path "./pyproject.toml" has extension "toml" which is not recognized. '
+ 'Valid file extensions: [json, geojson, kml, shz, zip]']),
])
def test_request_shape_file_error_message(key, value, messages):
Expand Down

0 comments on commit e363ec3

Please sign in to comment.