Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/packaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@

$ cd calculator_myname
$ uv init
$ mv *.py src/calculator_myname/
$ mv ../*.py src/calculator_myname/

This result in the following set of files.

.. code-block:: none

calculator_myname
├── src
│ ├── calculator
│ ├── calculator_myname
│ ├── adding.py
│ ├── __init__.py
│ ├── integrating.py
Expand Down Expand Up @@ -447,7 +447,7 @@
above.


Building a python package with grayskull and conda-build

Check failure on line 450 in content/packaging.rst

View workflow job for this annotation

GitHub Actions / Build

CRITICAL: Title level inconsistent:
********************************************************

Once build, the conda package can be installed locally. For this example, we
Expand Down Expand Up @@ -544,7 +544,7 @@
``conda grayskull``, ``conda build`` and allows you to also publish packages.


Publishing a python package

Check failure on line 547 in content/packaging.rst

View workflow job for this annotation

GitHub Actions / Build

CRITICAL: Title level inconsistent:
***************************

- Upload your package to `conda-forge <https://conda-forge.org/>`__:
Expand Down Expand Up @@ -576,4 +576,4 @@
.. [1] In 2026, tools such as pdm_, hatch_, flit_ have similar functionality as uv_.
.. [2] Some package build tools are simple and some have advanced features. Refer to
`pyOpenSci's guide on the choosing the right tool <https://www.pyopensci.org/python-package-guide/package-structure-code/python-package-build-tools.html>`__
.. [3] `uv` is also included in the conda environment you have created in :doc:`software installation <installation>` episode.
.. [3] `uv` is also included in the conda environment you have created in :doc:`software installation <installation>` episode.
4 changes: 3 additions & 1 deletion software/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ dependencies:
- flit
- uv
- pixi
- lice2
- scikit-learn
- scalene
- ruff
Expand All @@ -31,3 +30,6 @@ dependencies:
- pythia-datasets
- cython
- c-compiler
- pip:
- lice2

Loading