Skip to content

YDK fails create bundle package when package name contains '.' #978

@ygorelik

Description

@ygorelik

Current Behavior

When "name" value (package name) in the bundle profile contains period characters, the bundle generator creates package with no files, although the files were created as expected. The period in package name and then directory, where generated files are placed, confuses the setup.py.
Example of such profile:

{
  "name": "junos-19.2",
  "version": "0.19.2",
  "ydk_version": "0.8.4",
  "author": "horseinthesky",
  "copyright": "horseinthesky",
  "description": "JunOS 19.2 Yang Model",
  "models": {
        "dir": [
          "juno/yang/19.2/19.2R1/junos/conf"
        ]
      }
}

System Information

YDK-0.8.4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions