Add deploy to Pypi

This commit is contained in:
IRBorisov 2024-04-17 21:48:36 +03:00
parent f1272c50d3
commit 92733d03d2
4 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# 🏛️ ConceptCore # 🏛️ 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 C++ library for manipulating concepts in formal language of advanced set theory
## 🌲 Structure ## 🌲 Structure

View File

@ -1,2 +1,3 @@
- wrap ConceptCoreLibrary in conan package for pyconcept consumption - wrap ConceptCoreLibrary in conan package for pyconcept consumption
- setup github actions to build and (maybe) publish pyconcept package - setup github actions to build and (maybe) publish pyconcept package
- manylinux wheel problem. Cannot upload linux_86_64 to PyPi

View File

@ -19,6 +19,11 @@ function Build {
Exit 1 Exit 1
} }
TestWheel("${output}\${wheel}") TestWheel("${output}\${wheel}")
# Remove-Item venv -Recurse -Force
Remove-Item build -Recurse -Force
Remove-Item ${ccl_destination} -Recurse -Force
Exit $LASTEXITCODE Exit $LASTEXITCODE
} }

View File

@ -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}