Update extension not including dependant library

Hi all,

For an extension, I added a dependent library extension in a new version/commit. When a user tried updating the extension, the dependent library extension is not installed. I would expect the update command to also check if new depencies are required. Or is this expected behavior?

I think I found the update method, but not sure if it would need to be implemented there?

Cheers,
Guus

Hi,
I am not sure the builtin update method looks that far.
In my case, I have used the command line called from the startup script button and invoking the pyrevit extensions update command

import os
os.system('cmd /c "pyrevit extensions update NameOfUrExtension --token="xxxxxx321x64x6x65x""')

and eventually I got the same code in an update button of mine

It worked so I never took the time to look further

1 Like