Skip to content

Commit

Permalink
Merge pull request #1 from justincdavis/venvs
Browse files Browse the repository at this point in the history
Better venv control, heartbeats
  • Loading branch information
justincdavis authored Jul 26, 2024
2 parents c13a426 + a12a578 commit 6158ce5
Show file tree
Hide file tree
Showing 5 changed files with 371 additions and 78 deletions.
3 changes: 3 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Here is an example in action:
information from the system and prints it out:

.. code-block:: python
import platform
from platform import system_alias
Expand All @@ -40,6 +41,7 @@ Here is an example in action:
information on 2 different machines:

.. code-block:: ini
[machine1]
host = 192.168.1.33
user = user1
Expand All @@ -57,6 +59,7 @@ Here is an example in action:
3. Run the script using remotescript:

.. code-block:: Bash
$ python3 -m remotescript --script info.py --requirements requirements.txt --config config.cfg --output /output
4. The output is saved in the directory specified by the ``--output`` flag.
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ name = "remotescript"
version = "0.0.2"
authors = [
{name="Justin Davis", email="[email protected]"},
{name="Ben Guevel"},
{name="Caleb Pham"},
{name="Edward Gibson"},
{name="Caden Ford"},
{name="Andrew Depke"},
]
maintainers = [
{name="Justin Davis", email="[email protected]"},
Expand All @@ -28,7 +33,6 @@ classifiers = [
"Topic :: System :: Hardware",
"Topic :: Software Development",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Typing :: Typed",
Expand Down
4 changes: 4 additions & 0 deletions src/remotescript/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def main() -> None:
dep_scripts,
dep_dirs,
timeout,
use_site_packages,
no_venv,
) = parse_arguments()
config = parse_config(config_path)

Expand Down Expand Up @@ -88,6 +90,8 @@ def main() -> None:
dep_scripts,
dep_dirs,
timeout,
use_site_packages,
no_venv,
),
daemon=True,
),
Expand Down
Loading

0 comments on commit 6158ce5

Please sign in to comment.