summaryrefslogtreecommitdiff
path: root/spec/fixtures/python/simple-setup.py
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-20 17:08:23 -0600
committermo khan <mo.khan@gmail.com>2020-03-26 20:04:48 -0600
commit38a2f3123bb4dc6ec2f7479a0e682c92b81a954b (patch)
tree16feaf24e3c5ca71bd1c5d93a0504b2e18cf6919 /spec/fixtures/python/simple-setup.py
parent4db9ccdf7a07654e7d546b5a6ab7467cf3818c93 (diff)
Install pip packages from a custom index
* Read PIP_INDEX_URL to identify where to download packages from
Diffstat (limited to 'spec/fixtures/python/simple-setup.py')
-rw-r--r--spec/fixtures/python/simple-setup.py22
1 files changed, 22 insertions, 0 deletions
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",
+)