From 94c016aeed1fc2c46b567286c6e85e27eae3f2c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20Su=C3=A1rez?= Date: Mon, 11 May 2020 12:49:18 -0700 Subject: [PATCH] Create UsingTestPyPI.md --- UsingTestPyPI.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 UsingTestPyPI.md diff --git a/UsingTestPyPI.md b/UsingTestPyPI.md new file mode 100644 index 000000000..4bbe31a4f --- /dev/null +++ b/UsingTestPyPI.md @@ -0,0 +1,19 @@ +# Using TestPyPI to consume rc builds +The BotBuilder SDK rc build feed is found on [TestPyPI](https://test.pypi.org/). + +The daily builds will be available soon through the mentioned feed as well. + + +# Configure TestPyPI + +You can tell pip to download packages from TestPyPI instead of PyPI by specifying the --index-url flag (in the example below, replace 'botbuilder-core' for the name of the library you want to install) + +```bash +$ pip install --index-url https://test.pypi.org/simple/ botbuilder-core +``` +If you want to allow pip to also pull other packages from PyPI you can specify --extra-index-url to point to PyPI. +This is useful when the package you’re testing has dependencies: + +```bash +pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ botbuilder-core +```