GenomicsStandardsConsortium / mixs

Minimum Information about any (X) Sequence” (MIxS) specification
https://w3id.org/mixs
Creative Commons Zero v1.0 Universal
37 stars 21 forks source link

how to locally import the python package? #738

Closed turbomam closed 9 months ago

turbomam commented 9 months ago

I have run

see also

turbomam commented 9 months ago
find . -name mixs.py

./src/mixs/datamodel/mixs.py

find . -name __init__.py

./tests/__init__.py

turbomam commented 9 months ago

I just rebuilt my development like Patrick Kalita has suggested, esp. installing poetry with pipx and then this:

https://berkeleybop.github.io/best_practice/python_environments#configuring-poetry

now the following works

import src.mixs.datamodel.mixs as mixs