Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop old ipy engines #2094

Merged
merged 2 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build test
on:
push:

jobs:
build:
if: github.repository != 'eirannejad/pyRevit'
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}

- name: Checkout Submodules
uses: snickerbockers/submodules-init@7ce9774442c0c2d4728e6d3f66141df2102e4cbc

- name: Prepare Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Prepare pipenv
run: |
pip install pipenv
pipenv install

- name: Prepare msbuild
uses: microsoft/setup-msbuild@v1.1

- name: Build Products
run: |
pipenv run pyrevit build products
Binary file removed bin/engines/IPY2710/IKVM.Reflection.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/IronPython.Modules.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/IronPython.SQLite.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/IronPython.Wpf.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/IronPython.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/Microsoft.Dynamic.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/Microsoft.Scripting.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/pyRevitLoader.dll
Binary file not shown.
Binary file removed bin/engines/IPY2710/pyRevitRunner.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/IronPython.Modules.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/IronPython.SQLite.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/IronPython.Wpf.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/IronPython.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/Microsoft.Dynamic.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/Microsoft.Scripting.Metadata.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/Microsoft.Scripting.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/pyRevitLoader.dll
Binary file not shown.
Binary file removed bin/engines/IPY273/pyRevitRunner.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/IronPython.Modules.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/IronPython.SQLite.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/IronPython.Wpf.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/IronPython.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/Microsoft.Dynamic.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/Microsoft.Scripting.Metadata.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/Microsoft.Scripting.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/pyRevitLoader.dll
Binary file not shown.
Binary file removed bin/engines/IPY277/pyRevitRunner.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/IKVM.Reflection.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/IronPython.Modules.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/IronPython.SQLite.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/IronPython.Wpf.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/IronPython.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/Microsoft.Dynamic.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/Microsoft.Scripting.Metadata.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/Microsoft.Scripting.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/pyRevitLoader.dll
Binary file not shown.
Binary file removed bin/engines/IPY278/pyRevitRunner.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/IKVM.Reflection.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/IronPython.Modules.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/IronPython.SQLite.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/IronPython.Wpf.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/IronPython.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/Microsoft.Dynamic.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/Microsoft.Scripting.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/pyRevitLoader.dll
Binary file not shown.
Binary file removed bin/engines/IPY279/pyRevitRunner.dll
Binary file not shown.
Binary file removed dev/libs/IronPython/python_2710_lib.zip
Binary file not shown.
Binary file removed dev/libs/IronPython/python_273_lib.zip
Binary file not shown.
Binary file removed dev/libs/IronPython/python_277_lib.zip
Binary file not shown.
Binary file removed dev/libs/IronPython/python_278_lib.zip
Binary file not shown.
Binary file removed dev/libs/IronPython/python_279_lib.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion dev/pyRevitLabs/pyRevitCLI/PyRevitCLI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private static void ProcessArguments() {
if (arguments["default"].IsTrue)
engineVersion = PyRevitEngineVersion.Default;
else {
// try parse the engine version as an integer e.g. 277 for 2.7.7
// try parse the engine version as an integer e.g. 2711 for 2.7.11
if (int.TryParse(engStrVer, out var engIntVer))
engineVersion = (PyRevitEngineVersion)engIntVer;
}
Expand Down
2 changes: 1 addition & 1 deletion dev/pyRevitLabs/pyRevitCLI/PyRevitCLIAppHelps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ internal static void
options: new Dictionary<string, string>() {
{ "<clone_name>", "Name of target clone" },
{ "<revit_year>", "Revit version year e.g. 2019" },
{ "<engine_version>", "Engine version to be used e.g. 277" },
{ "<engine_version>", "Engine version to be used e.g. 2711" },
{ "latest", "Use latest engine" },
{ "dynamosafe", "Use latest engine that is compatible with DynamoBIM" },
{ "--installed", "All installed Revits" },
Expand Down
4 changes: 2 additions & 2 deletions dev/pyRevitLabs/pyRevitLabs.PyRevit/PyRevitClone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ private static string FindValidClonePathAbove(string startingPath) {
// find engine path with given version
// @handled @logs
private static PyRevitEngine FindEngine(string enginesDir, int engineVer = 000) {
// engines are stored in directory named XXX based on engine version (e.g. 273)
// engines are stored in directory named XXX based on engine version (e.g. 2711)
// return latest if zero
if (engineVer == 000) {
PyRevitEngine latestEngine = null;
Expand Down Expand Up @@ -574,7 +574,7 @@ private static PyRevitEngine FindEngine(string enginesDir, int engineVer = 000)
// find all engines under a given engine path
// @handled @logs
private static List<PyRevitEngine> FindEngines(string enginesDir) {
// engines are stored in directory named XXX based on engine version (e.g. 273)
// engines are stored in directory named XXX based on engine version (e.g. 2711)
var engines = new List<PyRevitEngine>();
var engineFinder = new Regex(@"\d\d\d");

Expand Down
2 changes: 0 additions & 2 deletions dev/pyRevitLabs/pyRevitLabs.PyRevit/PyRevitConsts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ public static class PyRevitConsts {
public const string AddinClassName = "PyRevitLoader.PyRevitLoaderApplication";
public const string VendorId = "eirannejad";
public const string LegacyEngineDllName = "pyRevitLoader.dll";
public const int ConfigsDynamoCompatibleEnginerVer = 273;


// core configs
public const string ConfigsTrueString = "true";
Expand Down
9 changes: 0 additions & 9 deletions dev/pyRevitLoader/pyRevitLoader.2710.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions dev/pyRevitLoader/pyRevitLoader.273.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions dev/pyRevitLoader/pyRevitLoader.277.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions dev/pyRevitLoader/pyRevitLoader.278.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions dev/pyRevitLoader/pyRevitLoader.279.csproj

This file was deleted.

70 changes: 0 additions & 70 deletions dev/pyRevitLoader/pyRevitLoader.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Runners", "Runners", "{74C5
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitLoader.2711PR", "pyRevitLoader.2711PR.csproj", "{B4999A6B-E890-4514-9FEF-4FC5C0332C89}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitLoader.273", "pyRevitLoader.273.csproj", "{EE662C9C-EAF9-465C-B17A-F9F1F744F5F1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitLoader.277", "pyRevitLoader.277.csproj", "{39C47292-FEE1-4D6D-96A7-B6066854C98B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitLoader.278", "pyRevitLoader.278.csproj", "{C4D5CD8F-4504-4C34-9870-CD06712EF888}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitLoader.279", "pyRevitLoader.279.csproj", "{4FE03FBD-3EF1-4570-8E9D-8C3E508AACD5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitLoader.2710", "pyRevitLoader.2710.csproj", "{581ADF22-C823-4A43-99C1-23BB75C905A5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitRunner.2711PR", "pyRevitRunner.2711PR.csproj", "{9DB5A32B-7C8A-463B-8DB5-DFD992ADED8A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitRunner.273", "pyRevitRunner.273.csproj", "{1172860C-81A9-436E-9187-DE7E64529C23}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitRunner.277", "pyRevitRunner.277.csproj", "{D1EFC1A1-388E-4B95-8DF0-FF84A2598902}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitRunner.278", "pyRevitRunner.278.csproj", "{EFEA8406-20F6-4AFC-9610-95F9A9EC564E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitRunner.279", "pyRevitRunner.279.csproj", "{14F32C47-EC16-4E35-95A7-2DDF2C8889D2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitRunner.2710", "pyRevitRunner.2710.csproj", "{DE55F0AB-BDEA-4E61-BC38-E8576912B8BD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitLoader.340PR", "pyRevitLoader.340PR.csproj", "{6FF6322E-2DC3-4D58-B7C7-078704358916}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pyRevitRunner340PR", "pyRevitRunner340PR.csproj", "{2961C0FE-C1BC-4FC5-AC31-137C59A0E436}"
Expand All @@ -45,50 +25,10 @@ Global
{B4999A6B-E890-4514-9FEF-4FC5C0332C89}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B4999A6B-E890-4514-9FEF-4FC5C0332C89}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B4999A6B-E890-4514-9FEF-4FC5C0332C89}.Release|Any CPU.Build.0 = Release|Any CPU
{EE662C9C-EAF9-465C-B17A-F9F1F744F5F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE662C9C-EAF9-465C-B17A-F9F1F744F5F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE662C9C-EAF9-465C-B17A-F9F1F744F5F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE662C9C-EAF9-465C-B17A-F9F1F744F5F1}.Release|Any CPU.Build.0 = Release|Any CPU
{39C47292-FEE1-4D6D-96A7-B6066854C98B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39C47292-FEE1-4D6D-96A7-B6066854C98B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39C47292-FEE1-4D6D-96A7-B6066854C98B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39C47292-FEE1-4D6D-96A7-B6066854C98B}.Release|Any CPU.Build.0 = Release|Any CPU
{C4D5CD8F-4504-4C34-9870-CD06712EF888}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C4D5CD8F-4504-4C34-9870-CD06712EF888}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C4D5CD8F-4504-4C34-9870-CD06712EF888}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C4D5CD8F-4504-4C34-9870-CD06712EF888}.Release|Any CPU.Build.0 = Release|Any CPU
{4FE03FBD-3EF1-4570-8E9D-8C3E508AACD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4FE03FBD-3EF1-4570-8E9D-8C3E508AACD5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4FE03FBD-3EF1-4570-8E9D-8C3E508AACD5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4FE03FBD-3EF1-4570-8E9D-8C3E508AACD5}.Release|Any CPU.Build.0 = Release|Any CPU
{581ADF22-C823-4A43-99C1-23BB75C905A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{581ADF22-C823-4A43-99C1-23BB75C905A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{581ADF22-C823-4A43-99C1-23BB75C905A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{581ADF22-C823-4A43-99C1-23BB75C905A5}.Release|Any CPU.Build.0 = Release|Any CPU
{9DB5A32B-7C8A-463B-8DB5-DFD992ADED8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9DB5A32B-7C8A-463B-8DB5-DFD992ADED8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9DB5A32B-7C8A-463B-8DB5-DFD992ADED8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9DB5A32B-7C8A-463B-8DB5-DFD992ADED8A}.Release|Any CPU.Build.0 = Release|Any CPU
{1172860C-81A9-436E-9187-DE7E64529C23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1172860C-81A9-436E-9187-DE7E64529C23}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1172860C-81A9-436E-9187-DE7E64529C23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1172860C-81A9-436E-9187-DE7E64529C23}.Release|Any CPU.Build.0 = Release|Any CPU
{D1EFC1A1-388E-4B95-8DF0-FF84A2598902}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1EFC1A1-388E-4B95-8DF0-FF84A2598902}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1EFC1A1-388E-4B95-8DF0-FF84A2598902}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1EFC1A1-388E-4B95-8DF0-FF84A2598902}.Release|Any CPU.Build.0 = Release|Any CPU
{EFEA8406-20F6-4AFC-9610-95F9A9EC564E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EFEA8406-20F6-4AFC-9610-95F9A9EC564E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EFEA8406-20F6-4AFC-9610-95F9A9EC564E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EFEA8406-20F6-4AFC-9610-95F9A9EC564E}.Release|Any CPU.Build.0 = Release|Any CPU
{14F32C47-EC16-4E35-95A7-2DDF2C8889D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{14F32C47-EC16-4E35-95A7-2DDF2C8889D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{14F32C47-EC16-4E35-95A7-2DDF2C8889D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{14F32C47-EC16-4E35-95A7-2DDF2C8889D2}.Release|Any CPU.Build.0 = Release|Any CPU
{DE55F0AB-BDEA-4E61-BC38-E8576912B8BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DE55F0AB-BDEA-4E61-BC38-E8576912B8BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DE55F0AB-BDEA-4E61-BC38-E8576912B8BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE55F0AB-BDEA-4E61-BC38-E8576912B8BD}.Release|Any CPU.Build.0 = Release|Any CPU
{6FF6322E-2DC3-4D58-B7C7-078704358916}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6FF6322E-2DC3-4D58-B7C7-078704358916}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6FF6322E-2DC3-4D58-B7C7-078704358916}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -103,17 +43,7 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B4999A6B-E890-4514-9FEF-4FC5C0332C89} = {5D24CE7B-67FD-4685-AC89-578FF15552A2}
{EE662C9C-EAF9-465C-B17A-F9F1F744F5F1} = {5D24CE7B-67FD-4685-AC89-578FF15552A2}
{39C47292-FEE1-4D6D-96A7-B6066854C98B} = {5D24CE7B-67FD-4685-AC89-578FF15552A2}
{C4D5CD8F-4504-4C34-9870-CD06712EF888} = {5D24CE7B-67FD-4685-AC89-578FF15552A2}
{4FE03FBD-3EF1-4570-8E9D-8C3E508AACD5} = {5D24CE7B-67FD-4685-AC89-578FF15552A2}
{581ADF22-C823-4A43-99C1-23BB75C905A5} = {5D24CE7B-67FD-4685-AC89-578FF15552A2}
{9DB5A32B-7C8A-463B-8DB5-DFD992ADED8A} = {74C50D6F-68E5-411B-A781-800BC60C9ECF}
{1172860C-81A9-436E-9187-DE7E64529C23} = {74C50D6F-68E5-411B-A781-800BC60C9ECF}
{D1EFC1A1-388E-4B95-8DF0-FF84A2598902} = {74C50D6F-68E5-411B-A781-800BC60C9ECF}
{EFEA8406-20F6-4AFC-9610-95F9A9EC564E} = {74C50D6F-68E5-411B-A781-800BC60C9ECF}
{14F32C47-EC16-4E35-95A7-2DDF2C8889D2} = {74C50D6F-68E5-411B-A781-800BC60C9ECF}
{DE55F0AB-BDEA-4E61-BC38-E8576912B8BD} = {74C50D6F-68E5-411B-A781-800BC60C9ECF}
{6FF6322E-2DC3-4D58-B7C7-078704358916} = {5D24CE7B-67FD-4685-AC89-578FF15552A2}
{2961C0FE-C1BC-4FC5-AC31-137C59A0E436} = {74C50D6F-68E5-411B-A781-800BC60C9ECF}
EndGlobalSection
Expand Down
10 changes: 0 additions & 10 deletions dev/pyRevitLoader/pyRevitRunner.2710.csproj

This file was deleted.

10 changes: 0 additions & 10 deletions dev/pyRevitLoader/pyRevitRunner.273.csproj

This file was deleted.

10 changes: 0 additions & 10 deletions dev/pyRevitLoader/pyRevitRunner.277.csproj

This file was deleted.

10 changes: 0 additions & 10 deletions dev/pyRevitLoader/pyRevitRunner.278.csproj

This file was deleted.

10 changes: 0 additions & 10 deletions dev/pyRevitLoader/pyRevitRunner.279.csproj

This file was deleted.

41 changes: 0 additions & 41 deletions pyRevitfile
Original file line number Diff line number Diff line change
@@ -1,46 +1,5 @@
[engines]

[engines.IPY273]
kernel = 'IronPython'
version = 273
runtime = true
path = 'bin\engines\IPY273'
assembly = 'pyRevitLoader.dll'
description = 'IronPython Engine'

[engines.IPY277]
kernel = 'IronPython'
version = 277
runtime = true
path = 'bin\engines\IPY277'
assembly = 'pyRevitLoader.dll'
description = 'IronPython Engine'

[engines.IPY278]
kernel = 'IronPython'
version = 278
runtime = true
path = 'bin\engines\IPY278'
assembly = 'pyRevitLoader.dll'
description = 'IronPython Engine'

[engines.IPY279]
kernel = 'IronPython'
version = 279
runtime = true
path = 'bin\engines\IPY279'
assembly = 'pyRevitLoader.dll'
description = 'IronPython Engine'

[engines.IPY2710]
kernel = 'IronPython'
version = 2710
runtime = true
path = 'bin\engines\IPY2710'
assembly = 'pyRevitLoader.dll'
compatproducts = []
description = 'IronPython Engine'

[engines.IPY340PR]
kernel = 'IronPython 3'
version = 340
Expand Down
7 changes: 2 additions & 5 deletions pyrevitlib/pyrevit/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Examples:
```python
from pyrevit.compat import IRONPY277
from pyrevit.compat import IRONPY2711
from pyrevit.compat import safe_strtype
```
"""
Expand All @@ -11,10 +11,7 @@

PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3
IRONPY273 = sys.version_info[:3] == (2, 7, 3)
IRONPY277 = sys.version_info[:3] == (2, 7, 7)
IRONPY278 = sys.version_info[:3] == (2, 7, 8)
IRONPY279 = sys.version_info[:3] == (2, 7, 9)
IRONPY2711 = sys.version_info[:3] == (2, 7, 11)
IRONPY340 = sys.version_info[:3] == (3, 4, 0)

#pylint: disable=import-error,unused-import
Expand Down
2 changes: 1 addition & 1 deletion release/pyrevit-admin.iss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environmen
Filename: "{app}\bin\pyrevit.exe"; Description: "Clearning caches..."; Parameters: "caches clear --all"; Flags: runhidden runascurrentuser
Filename: "{app}\bin\pyrevit.exe"; Description: "Detach existing clones..."; Parameters: "detach --all"; Flags: runhidden runascurrentuser
Filename: "{app}\bin\pyrevit.exe"; Description: "Registering this clone..."; Parameters: "clones add this master --force"; Flags: runhidden runascurrentuser
Filename: "{app}\bin\pyrevit.exe"; Description: "Attaching this clone..."; Parameters: "attach master 277 --installed"; Flags: runhidden runascurrentuser
Filename: "{app}\bin\pyrevit.exe"; Description: "Attaching this clone..."; Parameters: "attach master 2711 --installed"; Flags: runhidden runascurrentuser

[UninstallRun]
Filename: "{app}\bin\pyrevit.exe"; RunOnceId: "ClearCaches"; Parameters: "caches clear --all"; Flags: runhidden runascurrentuser
Expand Down
Loading