Skip to content

Commit

Permalink
* Optimized project integration templates to address the issue of lon…
Browse files Browse the repository at this point in the history
…g paths on Windows // Resolve #4652
  • Loading branch information
ivankravets committed Jun 8, 2023
1 parent 2b36c70 commit 355f5af
Show file tree
Hide file tree
Showing 40 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ PlatformIO Core 6
~~~~~~~~~~~~~~~~~~

* Enhanced the parsing of the |PIOCONF| to provide comprehensive diagnostic information
* Optimized project integration templates to address the issue of long paths on Windows (`issue #4652 <https://github.com/platformio/platformio-core/issues/4652>`_)

6.1.7 (2023-05-08)
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion platformio/project/integration/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_best_envname(self, boards=None):

@staticmethod
def get_ide_tpls_dir():
return os.path.join(fs.get_assets_dir(), "templates", "ide-projects")
return os.path.join(os.path.dirname(__file__), "tpls")

@classmethod
def get_supported_ides(cls):
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
package_data={
"platformio": [
"assets/system/99-platformio-udev.rules",
"assets/templates/ide-projects/*/*.tpl",
"assets/templates/ide-projects/*/.*.tpl", # include hidden files
"assets/templates/ide-projects/*/.*/*.tpl", # include hidden folders
"assets/templates/ide-projects/*/*/*.tpl", # NetBeans
"assets/templates/ide-projects/*/*/*/*.tpl", # NetBeans
"project/integration/tpls/*/*.tpl",
"project/integration/tpls/*/.*.tpl", # include hidden files
"project/integration/tpls/*/.*/*.tpl", # include hidden folders
"project/integration/tpls/*/*/*.tpl", # NetBeans
"project/integration/tpls/*/*/*/*.tpl", # NetBeans
]
},
entry_points={
Expand Down

0 comments on commit 355f5af

Please sign in to comment.