Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove docs on features from bdist_conda and env vars #3879

Merged
merged 1 commit into from
Aug 20, 2020
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
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 @@ -311,28 +311,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