-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from daviddoret/dev
Dev
- Loading branch information
Showing
14 changed files
with
147 additions
and
84 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This Powershell script builds the python package. | ||
|
||
$total_step = 2 | ||
$script = Split-Path $PSCommandPath -Leaf | ||
Write-Output "Script: $( $script )." | ||
$script_folder = $PSScriptRoot | ||
$ci_folder = Split-Path -Path $script_folder -Parent | ||
$project_folder = Split-Path -Path $ci_folder -Parent | ||
Write-Output "Script: $( $script ). project_folder = $( $project_folder )" | ||
Set-Location $project_folder | ||
|
||
$current_step = 1 | ||
$command = "python -m pip install --upgrade build" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
Invoke-Expression -Command $command | ||
|
||
$current_step = 2 | ||
$command = "python -m build" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
Invoke-Expression -Command $command | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
continuous_integration/scripts/distribute_package_to_pypi.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This Powershell script deploys the python package to PyPI. | ||
|
||
$total_step = 2 | ||
$script = Split-Path $PSCommandPath -Leaf | ||
Write-Output "Script: $( $script )." | ||
$script_folder = $PSScriptRoot | ||
$ci_folder = Split-Path -Path $script_folder -Parent | ||
$project_folder = Split-Path -Path $ci_folder -Parent | ||
Write-Output "Script: $( $script ). project_folder = $( $project_folder )" | ||
Set-Location $project_folder | ||
|
||
$current_step = 1 | ||
$command = "python -m pip install --upgrade twine" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
Invoke-Expression -Command $command | ||
|
||
$current_step = 2 | ||
$command = "python -m twine upload --repository pypi dist/*" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
Invoke-Expression -Command $command |
3 changes: 0 additions & 3 deletions
3
continuous_integration/scripts/distribute_windows_upload_to_pypi.ps1
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
continuous_integration/scripts/increment_package_version_patch.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This Powershell script increments the python package patch-level version. | ||
|
||
$total_step = 2 | ||
$script = Split-Path $PSCommandPath -Leaf | ||
Write-Output "Script: $( $script )." | ||
$script_folder = $PSScriptRoot | ||
$ci_folder = Split-Path -Path $script_folder -Parent | ||
$project_folder = Split-Path -Path $ci_folder -Parent | ||
Write-Output "Script: $( $script ). project_folder = $( $project_folder )" | ||
Set-Location $project_folder | ||
|
||
$current_step = 1 | ||
$command = "pip install --upgrade bumpver" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
Invoke-Expression -Command $command | ||
|
||
$current_step = 2 | ||
$command = "python -m bumpver update --patch" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
Invoke-Expression -Command $command | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
3 changes: 0 additions & 3 deletions
3
continuous_integration/scripts/prebuild_windows_increment_version_patch.ps1
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This Powershell script: | ||
# 1. increments the patch-level version, | ||
# 2. builds the documentation, | ||
# 3. builds the package, | ||
# 4. releases the package to PyPI. | ||
|
||
$total_step = 4 | ||
$script = Split-Path $PSCommandPath -Leaf | ||
Write-Output "Script: $( $script )." | ||
$script_folder = $PSScriptRoot | ||
$ci_folder = Split-Path -Path $script_folder -Parent | ||
$project_folder = Split-Path -Path $ci_folder -Parent | ||
Write-Output "Script: $( $script ). project_folder = $( $project_folder )" | ||
Set-Location $project_folder | ||
|
||
$current_step = 1 | ||
$command = "increment_package_version_patch.ps1" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
& $PSScriptRoot\increment_package_version_patch.ps1 | ||
|
||
$current_step = 2 | ||
$command = "build_docs.ps1" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
& $PSScriptRoot\build_docs.ps1 | ||
|
||
$current_step = 3 | ||
$command = "build_package.ps1" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
& $PSScriptRoot\build_package.ps1 | ||
|
||
$current_step = 4 | ||
$command = "release_package.ps1" | ||
Write-Output "Script: $( $script ). Step: $( $current_step ) / $( $total_step ). $( $command )" | ||
& $PSScriptRoot\release_package.ps1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
name = "punctilious" | ||
version = "1.0.8" | ||
version = "1.0.9" | ||
authors = [{ name = "David Doret", email = "[email protected]" }] | ||
keywords = ["math", "mathematics", "proof", "proof assistant", "math proof assistant", "formal system", ] | ||
description = "A human-friendly and developer-friendly math proof assistant" | ||
|
@@ -40,7 +40,7 @@ addopts = [ | |
"--import-mode=importlib", | ||
] | ||
[tool.bumpver] | ||
current_version = "1.0.8" | ||
current_version = "1.0.9" | ||
version_pattern = "MAJOR.MINOR.PATCH" | ||
commit_message = "bump version {old_version} -> {new_version}" | ||
tag_message = "v{new_version}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
"""This python module contains sample python scripts that illustrate *punctilious* usage.""" | ||
__version__ = "1.0.8" | ||
__version__ = "1.0.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
"""This python module contains mathematical theories formalized with *punctilious*.""" | ||
__version__ = "1.0.8" | ||
__version__ = "1.0.9" | ||
|
||
from theory.theory_tao_2006_the_peano_axioms import Tao2006ThePeanoAxioms |