diff --git a/README.md b/README.md index 9dbaa80..3bf66e9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # 🏛️ ConceptCore +[![PyPI pyconcept](https://badge.fury.io/py/pyconcept.svg)](https://badge.fury.io/py/pyconcept) + C++ library for manipulating concepts in formal language of advanced set theory ## 🌲 Structure diff --git a/TODO.txt b/TODO.txt index 0731f79..7c93aff 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,2 +1,3 @@ - wrap ConceptCoreLibrary in conan package for pyconcept consumption -- setup github actions to build and (maybe) publish pyconcept package \ No newline at end of file +- setup github actions to build and (maybe) publish pyconcept package +- manylinux wheel problem. Cannot upload linux_86_64 to PyPi \ No newline at end of file diff --git a/pyconcept/scripts/Build.ps1 b/pyconcept/scripts/Build.ps1 index 965ecbb..0d820cd 100644 --- a/pyconcept/scripts/Build.ps1 +++ b/pyconcept/scripts/Build.ps1 @@ -19,6 +19,11 @@ function Build { Exit 1 } TestWheel("${output}\${wheel}") + + # Remove-Item venv -Recurse -Force + Remove-Item build -Recurse -Force + Remove-Item ${ccl_destination} -Recurse -Force + Exit $LASTEXITCODE } diff --git a/pyconcept/scripts/Deploy.ps1 b/pyconcept/scripts/Deploy.ps1 new file mode 100644 index 0000000..d69d499 --- /dev/null +++ b/pyconcept/scripts/Deploy.ps1 @@ -0,0 +1,6 @@ +Set-Location $PSScriptRoot\.. + +$token = Get-Content -Path ./secrets/API_TOKEN.txt +$python = 'python' +& ${python} -m pip install twine +& ${python} -m twine upload ../output/py/pyconcept/* -u __token__ -p ${token}