psytricks 2.2.0a21__tar.gz → 2.2.0a22__tar.gz

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.
@@ -5,20 +5,24 @@ The commands below can be used to upgrade an existing installation of the
5
5
  target location and adjust the configuration in `restricks-server.xml`.
6
6
 
7
7
  ```PowerShell
8
- $TargetDir = "C:\ProgramData\PSyTricks" # or wherever you're installing to
8
+ # adjust the version and path variables to your preferences:
9
+ $PSyTricksTag = "v2.2.0.a21"
10
+ $PSyTricksVersion = "2.2.0a21"
11
+ $TargetDir = "C:\ProgramData\PSyTricks"
9
12
 
10
- $PSyTricksTag="v2.2.0.a19"
11
- $PSyTricksVersion="2.2.0a19"
12
- $PSyTricksPkg="psytricks-REST-${PSyTricksVersion}_WinSW.NET461-2.12.0"
13
- $PSyTricksZip="${PSyTricksPkg}.zip"
14
- $PSyTricksBaseDl="https://github.com/imcf/psytricks/releases/download"
15
- $PSyTricksUri="${PSyTricksBaseDl}/${PSyTricksTag}/${PSyTricksZip}"
13
+ # this one usually doesn't require changes:
14
+ $WinSwVersion = "WinSW.NET461-2.12.0"
16
15
 
17
- cd "C:\Temp\"
16
+ $PSyTricksPkg = "psytricks-REST-${PSyTricksVersion}_${WinSwVersion}"
17
+ $PSyTricksZip = "${PSyTricksPkg}.zip"
18
+ $PSyTricksBaseDl = "https://github.com/imcf/psytricks/releases/download"
19
+ $PSyTricksUri = "${PSyTricksBaseDl}/${PSyTricksTag}/${PSyTricksZip}"
20
+
21
+ Set-Location "C:\Temp\"
18
22
 
19
23
  Invoke-WebRequest -Uri $PSyTricksUri -OutFile $PSyTricksZip
20
24
  Expand-Archive $PSyTricksZip -DestinationPath .
21
- cd $PSyTricksPkg
25
+ Set-Location $PSyTricksPkg
22
26
  # when upgrading, simply remove the example config - for an initial installation
23
27
  # move it to the target location and rename it to "restricks-server.xml":
24
28
  Remove-Item restricks-server.example.xml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: psytricks
3
- Version: 2.2.0a21
3
+ Version: 2.2.0a22
4
4
  Summary: PowerShell Python Citrix Tricks.
5
5
  License-Expression: GPL-3.0-or-later
6
6
  License-File: LICENSE
@@ -267,20 +267,24 @@ The commands below can be used to upgrade an existing installation of the
267
267
  target location and adjust the configuration in `restricks-server.xml`.
268
268
 
269
269
  ```PowerShell
270
- $TargetDir = "C:\ProgramData\PSyTricks" # or wherever you're installing to
270
+ # adjust the version and path variables to your preferences:
271
+ $PSyTricksTag = "v2.2.0.a21"
272
+ $PSyTricksVersion = "2.2.0a21"
273
+ $TargetDir = "C:\ProgramData\PSyTricks"
271
274
 
272
- $PSyTricksTag="v2.2.0.a19"
273
- $PSyTricksVersion="2.2.0a19"
274
- $PSyTricksPkg="psytricks-REST-${PSyTricksVersion}_WinSW.NET461-2.12.0"
275
- $PSyTricksZip="${PSyTricksPkg}.zip"
276
- $PSyTricksBaseDl="https://github.com/imcf/psytricks/releases/download"
277
- $PSyTricksUri="${PSyTricksBaseDl}/${PSyTricksTag}/${PSyTricksZip}"
275
+ # this one usually doesn't require changes:
276
+ $WinSwVersion = "WinSW.NET461-2.12.0"
278
277
 
279
- cd "C:\Temp\"
278
+ $PSyTricksPkg = "psytricks-REST-${PSyTricksVersion}_${WinSwVersion}"
279
+ $PSyTricksZip = "${PSyTricksPkg}.zip"
280
+ $PSyTricksBaseDl = "https://github.com/imcf/psytricks/releases/download"
281
+ $PSyTricksUri = "${PSyTricksBaseDl}/${PSyTricksTag}/${PSyTricksZip}"
282
+
283
+ Set-Location "C:\Temp\"
280
284
 
281
285
  Invoke-WebRequest -Uri $PSyTricksUri -OutFile $PSyTricksZip
282
286
  Expand-Archive $PSyTricksZip -DestinationPath .
283
- cd $PSyTricksPkg
287
+ Set-Location $PSyTricksPkg
284
288
  # when upgrading, simply remove the example config - for an initial installation
285
289
  # move it to the target location and rename it to "restricks-server.xml":
286
290
  Remove-Item restricks-server.example.xml
@@ -6,7 +6,7 @@ authors = [
6
6
  ]
7
7
  license = "GPL-3.0-or-later"
8
8
  dynamic = ["readme"]
9
- version = "2.2.0-a.21"
9
+ version = "2.2.0-a.22"
10
10
 
11
11
  [tool.poetry]
12
12
  documentation = "https://imcf.one/apidocs/psytricks/psytricks.html"
@@ -3,7 +3,7 @@
3
3
  .. include:: ../../CHANGELOG.md
4
4
  """
5
5
 
6
- __version__ = "2.2.0-a.21"
6
+ __version__ = "2.2.0-a.22"
7
7
 
8
8
  # style exceptions for pdoc-include-only docstrings:
9
9
  # ruff: noqa: D400 (missing-trailing-period)
@@ -5,7 +5,7 @@ Collection of functions and other definitions to be sourced by other scripts.
5
5
  #>
6
6
 
7
7
  # the version variable will be filled by poetry at build time:
8
- $Version = "2.2.0-a.21"
8
+ $Version = "2.2.0-a.22"
9
9
 
10
10
 
11
11
  #region properties-selectors
File without changes
File without changes