Skip to content

Commit

Permalink
Merge pull request #518 from ocefpaf/use_pip
Browse files Browse the repository at this point in the history
Guidance to use pip
  • Loading branch information
pelson authored Feb 7, 2018
2 parents 79cd7f7 + c053083 commit a166c91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/recipe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ Optional: ``bld.bat`` and/or ``build.sh``
------------------------------------------
In many cases, ``bld.bat`` and/or ``build.sh`` files are not required. Pure Python packages almost never need them.
If the build can be executed with one line, you may put this line in the ``script`` entry of the ``build`` section of
the ``meta.yaml`` file. (For instance, if a file uses `setuptools`, try ``script: python setup.py install --single-version-externally-managed --record=record.txt``.)
the ``meta.yaml`` file with: ``script: python -m pip install --no-deps --ignore-installed .``,
remember to always add ``pip`` to the build requirements.


Maintainer Role
Expand Down

0 comments on commit a166c91

Please sign in to comment.