-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
environment.yml
29 lines (22 loc) · 994 Bytes
/
environment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: advanced-pip-example
dependencies:
- pip
- pip:
# Global options can be tweaked.
# For example, if you want to use a pypi mirror first:
- --index-url https://pypi.doubanio.com/simple
- --extra-index-url https://pypi.python.org/simple
# (check https://www.pypi-mirrors.org/)
# Current syntax still works
- xmltodict==0.10.2
# Install in editable mode.
# More natural than - "--editable=git+https://github.com/neithere/argh.git#egg=argh
- -e git+https://github.com/neithere/argh.git#egg=argh
# You could also specify a package in a directory.
# The directory can be relative to this environment file.
- -e ./module_to_install_in_editable_mode
# Use another requirements file.
# Note that here also we can use relative paths.
# pip will be run from the environment file directory, if provided.
- -r another-project-requirements.txt
# Anything else that pip requirement files allows should work seamlessly...