Skip to content

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindeide committed Sep 13, 2024
1 parent 285c892 commit bbdaff8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,11 @@ everest = [
]

[tool.setuptools]
package-dir = {"" = "src"}
platforms = ["all"]

[tool.setuptools.package-data]
everest = ["detached/jobs/everserver"]
everest = ["data/**/*", "*.tmpl", "detached/jobs/everserver"]
ieverest = ["*.ui"]


Expand Down
8 changes: 2 additions & 6 deletions src/everest/detached/jobs/everserver.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
import argparse
import json
import logging
Expand Down Expand Up @@ -218,7 +217,8 @@ def _configure_loggers(config: EverestConfig):
)


def main(args):
def main():
args = sys.argv[1:]
arg_parser = argparse.ArgumentParser()
arg_parser.add_argument("--config-file", type=str)
arg_parser.add_argument("--debug", action="store_true")
Expand Down Expand Up @@ -411,7 +411,3 @@ def _generate_authentication():
n_bytes = 128
random_bytes = bytes(os.urandom(n_bytes))
return b64encode(random_bytes).decode("utf-8")


if __name__ == "__main__":
main(sys.argv[1:])
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EXECUTABLE everserver.py
EXECUTABLE everserver

STDOUT ../../logs/everest_server.stdout
STDERR ../../logs/everest_server.stderr
2 changes: 1 addition & 1 deletion src/everest/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
DEFAULT_OUTPUT_DIR = "everest_output"
DEFAULT_LOGGING_FORMAT = "%(asctime)s %(name)s %(levelname)s: %(message)s"

EVEREST_SERVER = "everserver"
EVEREST_SERVER = "fm_everserver"
EVEREST = "everest"

HOSTFILE_NAME = "hostfile"
Expand Down
2 changes: 1 addition & 1 deletion test-data/block_storage
Submodule block_storage updated 122 files

0 comments on commit bbdaff8

Please sign in to comment.