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

refactor: Make the project importable as a module #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 11, 2023

  1. refactor: Make the project importable as a module

    This PR introduces changes to make the project importable as a Python module and introduces more modern packaging standards.
    
    - Moved all project files into the `git_metrics` subfolder to create a proper Python module structure.
    - Updated the import statements in various modules to use explicit relative imports.
    - Introduced `pyproject.toml` file for PEP 517/518 standards, and added `setup.py` to ensure compatibility with both traditional and modern packaging tools.
    - Added entry points in `setup.py` for command-line scripts, making `calculate_four_metrics.py` and `git_metrics.py` accessible.
    skoenig committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    1b75996 View commit details
    Browse the repository at this point in the history