Skip to content

Bug: Is the build setup missing the requirements? #25

@flikka

Description

@flikka

When cloning the repo, running the "build" command, and pip installing the wheel, I would expect the dependencies to have been installed as a part of the pip install. I wonder if there is something missing in the pyproject file?


[flikka][flikka-HP-ZBook-15-G6][±][main ?:2 ✗][@env][~/ais]
$ pip install dist/ais_analyzer-0.0.1-py3-none-any.whl  --force-reinstall
Processing ./dist/ais_analyzer-0.0.1-py3-none-any.whl
Installing collected packages: ais-analyzer
  Attempting uninstall: ais-analyzer
    Found existing installation: ais-analyzer 0.0.1
    Uninstalling ais-analyzer-0.0.1:
      Successfully uninstalled ais-analyzer-0.0.1
Successfully installed ais-analyzer-0.0.1
[flikka][flikka-HP-ZBook-15-G6][±][main ?:2 ✗][@env][~/ais]
$ ais
Traceback (most recent call last):
  File "/home/flikka/ais/env/bin/ais", line 5, in <module>
    from ais_analyzer import __main__
  File "/home/flikka/ais/env/lib/python3.10/site-packages/ais_analyzer/__main__.py", line 7, in <module>
    from .commands import statistics, portcalls
  File "/home/flikka/ais/env/lib/python3.10/site-packages/ais_analyzer/commands/portcalls.py", line 5, in <module>
    from shapely.geometry import Point, Polygon
ModuleNotFoundError: No module named 'shapely'
[flikka][flikka-HP-ZBook-15-G6][±][main ?:2 ✗][@env][~/ais]
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions