Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@
script_directory = os.path.dirname(os.path.realpath(__file__))
os.chdir(script_directory)

# Install uv
subprocess.run([sys.executable, "-m", "pip", "install", "uv"], check=True)

# Create virtual environment
subprocess.run(["uv", "venv"], check=True)

# Install packages in the virtual environment
subprocess.run(["uv", "pip", "install", "."], check=True)


command_args = [r".venv\Scripts\python", "-m", "robot_framework"] + sys.argv[1:]

subprocess.run("pip install --upgrade uv", check=True)
command_args = ["uv", "run", "python", "-m", "robot_framework"] + sys.argv[1:]
subprocess.run(command_args, check=True)
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "robot_framework"
version = "0.0.1"
version = "0.1.0"
authors = [
{ name="MTM Digitalisering", email="avoidspam@thankyou.dk" },
]
Expand All @@ -16,7 +16,7 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
]
dependencies = [
"OpenOrchestrator == 1.*",
"OpenOrchestrator == 3.*",
"Pillow == 10.*",
"Office365-REST-Python-Client == 2.5.13",
"pywin32 == 308",
Expand Down
Loading