autoverse-cli 0.10.0__py3-none-any.whl → 0.11.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autoverse-cli
3
- Version: 0.10.0
3
+ Version: 0.11.0
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,11 +1,11 @@
1
1
  avrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- avrs/app_version.py,sha256=AOyanFCJzC352Nm64jJhV2ixpf1BYBVkZlsqrBeemjw,856
2
+ avrs/app_version.py,sha256=bV1Uraq2z4-jM9gZTY1wwsaUmBTEe0OL4BsI09aXfSs,856
3
3
  avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
4
4
  avrs/avrs.py,sha256=pRwNvYXIA7hREVv5kHIIRP5J6694Q4TSmpIznz1I_a8,2994
5
5
  avrs/can_tool.py,sha256=IBoctKobBJ3wCq4ZdtuXuXH4AMEUxazCfYT6YP0Luw8,7161
6
6
  avrs/can_tool_util.py,sha256=G3q21dTGMLc09SDq_RieoW7kSn-kXPkXxPDjavPh4hQ,7710
7
7
  avrs/cfg.py,sha256=kMn08Z4Ms1PAu2-U1QI8weEJeIVEppP4A4_tFfwnjtg,2924
8
- avrs/launcher.py,sha256=LkqaYMSCE12eB7xMkKF-TsLiCMymHgJlkCl0kgPk0Sc,8883
8
+ avrs/launcher.py,sha256=Kzrxp6FYCmujiT0Y5dk-sCt8vaY6Z4qKKZk8YUTEuVw,9235
9
9
  avrs/launcher_util.py,sha256=sO3k_z3A-HIQdJVkVXNXUAE_MGFwAYiZUqQBoFwOqew,5325
10
10
  avrs/simconfig.py,sha256=UZc4FrxVHUkk2e9IglSpuojXkaL_nPrJW7trbEGgOOo,2907
11
11
  avrs/simconfig_util.py,sha256=0LKYr6pS1CAHQq0esIWEEvhAa6-BB5-jQ9mnVBY5eq4,4839
@@ -32,9 +32,9 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
32
32
  avrs/requests/vd.py,sha256=at6oUAGY2h0OxYU6MLOi1gnxyUn6i24vL9DUAj0L880,1600
33
33
  avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
34
34
  avrs/requests/vehicle_replay.py,sha256=nCAE21VNyKoeIjjXBGAihgOLO7zYHcu-HWvPZYxdQ2c,11099
35
- autoverse_cli-0.10.0.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
36
- autoverse_cli-0.10.0.dist-info/METADATA,sha256=ApGIsL2ajsYeIsjksGT7htWTZzIyk0K6lIUfEGN4XGs,3342
37
- autoverse_cli-0.10.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
38
- autoverse_cli-0.10.0.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
39
- autoverse_cli-0.10.0.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
40
- autoverse_cli-0.10.0.dist-info/RECORD,,
35
+ autoverse_cli-0.11.0.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
36
+ autoverse_cli-0.11.0.dist-info/METADATA,sha256=VOwax5oec4BC3dECDutN3ZNfGfK-zGH7YHC8Aiiah8U,3342
37
+ autoverse_cli-0.11.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
38
+ autoverse_cli-0.11.0.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
39
+ autoverse_cli-0.11.0.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
40
+ autoverse_cli-0.11.0.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.10.0'
5
+ return '0.11.0'
6
6
 
7
7
  def check_app_is_latest():
8
8
  pass
avrs/launcher.py CHANGED
@@ -40,6 +40,7 @@ class AvrsLauncher:
40
40
  download_sim_psr = sps.add_parser('download-simulator', help='download the simulator')
41
41
  download_sim_psr.add_argument('variant', help='which variant of the simulator to download (eg, \"a2rl-iron\" or \"a2rl-humble\")')
42
42
  download_sim_psr.add_argument('install_path', help='path to install the simulator')
43
+ download_sim_psr.add_argument('--target-version', default='', help='specify a version other than the most recent to download')
43
44
  download_sim_psr.add_argument(
44
45
  '--copy-saved-from',
45
46
  default='',
@@ -157,7 +158,12 @@ class AvrsLauncher:
157
158
  copy_saved_cache = os.path.join(args.install_path, 'autoverse-saved-cache')
158
159
  shutil.copytree(copy_from_saved_dir, copy_saved_cache)
159
160
 
160
- package_zip_name = 'autoverse-linux-{}.zip'.format(latest_version)
161
+ target_version = latest_version
162
+ if args.target_version != '':
163
+ target_version = args.target_version
164
+ print('attempting to download specified version: {}'.format(target_version))
165
+
166
+ package_zip_name = 'autoverse-linux-{}.zip'.format(target_version)
161
167
  package_name = 'autoverse-linux'
162
168
  bucket_path = '{}/{}'.format(args.variant, package_zip_name)
163
169
  dl_path = os.path.join(args.install_path, package_zip_name)