Metadata-Version: 2.1
Name: ccrootpath
Version: 1.2
Summary: Set project root path for importing local modules
Home-page: https://github.com/OpenFibers/CCRootPath
Author: OpenFibers
Author-email: openfibers@gmail.com
License: MIT
Description: Import project root path to `sys.path` for import local files.  
        
        # Intro
        
        If you have a project with the following structure:  
        
        ```
        | - my_proj
        |
        | - my_proj / config / models / account_model.py (class AccountModel)
        |
        | - my_proj / transaction / checker.py (class Checker)
        
        ```
        
        Use ccrootpath to simplize your `import` for local file importing:  
        
        ```
        import ccrootpath
        PROJECT_DIR = ccrootpath.set_project_root_path(__file__, 'my_proj')
        from config.models.account_model import AccountModel
        from transaction.checker import Checker
        ```
        
        # How to install
        
        ```
        pip3 install ccrootpath --upgrade --user
        ```
Platform: UNKNOWN
Description-Content-Type: text/markdown
