alvarolm / GoRename

GoRename is a Golang plugin for SublimeText 3 that integrates the Go gorename tool.
http://alvarolm.github.io/GoRename
MIT License
11 stars 2 forks source link

use relative instead absolute import path for dependencies. #2

Closed alvarolm closed 8 years ago

alvarolm commented 8 years ago

As FichteFoll stated (https://github.com/wbond/package_control_channel/pull/5483#issuecomment-217849471 https://github.com/wbond/package_control_channel/pull/5443#issuecomment-214921707):

You can import modules relative to your package (in ST3) using a relative import, such as from .dep import shellenv. Also note that dep/shellenv/ contains .pyc files, which will be ignored by ST.

alvarolm commented 8 years ago

https://github.com/alvarolm/GoRename/commit/e1809362cd3da3b3dd3a4698f0e194e6d5cd67e3