Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a python package #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Make a python package #17

wants to merge 3 commits into from

Conversation

balazsdukai
Copy link
Member

@balazsdukai balazsdukai commented Mar 7, 2024

Restructures the code into a package so that it can be imported by other software. I did not alter the code beyond moving files around and fixing the imports.

  • Restructures the repository into a python package called building_metrics_3d
  • Moves the contents of requirements.txt to pyproject.toml
  • Adds tox for testing the installation
  • Fixes the tests for using the new package

I tested with python3.11

Example module import of the package from building_metrics_3d import shape_index

Fixes #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor into a library and contributing
1 participant