https://github.com/bolundai0216/conda-bonjour

Tutorial on packaging with conda

https://github.com/bolundai0216/conda-bonjour

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Tutorial on packaging with conda

Basic Info
  • Host: GitHub
  • Owner: BolunDai0216
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 27.3 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 4
Created almost 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

conda-bonjour

License Anaconda

Tutorial on packaging with conda

v0.0.1: initial commit

Barebone code.

v0.0.2: added meta.yaml

First, create a release on GitHub. Then, using grayskull, which can be installed using

bash conda install conda-forge::grayskull

we can generate the meta.yaml file using the command

bash grayskull pypi https://github.com/BolunDai0216/conda-bonjour

We can save this file at conda-bonjour/meta.yaml.

v0.0.3: upload package to Anaconda

[!NOTE] You need to create a new release on GitHub for each new version of the package and rerun grayskull to update the meta.yaml file (just the version and source information).

First, install conda-build and anaconda-client:

bash conda install conda-build anaconda-client

Then build the package:

bash conda build conda-bonjour

Finally, upload the package to conda:

bash anaconda login anaconda upload /path/to/conda-bonjour-x.x.x-py_0.tar.bz2

This will upload the package to your own channel. For me, it will be at https://anaconda.org/bolundai/conda-bonjour. A good resource on this topic can be found here.

v0.0.4: added Python bindings of C++ source code

Added the Python bindings of C++ source code. It seems like the easiest way to compile the package for multiple different platforms is just to compile the package on that platform. This can be achieved by emulation in dockers using QEMU.

v0.0.5: added build.sh

bash CondaBuildException: Found a build.sh script and a build/script section inside meta.yaml. Either remove the build.sh script or remove the build/script section in meta.yaml.

Tips

To speed up the solution time of conda one can set the default solver to libmamba

bash conda update -n base conda conda install -n base conda-libmamba-solver conda config --set solver libmamba

which is the default solver in newer versions of conda.

Owner

  • Name: Bolun
  • Login: BolunDai0216
  • Kind: user
  • Location: New York City
  • Company: New York University

Robotics, Reinforcement Learning, Machine Learning and Computer Vision

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

pyproject.toml pypi
  • numpy >=1.26.4