Skip to content

Commit

Permalink
PCM packaging fixes (#131)
Browse files Browse the repository at this point in the history
* PCM packaging fixes

* Removed metadata to be regenerated at next release

* Made all STEP files lowercase

* Revert "Made all STEP files lowercase"

This reverts commit 22031c8.
  • Loading branch information
JarrettR authored Nov 17, 2023
1 parent bcb2027 commit a6a1adf
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 76 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,19 @@ For KiCad 6 and 7, you can use the following steps:

1. On KiCad, open the PCM in the main KiCad window.

![First Step](resources/pcm_install_step-1.png)
![First Step](docs/pcm_install_step-1.png)

2. The PCM window will display a list of available plugins, libraries, and color themes. You can browse through the categories or use the search bar to find a specific package.

![First Step](resources/pcm_install_step-2.png)
![First Step](docs/pcm_install_step-2.png)

3. To install the library manually using the ZIP file from the latest release, you need to select the file from **"Install from file..."**

![First Step](resources/pcm_install_step-3.png)
![First Step](docs/pcm_install_step-3.png)

4. Once the package is installed, you will see the Espressif Library listed on the Installed tab.

![First Step](resources/pcm_install_step-4.png)
![First Step](docs/pcm_install_step-4.png)

5. Now you are ready to use the library. Note that the library will be listed as **PCM_Espressif** in the Symbol and Footprint.

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
71 changes: 0 additions & 71 deletions metadata.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def package_directories_to_zip(zip_handle: zipfile.ZipFile):

def add_zip_internal_metadata_json(zip_handle: zipfile.ZipFile, version: str):
zip_internal_metadata_json = create_zip_internal_metadata_json(version)
zip_handle.writestr('/metadata.json', create_json_string(zip_internal_metadata_json))
zip_handle.writestr('metadata.json', create_json_string(zip_internal_metadata_json))


def calculate_zip_content_size(zip_handle: zipfile.ZipFile) -> int:
Expand Down

0 comments on commit a6a1adf

Please sign in to comment.