Skip to content

sonic-config-engine setup.py Absolute Path Vs Relative Path #4278

@cyberscribbleorg

Description

@cyberscribbleorg

Following in sonic-config-engine,

data_files=[
        ('/usr/share/sonic/templates', glob.glob('data/*')),
      ],

Is in conflict with python documentation of setup.py . The data_files path should be relative than absolute. Exact wording from the python documentation is below,

The directory should be a relative path. It is interpreted relative to the installation prefix

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement ➕P1Priority of the issue, lower than P0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions