comparison setup.py @ 3053:8b36e5c3f28f

misc: don't import memory in launch script: launch script was importing a method from memory (fixLocalDir), but memory is importing twisted.internet.reactor which can result to a ReactorAlreadyInstalledError. This patch fixes it by moving fixLocalDir to tools/config. The launch script is now using /usr/bin/env.
author Goffi <goffi@goffi.org>
date Tue, 08 Oct 2019 12:10:26 +0200
parents 691283719bb2
children 948833e3b542
comparison
equal deleted inserted replaced
3052:60a63723ecea 3053:8b36e5c3f28f
68 def local_scheme(version): 68 def local_scheme(version):
69 return "+{rev}.{distance}".format( 69 return "+{rev}.{distance}".format(
70 rev=version.node[1:], 70 rev=version.node[1:],
71 distance=version.distance) 71 distance=version.distance)
72 72
73 return {'version_scheme': version_scheme, 73 return {
74 'local_scheme': local_scheme} 74 'version_scheme': version_scheme,
75 'local_scheme': local_scheme
76 }
75 77
76 78
77 setup( 79 setup(
78 name=NAME, 80 name=NAME,
79 version=VERSION, 81 version=VERSION,