From a790e18a79348c20b62cbfa1af89c3f8cb1b167b Mon Sep 17 00:00:00 2001
From: dh00601 <dh00601@surrey.ac.uk>
Date: Fri, 3 Jun 2022 14:35:14 +0100
Subject: [PATCH] added missing files, and updated manifest and setup script

---
 MANIFEST.in                                                 | 1 +
 binarycpython/tests/__init__.py                             | 0
 binarycpython/tests/tests_population_extensions/__init__.py | 0
 binarycpython/utils/population_extensions/__init__.py       | 0
 setup.py                                                    | 4 ++--
 5 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 binarycpython/tests/__init__.py
 create mode 100644 binarycpython/tests/tests_population_extensions/__init__.py
 create mode 100644 binarycpython/utils/population_extensions/__init__.py

diff --git a/MANIFEST.in b/MANIFEST.in
index eb758555d..325950da7 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -3,3 +3,4 @@ include src/*.c
 include include/*.h
 include README.md
 include VERSION
+include requirements.txt
\ No newline at end of file
diff --git a/binarycpython/tests/__init__.py b/binarycpython/tests/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/binarycpython/tests/tests_population_extensions/__init__.py b/binarycpython/tests/tests_population_extensions/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/binarycpython/utils/population_extensions/__init__.py b/binarycpython/utils/population_extensions/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/setup.py b/setup.py
index 4fe827fe9..092344582 100644
--- a/setup.py
+++ b/setup.py
@@ -157,7 +157,7 @@ BINARY_C_DEFINES = call_binary_c_config(BINARY_C_DIR, "define_macros")
 BINARY_C_DEFINE_MACROS = []
 LONE = re.compile("^-D(.+)$")
 PARTNER = re.compile("^-D(.+)=(.+)$")
-for x in DEFINES:
+for x in BINARY_C_DEFINES:
     y = PARTNER.match(x)
     if y:
         BINARY_C_DEFINE_MACROS.extend([(y.group(1), y.group(2))])
@@ -262,7 +262,7 @@ setup(
         "binarycpython.tests",
         "binarycpython.tests.tests_population_extensions",
     ],
-    install_requires=,
+    install_requires=requirements(this_file_dir),
     include_package_data=True,
     ext_modules=[BINARY_C_PYTHON_API_MODULE],  # binary_c must be loaded
     classifiers=[
-- 
GitLab