mirror of
https://github.com/IRBorisov/ConceptCore.git
synced 2025-08-14 08:00:36 +03:00
Add deploy to Pypi
This commit is contained in:
parent
f1272c50d3
commit
92733d03d2
|
@ -1,5 +1,7 @@
|
||||||
# 🏛️ ConceptCore
|
# 🏛️ ConceptCore
|
||||||
|
|
||||||
|
[](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
|
||||||
|
|
3
TODO.txt
3
TODO.txt
|
@ -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
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
6
pyconcept/scripts/Deploy.ps1
Normal file
6
pyconcept/scripts/Deploy.ps1
Normal 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}
|
Loading…
Reference in New Issue
Block a user