Skip to content

Tags: alelom/python-package-folder

Tags

v6.0.0

Toggle v6.0.0's commit message
Fixed wrong package directory

This commit introduces functionality for creating a temporary package directory in the SubfolderBuildConfig class. The directory is named based on the package name, converting hyphens to underscores for import compatibility. It ensures that the source directory contents are preserved and correctly structured. Additionally, the BuildManager class is updated to utilize this temporary directory for dependency management during builds. Cleanup logic is also added to remove the temporary directory after use, enhancing the overall build process.

v5.4.0

Toggle v5.4.0's commit message
Refactor package name derivation logic in main function

This commit enhances the package name derivation process by introducing a new variable, derived_package_name, which is used to construct the package name for subfolder builds. The logic now checks for an existing package name argument and derives the name from the root project name and subfolder name if not provided. This change improves clarity and consistency in how package names are handled during version resolution and publishing.

v5.3.0

Toggle v5.3.0's commit message
Update coverage badge [skip ci]

v5.2.0

Toggle v5.2.0's commit message
Add HTML parsing for Azure Artifacts version retrieval

This commit introduces a new SimpleIndexParser class to parse the PEP 503 simple index HTML format from Azure Artifacts, allowing the extraction of package versions from the HTML response. The query_azure_artifacts_version function is updated to utilize this parser, improving the handling of version retrieval. Additionally, tests are added to verify the parsing functionality, including scenarios for successful version extraction, handling 404 responses, and cases with empty HTML responses.

v5.1.0

Toggle v5.1.0's commit message
Update coverage badge [skip ci]

v5.0.0

Toggle v5.0.0's commit message
Update coverage badge [skip ci]

v4.3.1

Toggle v4.3.1's commit message
Added getGlobalNpmPrefix() function to detect the global npm installa…

…tion path

v4.3.0

Toggle v4.3.0's commit message
Add MANIFEST.in and enhance build hook for script inclusion

This commit introduces a new MANIFEST.in file to include the get-next-version.cjs script and all files in the scripts directory during package builds. The CustomBuildHook is updated to dynamically locate the scripts directory, improving flexibility for different project layouts and ensuring all relevant scripts are included in the wheel package.

v4.2.0

Toggle v4.2.0's commit message
Update pyproject.toml to include scripts directory in wheel build

This change adds a force-include directive for the get-next-version.cjs script in the wheel build configuration, ensuring it is included in the package. The existing build hook is retained as a fallback for future file additions.

v4.1.1

Toggle v4.1.1's commit message