Skip to content

Commit

Permalink
Merge pull request #85 from Integration-Automation/dev
Browse files Browse the repository at this point in the history
Fix windows command line problem
  • Loading branch information
JE-Chen authored Jul 11, 2024
2 parents 15e8054 + 3911025 commit 44ee178
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
3 changes: 2 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
je_load_density_dev
sphinx
twine
sphinx-rtd-theme
sphinx-rtd-theme
build
6 changes: 5 additions & 1 deletion je_load_density/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ def preprocess_execute_files(file_path: str):
execute_files(get_dir_files_as_list(file_path))

def preprocess_read_str_execute_action(execute_str: str):
execute_str = json.loads(execute_str)
if sys.platform in ["win32", "cygwin", "msys"]:
json_data = json.loads(execute_str)
execute_str = json.loads(json_data)
else:
execute_str = json.loads(execute_str)
execute_action(execute_str)


Expand Down
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# Rename to stable version
# This is stable version
# Rename to dev version
# This is dev version
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "je_load_density"
version = "0.0.54"
name = "je_load_density_dev"
version = "0.0.65"
authors = [
{ name = "JE-Chen", email = "jechenmailman@gmail.com" },
]
description = "Load & Stress Automation Freamework"
requires-python = ">=3.9"
license = { text = "MIT" }
dependencies = [
"locust",
"APScheduler",
"locust", "APScheduler",
]
classifiers = [
"Programming Language :: Python :: 3.9",
Expand Down
11 changes: 6 additions & 5 deletions dev.toml → stable.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
# Rename to dev version
# This is dev version
# Rename to stable version
# This is stable version
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "je_load_density_dev"
version = "0.0.64"
name = "je_load_density"
version = "0.0.55"
authors = [
{ name = "JE-Chen", email = "jechenmailman@gmail.com" },
]
description = "Load & Stress Automation Freamework"
requires-python = ">=3.9"
license = { text = "MIT" }
dependencies = [
"locust", "APScheduler",
"locust",
"APScheduler",
]
classifiers = [
"Programming Language :: Python :: 3.9",
Expand Down

0 comments on commit 44ee178

Please sign in to comment.