mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Put remote module into pkg root
This commit is contained in:
parent
209651ef38
commit
909e5cee46
8 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from bootstrapvz.base.remote.remote import main
|
from bootstrapvz.remote.main import main
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from bootstrapvz.base.remote.server import main
|
from bootstrapvz.remote.server import main
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -46,6 +46,8 @@ Options:
|
||||||
If <path> is `-' file logging will be disabled.
|
If <path> is `-' file logging will be disabled.
|
||||||
--pause-on-error Pause on error, before rollback
|
--pause-on-error Pause on error, before rollback
|
||||||
--dry-run Don't actually run the tasks
|
--dry-run Don't actually run the tasks
|
||||||
|
--color=auto|always|never
|
||||||
|
Colorize the console output [default: auto]
|
||||||
--debug Print debugging information
|
--debug Print debugging information
|
||||||
-h, --help show this help
|
-h, --help show this help
|
||||||
"""
|
"""
|
|
@ -4,7 +4,7 @@ from build_servers import RemoteBuildServer
|
||||||
|
|
||||||
# Register deserialization handlers for objects
|
# Register deserialization handlers for objects
|
||||||
# that will pass between server and client
|
# that will pass between server and client
|
||||||
from bootstrapvz.base.remote import register_deserialization_handlers
|
from bootstrapvz.remote import register_deserialization_handlers
|
||||||
register_deserialization_handlers()
|
register_deserialization_handlers()
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ def bootstrap(manifest, build_server):
|
||||||
from bootstrapvz.base.main import run
|
from bootstrapvz.base.main import run
|
||||||
bootstrap_info = run(manifest)
|
bootstrap_info = run(manifest)
|
||||||
else:
|
else:
|
||||||
from bootstrapvz.base.remote.remote import run
|
from bootstrapvz.remote.main import run
|
||||||
bootstrap_info = run(manifest, build_server.settings)
|
bootstrap_info = run(manifest, build_server.settings)
|
||||||
return bootstrap_info
|
return bootstrap_info
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue