Test Conda
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arrebol-1.0.18.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file arrebol-1.0.18.tar.gz
.
File metadata
- Download URL: arrebol-1.0.18.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b07a3d8b8a9ba955344d48a9ad7a354ef827c80378d6c55af805029c58cc5ea |
|
MD5 | c92e2ff08c9568a3e519f5a3ac64c859 |
|
BLAKE2b-256 | 80fc9c06cefc8fccffb935b91215e5481fdba866924f2541969f4e79ff0a56d6 |
File details
Details for the file arrebol-1.0.18-py3-none-any.whl
.
File metadata
- Download URL: arrebol-1.0.18-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 131dc5e442fe2e80d34f3932f46b3bb6e07da121fe515440a84f125e2c20a738 |
|
MD5 | 84be2cd8417718d9837ea1d0fb900555 |
|
BLAKE2b-256 | 24b32643a4f7085cbc3f90194430f5f62efb552e3086b00daff52ac13c359c82 |