[lxc-devel] [pylxd/master] Put runtime dependencies in install_requires (fixes #308)

pdecat on Github lxc-bot at linuxcontainers.org
Wed Jun 6 08:15:22 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 11750 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180606/576cf933/attachment.bin>
-------------- next part --------------
From 9d9d911c98fbc4ff0e3f7a88199e9192c13cd779 Mon Sep 17 00:00:00 2001
From: Patrick Decat <pdecat at gmail.com>
Date: Wed, 6 Jun 2018 10:11:19 +0200
Subject: [PATCH] Put runtime dependencies in install_requires (fixes #308)

---
 setup.py                | 2 +-
 test/include/python2.7  | 1 +
 test/local/include      | 1 +
 test/pip-selfcheck.json | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)
 create mode 120000 test/include/python2.7
 create mode 120000 test/local/include
 create mode 100644 test/pip-selfcheck.json

diff --git a/setup.py b/setup.py
index 02c0d98..43d3ccc 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@
     pass
 
 setuptools.setup(
-    setup_requires=[
+    install_requires=[
         'pbr>=1.8',
         'requests!=2.8.0,>=2.5.2',
         # >= 0.1.5 needed for HTTP_PROXY support
diff --git a/test/include/python2.7 b/test/include/python2.7
new file mode 120000
index 0000000..ad4ca80
--- /dev/null
+++ b/test/include/python2.7
@@ -0,0 +1 @@
+/usr/include/python2.7
\ No newline at end of file
diff --git a/test/local/include b/test/local/include
new file mode 120000
index 0000000..208b9e2
--- /dev/null
+++ b/test/local/include
@@ -0,0 +1 @@
+/home/pdecat/workspaces/thirdparty/pylxd/test/include
\ No newline at end of file
diff --git a/test/pip-selfcheck.json b/test/pip-selfcheck.json
new file mode 100644
index 0000000..2d7379d
--- /dev/null
+++ b/test/pip-selfcheck.json
@@ -0,0 +1 @@
+{"last_check":"2018-06-06T08:08:49Z","pypi_version":"10.0.1"}
\ No newline at end of file


More information about the lxc-devel mailing list