bids-standard / pybids-reports

A subpackage of pyBIDS, implementing automatic report generation from BIDS datasets.
http://pybids-reports.readthedocs.io/
MIT License
1 stars 2 forks source link

Cannot dynamically import the version in the doc #29

Closed Remi-Gau closed 9 months ago

Remi-Gau commented 1 year ago

fix the way the version of the subpackage is found.

_Originally posted by @Remi-Gau in https://github.com/bids-standard/pybids-reports/pull/19#discussion_r1210151339_

I suspect something related to "packaging".

tsalo commented 9 months ago

I tried the following on my branch from #60:

from bids.ext import reports

print(reports.__version__)

and it worked:

'0.1.dev162+g8802b09.d20240123'

EDIT: I also included that version in the docs in #60.