summaryrefslogtreecommitdiff
path: root/spec/fixtures/python/simple-setup.py
diff options
context:
space:
mode:
authorCan Eldem <celdem@gitlab.com>2020-03-27 16:47:50 +0000
committerCan Eldem <celdem@gitlab.com>2020-03-27 16:47:50 +0000
commitd0ff10b6ae1075a13827e00dd0120fac9639fde8 (patch)
tree74a5154ac105b2df4f27e5d2952b04f6547a078c /spec/fixtures/python/simple-setup.py
parent4db9ccdf7a07654e7d546b5a6ab7467cf3818c93 (diff)
parentf601e9bfb512ef21f727313959ff6349490abf17 (diff)
Merge branch '199059-setup-py' into 'master'v3.2.0
Read `PIP_INDEX_URL` to install python packages. See merge request gitlab-org/security-products/license-management!125
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",
+)