mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 10:15:20 +00:00
don't use load_module in make_packages
This commit is contained in:
parent
39c2bc5b7a
commit
0a80f84e2e
1 changed files with 5 additions and 5 deletions
|
@ -6,11 +6,11 @@ import getpass
|
|||
|
||||
if __name__ == '__main__':
|
||||
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
os.chdir('..')
|
||||
|
||||
imp.load_module('electrum', *imp.find_module('../lib'))
|
||||
from electrum.version import ELECTRUM_VERSION as version
|
||||
d = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
|
||||
os.chdir(d)
|
||||
v = imp.load_source('version', 'lib/version.py')
|
||||
version = v.ELECTRUM_VERSION
|
||||
print "version", version
|
||||
|
||||
# copy dependencies into 'packages' directory
|
||||
deps = [
|
||||
|
|
Loading…
Add table
Reference in a new issue