Arrebol
Pacote criado com a finalidade única de testar como subir um pacote para o PyPi e Conda.
- https://github.com/traquitanas/arrebol
- https://anaconda.org/michelmetran/arrebol
- https://pypi.org/project/arrebol/
Build Manually
Inicialmente é necessário instalar o conda-build com o comando:
conda activate pablocarreira-py39
conda install conda-build
Uma vez instalado, é possível buildar com o comando abaixo:
conda-build ./conda/
GitActions
Há um GitAction para publicar pacotes no Conda. A vantagem é que ele converte o build para outras plataformas (adicionar converters)!
Já tentei outros, porém abandonei por falhas:
- elbeejay/conda-publish-action@v1.5
- maxibor/conda-package-publish-action@v1.1
# Convert Package to Other Platforms
cd ~
platforms=( osx-64 linux-32 linux-64 win-32 win-64 )
find $HOME/conda-bld/linux-64/ -name *.tar.bz2 | while read file
do
echo $file
#conda convert --platform all $file -o $HOME/conda-bld/
for platform in "${platforms[@]}"
do
conda convert --platform $platform $file -o $HOME/conda-bld/
done
done
Referências
- Conda-Build: Conda channels
- Medium: Publishing Your Python Package on conda and conda-forge
- YouTube: Building and Distributing Python Software with Conda
- Medium: Building a conda package and uploading it to Anaconda Cloud Não gostei pois é preciso etapas manuais
GitActions
Metadata
Release files for arrebol 1.0.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arrebol-1.0.18.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arrebol-1.0.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / arrebol-1.0.18.tar.gz
| Download URL | arrebol-1.0.18.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b07a3d8b8a9ba955344d48a9ad7a354ef827c80378d6c55af805029c58cc5ea
|
|
BLAKE2b-256 checksum How to use checksums |
80fc9c06cefc8fccffb935b91215e5481fdba866924f2541969f4e79ff0a56d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / arrebol-1.0.18-py3-none-any.whl
| Download URL | arrebol-1.0.18-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
131dc5e442fe2e80d34f3932f46b3bb6e07da121fe515440a84f125e2c20a738
|
|
BLAKE2b-256 checksum How to use checksums |
24b32643a4f7085cbc3f90194430f5f62efb552e3086b00daff52ac13c359c82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|