autoverse-cli 0.2.0__py3-none-any.whl → 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autoverse-cli
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: The Autoverse CLI
5
5
  Author-email: Dan Kamrath <dan.kamrath@autonomalabs.com>
6
6
  License: # End-User License Agreement (EULA) of the Autonoma AutoVerse CLI
@@ -1,8 +1,8 @@
1
1
  avrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- avrs/app_version.py,sha256=G1Jjc1SEfWIpkPHkYsXEUSdc_zT9r_EDSfXBnMk64S0,855
2
+ avrs/app_version.py,sha256=U9hQoruuiDrNwt2W27Djpg9aArBcECPkxFYceXjs0O8,855
3
3
  avrs/avrs.py,sha256=zkpQRKRFdhN6rmdRGQDPIU6vA5DSH8GZmmEm_w1y3Ro,1655
4
4
  avrs/cfg.py,sha256=9NBtPrJjVN7gj_vxlvO4wOEx3OFw4d2qQgLIVLiccD0,701
5
- avrs/launcher.py,sha256=PndqVBIswgh7fAUj8_5v3zUPq035Ats88GAv9p3z3c8,7244
5
+ avrs/launcher.py,sha256=tysm0CHZQ_l5Etj-PtfQoG6VYIWFHSdASBmE6api-_g,7463
6
6
  avrs/launcher_util.py,sha256=X60Jd2JUXr1MmdEF0lwjUBC5gHZte9uLlSgLWOLofXc,5121
7
7
  avrs/tests.py,sha256=3JeYBjn0tRqHXERDROfzmYuW1KXeCcKur5Bw-EIegto,153
8
8
  avrs/requests/can.py,sha256=iL2Dsk-V4tm37D-F1QoauaxeQtLAbg5br7zJcoR9h0o,5295
@@ -17,9 +17,9 @@ avrs/requests/reset_to_track.py,sha256=lSd2YavBxDV_hQMhVoi08_TpTFEq7G2MA18xosFYa
17
17
  avrs/requests/restart.py,sha256=ih5mnWiU34q3-xhOth45CtOUXxKI0PoMDCnFJV0JbwE,415
18
18
  avrs/requests/teleport.py,sha256=Y0pAQ4DjqtWTkr_E1QDvvl22EiTpoA4u69dhks0qcZw,825
19
19
  avrs/requests/vd.py,sha256=ZF00jJ0VUVPwnLABp_LiDg3UDC4kvxeLg1dqh7wJrzQ,1414
20
- autoverse_cli-0.2.0.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
21
- autoverse_cli-0.2.0.dist-info/METADATA,sha256=s-oB448Lq727FgKOSc7bm6mOzmOXwZamJWxkL9D3lEA,3296
22
- autoverse_cli-0.2.0.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
23
- autoverse_cli-0.2.0.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
24
- autoverse_cli-0.2.0.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
25
- autoverse_cli-0.2.0.dist-info/RECORD,,
20
+ autoverse_cli-0.2.2.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
21
+ autoverse_cli-0.2.2.dist-info/METADATA,sha256=UjxxLOrJR4OdjhDow-dLGzbjEgrZQxvauA87bxbiNq4,3296
22
+ autoverse_cli-0.2.2.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
23
+ autoverse_cli-0.2.2.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
24
+ autoverse_cli-0.2.2.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
25
+ autoverse_cli-0.2.2.dist-info/RECORD,,
avrs/app_version.py CHANGED
@@ -2,7 +2,7 @@ import http.client
2
2
  import json
3
3
 
4
4
  def get_app_version():
5
- return '0.2.0'
5
+ return '0.2.2'
6
6
 
7
7
  def check_app_is_latest():
8
8
  pass
avrs/launcher.py CHANGED
@@ -1,4 +1,5 @@
1
1
  import os
2
+ import stat
2
3
  import json
3
4
  import http.client
4
5
  import boto3
@@ -143,7 +144,7 @@ If you are sure, re-run with the --update-existing flag
143
144
  return
144
145
 
145
146
  print('Downloading {} to {}. This May Take Several Minutes Depending on Connection Speed'.format(bucket_path, dl_path))
146
- #download_simulator_archive(self.cfg, bucket_path, dl_path)
147
+ download_simulator_archive(self.cfg, bucket_path, dl_path)
147
148
 
148
149
  print('Extracting {} to {}'.format(dl_path, unzip_path))
149
150
  shutil.unpack_archive(dl_path, unzip_path)
@@ -160,5 +161,10 @@ If you are sure, re-run with the --update-existing flag
160
161
  with open(license_install_path, 'w', encoding='utf-8') as f:
161
162
  json.dump(self.cfg['license']['data'], f, ensure_ascii=False, indent=4)
162
163
 
164
+ # Make Autovers.sh executable
165
+ autoverse_exe = os.path.join(unzip_path, 'Linux', 'Autoverse.sh')
166
+ st = os.stat(autoverse_exe)
167
+ os.chmod(autoverse_exe, st.st_mode | stat.S_IEXEC)
168
+
163
169
  print('Cleaning up')
164
170
  os.remove(dl_path)