Using Both PyPI File Path Naming Normalization and Enforce Layout

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

File Path Name Normalization and Enforce Layout work both independently and together to create a safety net for correct package naming.

The Enforce Layout setting only verifies that the file path and metadata have matching properties, while the File Path Name Normalization setting verifies that the names align with the PyPI naming conventions. Using both will ensure that you do not have duplicate or redundant packages.

Please note that although PyPI allows the use of the dash in the internal metadata names, our enforce layout feature is strict and your metadata names must match the file path name always.

For example, this will be the behavior when both File Path Name Normalization and Enforce Layout are enabled:

Normalization_and_enforce_layout_table.png