From 38a2f3123bb4dc6ec2f7479a0e682c92b81a954b Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 20 Mar 2020 17:08:23 -0600 Subject: Install pip packages from a custom index * Read PIP_INDEX_URL to identify where to download packages from --- spec/fixtures/python/simple-setup.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 spec/fixtures/python/simple-setup.py (limited to 'spec/fixtures/python/simple-setup.py') diff --git a/spec/fixtures/python/simple-setup.py b/spec/fixtures/python/simple-setup.py new file mode 100644 index 0000000..02ee1c4 --- /dev/null +++ b/spec/fixtures/python/simple-setup.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python3 +import os +import shutil + +from setuptools import find_packages +from setuptools import setup + +shutil.rmtree("build", ignore_errors=True) + +setup( + name="package name", + version='1.1', + packages=find_packages(), + include_package_data=True, + install_requires=[ + "boto3", + ], + author="author", + author_email="author@author.com", + description="All the stuff", + url="https://www.author.com", +) -- cgit v1.2.3