alan-turing-institute / python-project-template

15 stars 3 forks source link

Issue with project folder set up #6

Closed rwood-97 closed 10 months ago

rwood-97 commented 10 months ago

We set up our project using the template but had Module not found error when trying to import. Here is commit after set up: https://github.com/alan-turing-institute/github-analyser/commit/5d8958268b8c010199a05c5f7c5063516274a6c4

To fix, we removed the hatch part (#5) from our pyproject.toml and also renamed our project folder to have an underscore not hyphen. Here is commit to fix import issue: https://github.com/alan-turing-institute/github-analyser/commit/b98ef0a2380358905101aa301558cdfc8030b553

We think this should be pip_name (i.e. with underscores) not project_name (i.e. with hyphen).