diff --git a/MANIFEST.in b/MANIFEST.in index 1fddc6af..1904e023 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -17,6 +17,9 @@ # Include the README include *.md +# Include requirements +include requirements.txt + # Include the license file include LICENSE diff --git a/jtop/github.py b/jtop/github.py index c1d435a2..497220b6 100644 --- a/jtop/github.py +++ b/jtop/github.py @@ -43,9 +43,9 @@ def engine_gui(repository, hardware, version): body += "\n### jetson-stats\n\n" body += " - Version: " + version + "\n" # Print all raw output - body += "\n\n" + body += "\n\n" body += "### Screenshot engine page\n\n" - body += "Screnshoot page from jtop engine page attacched" + body += "Screenshot page from jtop engine page attached" # Make url url = make_issue(repository, title, body=body, labels="GUI,missing", template=template) # message shell @@ -127,7 +127,7 @@ def hyperlink(message, url, text): # Print starting message print("[{status}] {message}".format(status=bcolors.warning(), message=message)) print(" Please, try: {bold}sudo pip3 install -U jetson-stats{reset} or".format(bold=bcolors.BOLD, reset=bcolors.ENDC)) - # Generate hyperlink for sheel + # Generate hyperlink for shell # Check type of shell try: link = u"\u001b]8;;{url}\u001b\\{text}\u001b]8;;\u001b\\ (press CTRL + Click)".format(url=url, text=text) diff --git a/jtop/jetson_config.py b/jtop/jetson_config.py index 3f511184..5153afae 100644 --- a/jtop/jetson_config.py +++ b/jtop/jetson_config.py @@ -93,7 +93,7 @@ def get_type_desktop(): status = 2 elif status_gui == 'graphical.target': status = 3 - # Check GUI autologin + # Check GUI auto login if os.path.isfile('/etc/gdm3/custom.conf'): with open('/etc/gdm3/custom.conf', 'r') as f: for line in f.readlines(): diff --git a/jtop/jtop.py b/jtop/jtop.py index 3b9a218d..f7bc0757 100644 --- a/jtop/jtop.py +++ b/jtop/jtop.py @@ -334,7 +334,7 @@ def fan(self): If your board does not support a fan, the output will be `None` - The variable avalables are: + The variable available are: * **auto** - boolean with fan control. * True = Automatic speed control enabled @@ -344,7 +344,7 @@ def fan(self): * **rpm** - Revolution Per Minute. This number can be 0 if the hardware does not implement this feature * **mode** - Mode selected for your fan - If you want set a new speed, change the mode or know how many configurations are availables you can use: + If you want set a new speed, change the mode or know how many configurations are available you can use: .. code-block:: python @@ -402,7 +402,7 @@ def nvpmodel(self): * **status** - A list of status for each NVP model (False if the nvpmodel is in failure) * **is_running** - Status updating NVP model service - The access of this properities is available like below + The access of this properties is available like below .. code-block:: python @@ -709,7 +709,7 @@ def mts(self): If your board support the MTS variable, the output will be: - * **fg** - foregroundtasks + * **fg** - foreground tasks * **bg** - background tasks :return: mts status @@ -773,13 +773,13 @@ def power(self): """ Two power dictionaries: - * **total** - The total power estimated is not available of the NVIDIA Jetson power comsumption - * **power** - A dictionary with all power comsumption + * **total** - The total power estimated is not available of the NVIDIA Jetson power consumption + * **power** - A dictionary with all power consumption - For each power comsumption there are two fields: + For each power consumption there are two fields: - * **avg** - Average power consumption in milliwatts - * **cur** - Current power consumption in milliwatts + * **avg** - Average power consumption in milliwatt + * **cur** - Current power consumption in milliwatt :return: Two dictionaries, total and a list of all power consumption available from the board :rtype: dict, dict @@ -810,7 +810,7 @@ def local_interfaces(self): * **hostname** - Hostname board * **interfaces** - A dictionary with name and IP address for all interfaces listed - :return: Local interfaces and hostaname + :return: Local interfaces and hostname :rtype: dict """ return get_local_interfaces()