@@ -105,6 +105,7 @@ a `.s2i/environment` file inside your source code repository.
105105
106106 Set this variable to use a custom index URL or mirror to download required packages
107107 during build process. This only affects packages listed in requirements.txt.
108+ Pipenv ignores this variable.
108109
109110* **UPGRADE_PIP_TO_LATEST**
110111
@@ -113,6 +114,14 @@ a `.s2i/environment` file inside your source code repository.
113114 before any Python packages are installed. If not set it will use whatever
114115 the default version is included by the platform for the Python version being used.
115116
117+ * **ENABLE_PIPENV**
118+
119+ Set this variable to use [Pipenv](https://github.com/kennethreitz/pipenv),
120+ the higher-level Python packaging tool, to manage dependencies of the application.
121+ This should be used only if your project contains properly formated Pipfile
122+ and Pipfile.lock. (Implies `UPGRADE_PIP_TO_LATEST` to satisfy dependencies of
123+ Pipenv.)
124+
116125* **WEB_CONCURRENCY**
117126
118127 Set this to change the default setting for the number of
@@ -131,14 +140,22 @@ However, if these files exist they will affect the behavior of the build process
131140 [here](https://pip.pypa.io/en/latest/user_guide.html#requirements-files).
132141
133142
143+ * **Pipfile**
144+
145+ The replacement for requirements.txt, project is currently under active
146+ design and development, as documented [here](https://github.com/pypa/pipfile).
147+ Set `ENABLE_PIPENV` environment variable to true in order to process this file.
148+
149+
134150* **setup.py**
135151
136152 Configures various aspects of the project, including installation of
137153 dependencies, as documented
138154 [here](https://packaging.python.org/en/latest/distributing.html#setup-py).
139- For most projects, it is sufficient to simply use `requirements.txt`, if this
140- file is present `setup.py` is not processed by default, please use `-e .` to
141- trigger its processing from the requirements.txt file.
155+ For most projects, it is sufficient to simply use `requirements.txt` or
156+ `Pipfile`, if one of these files is present `setup.py` is not processed
157+ by default, please use `-e .` to trigger its processing from above mentioned
158+ files.
142159
143160
144161Run strategies
0 commit comments