Skip to content

Commit

Permalink
Merge pull request #25 from Safe/new-plugin-zips
Browse files Browse the repository at this point in the history
config-env: add new plugin ZIPs in FME 2023.2+ to Python path
  • Loading branch information
carsonyl authored and GitHub Enterprise committed Sep 13, 2023
2 parents c8c6f78 + 5198afd commit 9ae2d48
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# fme-packager changes

# 1.6.0

* Update `fme-packager config-env` for path changes in FME 2023.2+.

# 1.5.0

* Require Python 3.7 or newer.
Expand Down
2 changes: 1 addition & 1 deletion fme_packager/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.5.0"
__version__ = "1.6.0"
5 changes: 5 additions & 0 deletions fme_packager/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ def config_env(fme_home, site_packages_dir):
paths_to_add = [
"#" + fme_home,
os.path.join(fme_home, "python"),
os.path.join(
fme_home,
"python",
f"fme-plugins-py{sys.version_info.major}{sys.version_info.minor}.zip",
),
os.path.join(fme_home, "python", leaf_dir),
os.path.join(fme_home, "fmeobjects", leaf_dir),
]
Expand Down

0 comments on commit 9ae2d48

Please sign in to comment.