Skip to content

Commit

Permalink
Merge pull request #3879 from msarahan/remove_features_mentions
Browse files Browse the repository at this point in the history
remove docs on features from bdist_conda and env vars
  • Loading branch information
jjhelmus authored Aug 20, 2020
2 parents 87b2e31 + c16f32e commit 65c87d1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 55 deletions.
8 changes: 0 additions & 8 deletions bdist_conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ class CondaDistribution(Distribution):
setuptools or has a setuptools entry_points other than console_scripts
and gui_scripts.
- conda_features: List of features for the package. See the features
section of the conda build documentation for more information about
features in conda.
- conda_track_features: List of features that this package should track
(enable when installed). See the features section of the conda build
documentation for more information about features in conda.
Command line options:
--buildnum: Set the build number. Defaults to the conda_buildnum passed to
Expand Down
22 changes: 0 additions & 22 deletions docs/source/user-guide/environment-variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -313,28 +313,6 @@ Environment variables that affect the build process
usually labeled ``-p`` or ``--prefix``.


.. _build-features:

Environment variables to set build features
===========================================

The environment variables listed in the following table are
inherited from the process running conda-build.

.. list-table::
:widths: 15 43 42

* - FEATURE_NOMKL
- Adds the ``nomkl`` feature to the built package.
- Accepts ``0`` for off and ``1`` for on.
* - FEATURE_DEBUG
- Adds the ``debug`` feature to the built package.
- Accepts ``0`` for off and ``1`` for on.
* - FEATURE_OPT
- Adds the ``opt`` feature to the built package.
- Accepts ``0`` for off and ``1`` for on.


.. _test-envs:

Environment variables that affect the test process
Expand Down
25 changes: 0 additions & 25 deletions docs/source/user-guide/recipes/build-without-recipe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ EXAMPLE: A minimal ``setup.py`` file using the setup options
version="1.0",
distclass=distutils.command.bdist_conda.CondaDistribution,
conda_buildnum=1,
conda_features=['mkl'],
)
Expand Down Expand Up @@ -118,30 +117,6 @@ gui_scripts.
conda_preserve_egg_dir=False
Features
--------

A list of features for the package.

.. code::
conda_features=['mkl']
.. note::
Replace ``mkl`` with the features that you want to list.



Track features
-----------------

List of features that this package should track---enable---when
installed.

.. code::
conda_track_features=['mkl']
Command line options
====================

Expand Down

0 comments on commit 65c87d1

Please sign in to comment.