From 0eb0370bd316594cc4d12714000c48b9c8eac53e Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 8 Apr 2021 05:19:19 +0300 Subject: [PATCH] moved python sources --- python/frame.c | 1 - python/frame.h | 1 - python/memsinksh.h | 1 - python/setup.py | 4 ++-- python/src/frame.c | 1 + python/src/frame.h | 1 + python/src/memsinksh.h | 1 + python/src/tools.h | 1 + python/{ => src}/ustreamer.c | 0 python/tools.h | 1 - 10 files changed, 6 insertions(+), 6 deletions(-) delete mode 120000 python/frame.c delete mode 120000 python/frame.h delete mode 120000 python/memsinksh.h create mode 120000 python/src/frame.c create mode 120000 python/src/frame.h create mode 120000 python/src/memsinksh.h create mode 120000 python/src/tools.h rename python/{ => src}/ustreamer.c (100%) delete mode 120000 python/tools.h diff --git a/python/frame.c b/python/frame.c deleted file mode 120000 index 594f913..0000000 --- a/python/frame.c +++ /dev/null @@ -1 +0,0 @@ -../src/libs/frame.c \ No newline at end of file diff --git a/python/frame.h b/python/frame.h deleted file mode 120000 index 3a7efc5..0000000 --- a/python/frame.h +++ /dev/null @@ -1 +0,0 @@ -../src/libs/frame.h \ No newline at end of file diff --git a/python/memsinksh.h b/python/memsinksh.h deleted file mode 120000 index 191992e..0000000 --- a/python/memsinksh.h +++ /dev/null @@ -1 +0,0 @@ -../src/libs/memsinksh.h \ No newline at end of file diff --git a/python/setup.py b/python/setup.py index 6b34e55..c182298 100644 --- a/python/setup.py +++ b/python/setup.py @@ -18,8 +18,8 @@ if __name__ == "__main__": "ustreamer", libraries=["rt", "m", "pthread"], undef_macros=["NDEBUG"], - sources=[name for name in os.listdir(".") if name.endswith(".c")], - depends=[name for name in os.listdir(".") if name.endswith(".h")], + sources=["src/" + name for name in os.listdir("src") if name.endswith(".c")], + depends=["src/" + name for name in os.listdir("src") if name.endswith(".h")], ), ], ) diff --git a/python/src/frame.c b/python/src/frame.c new file mode 120000 index 0000000..3bc454d --- /dev/null +++ b/python/src/frame.c @@ -0,0 +1 @@ +../../src/libs/frame.c \ No newline at end of file diff --git a/python/src/frame.h b/python/src/frame.h new file mode 120000 index 0000000..73ed450 --- /dev/null +++ b/python/src/frame.h @@ -0,0 +1 @@ +../../src/libs/frame.h \ No newline at end of file diff --git a/python/src/memsinksh.h b/python/src/memsinksh.h new file mode 120000 index 0000000..52d4728 --- /dev/null +++ b/python/src/memsinksh.h @@ -0,0 +1 @@ +../../src/libs/memsinksh.h \ No newline at end of file diff --git a/python/src/tools.h b/python/src/tools.h new file mode 120000 index 0000000..c2a07b7 --- /dev/null +++ b/python/src/tools.h @@ -0,0 +1 @@ +../../src/libs/tools.h \ No newline at end of file diff --git a/python/ustreamer.c b/python/src/ustreamer.c similarity index 100% rename from python/ustreamer.c rename to python/src/ustreamer.c diff --git a/python/tools.h b/python/tools.h deleted file mode 120000 index 0f7430d..0000000 --- a/python/tools.h +++ /dev/null @@ -1 +0,0 @@ -../src/libs/tools.h \ No newline at end of file