rbx.cp 0.5.0__py3-none-any.whl → 0.5.1__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.
rbx/box/contest/main.py CHANGED
@@ -37,7 +37,6 @@ app.add_typer(
37
37
 
38
38
 
39
39
  @app.command('create, c', help='Create a new contest package.')
40
- @within_contest
41
40
  def create(
42
41
  name: str,
43
42
  preset: Annotated[
rbx/box/main.py CHANGED
@@ -233,7 +233,6 @@ def irun(
233
233
 
234
234
 
235
235
  @app.command('create, c', help='Create a new problem package.')
236
- @package.within_problem
237
236
  def create(
238
237
  name: str,
239
238
  preset: Annotated[
@@ -350,7 +349,6 @@ def stress(
350
349
 
351
350
 
352
351
  @app.command('environment, env', help='Set or show the current box environment.')
353
- @package.within_problem
354
352
  def environment_command(
355
353
  env: Annotated[Optional[str], typer.Argument()] = None,
356
354
  install_from: Annotated[
@@ -420,7 +418,6 @@ def activate():
420
418
 
421
419
 
422
420
  @app.command('languages', help='List the languages available in this environment')
423
- @package.within_problem
424
421
  def languages():
425
422
  env = environment.get_environment()
426
423
 
@@ -437,7 +434,7 @@ def languages():
437
434
 
438
435
 
439
436
  @app.command('clear, clean', help='Clears cache and build directories.')
440
- @package.within_problem
437
+ @cd.within_closest_package
441
438
  def clear():
442
439
  console.console.print('Cleaning cache and build directories...')
443
440
  shutil.rmtree('.box', ignore_errors=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rbx.cp
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary:
5
5
  Author: Roberto Sales
6
6
  Requires-Python: >=3.9,<4.0
@@ -12,7 +12,7 @@ rbx/box/contest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  rbx/box/contest/build_contest_statements.py,sha256=qar6h5u1xAlOKHl3P7-A1d0aYtaqu4PspGw_DYUGOLY,11260
13
13
  rbx/box/contest/contest_package.py,sha256=-eHk6CfJ083jZptWCjR0F4x_r9qsmKeSOUvK0QnDyA4,2393
14
14
  rbx/box/contest/contest_utils.py,sha256=vWv4iNWdJT5motAznfdNzl8o-tEoCU4xmdyaPTPJZuY,490
15
- rbx/box/contest/main.py,sha256=NS59Pg5TB4dArZ51HQwg_hK3Y9Rg00oq3sDpNnRxKZw,5706
15
+ rbx/box/contest/main.py,sha256=bYPB16-CtMFgJgz2tYZZz9RLVWiz2nPN62kjQGvDuKs,5690
16
16
  rbx/box/contest/schema.py,sha256=rxzjJasMWPKKhvSJs4eW4A2oCiA4gXgfF-MzqsbPslQ,4914
17
17
  rbx/box/contest/statements.py,sha256=iG_E4bqhc7hof4LlAliw4m9VO8HcDzvnhsWmxzVRQM4,2690
18
18
  rbx/box/creation.py,sha256=mZ7kEt1F-0scwDBc6oWsJxFRW69AccZlKuJfN1QyDd4,2203
@@ -21,7 +21,7 @@ rbx/box/environment.py,sha256=HiufDkaXJeZk9gWvt27UMmyzaknnODu8flGerrwnNhE,10851
21
21
  rbx/box/extensions.py,sha256=p0iLaU28KswOBDX2HGVO_dR2gk-JSAWb6sXC6GZ1d0w,738
22
22
  rbx/box/generators.py,sha256=UJNyvwbY4JBVpmdMoVsYi16O3oodMgguH_dmZAoOFm4,16104
23
23
  rbx/box/generators_test.py,sha256=mQqHepAMYa6zV_PseQALI0nIX6AdQktt6lh94muFhNw,1758
24
- rbx/box/main.py,sha256=zVCyj1I61hY73cNiRYqLhj1XiZcSd4XMuass38IR7eM,13461
24
+ rbx/box/main.py,sha256=PoEg0BtfXJy3p1WMAqWgBJ7QvCJrCm1bXoQWfGY6zQI,13392
25
25
  rbx/box/package.py,sha256=8JqavlW6cF_TtflrNLdd39P6iecFVTxTDNRP_mQ8jP8,10067
26
26
  rbx/box/packaging/boca/extension.py,sha256=7xaLzccFtHeoLwlr0cyfJtsBsWvVyMixzrmWohyCS7Y,852
27
27
  rbx/box/packaging/boca/packager.py,sha256=quuTg5WQFjL7p4U_7rzKk1OeA-wJYhw4rjSpDwKEm4o,9159
@@ -157,8 +157,8 @@ rbx/testdata/caching/executable.py,sha256=WKRHNf_fprFJd1Fq1ubmQtR3mZzTYVNwKPLWuZ
157
157
  rbx/testdata/compatible,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
158
158
  rbx/testing_utils.py,sha256=ZZLKMUHlZ4HwsuNY50jqSBJ9HhpnFdba7opjDsvXE1U,2084
159
159
  rbx/utils.py,sha256=OkOLjNG8Pq7y2ylqhXQyAOVDfUsva_4Mfjd8OmII55E,4145
160
- rbx_cp-0.5.0.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
161
- rbx_cp-0.5.0.dist-info/METADATA,sha256=DIjf86z6PlLOOEnlrFLMr5w7-w5k9RigzwSzL7_l3bQ,3253
162
- rbx_cp-0.5.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
163
- rbx_cp-0.5.0.dist-info/entry_points.txt,sha256=qBTLBOeifT1F00LWaEewRRE_jQPgvH7BUdJfZ-dYsFU,57
164
- rbx_cp-0.5.0.dist-info/RECORD,,
160
+ rbx_cp-0.5.1.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
161
+ rbx_cp-0.5.1.dist-info/METADATA,sha256=uz86FlpgJk2X-0IwbvRDDhDE1beBMGNW-flCYGSv93A,3253
162
+ rbx_cp-0.5.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
163
+ rbx_cp-0.5.1.dist-info/entry_points.txt,sha256=qBTLBOeifT1F00LWaEewRRE_jQPgvH7BUdJfZ-dYsFU,57
164
+ rbx_cp-0.5.1.dist-info/RECORD,,
File without changes