diff --git a/install.sh b/install.sh index de9d70f709a2035c6f38b736e772a2a9909747cc..3f523fd26d2098be82649b4bf9ab2aefde6fb485 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ VERSION_NUMBER=$(cat "VERSION") echo "installing binarcpython version $VERSION_NUMBER" -python setup.py clean +python setup.py clean --all cd src pip uninstall -y binarycpython cd ../ diff --git a/setup.cfg b/setup.cfg index 3287428db22241272940680c4ede46aeac7df5a5..f35356367f3e0927513a4ec802b34f4a2d3b066f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ # Inside of setup.cfg [metadata] description-file = README.md + +[egg_info] +egg_base = ./build/ diff --git a/setup.py b/setup.py index f401b2e06166bf1c256f32e61d9dbb6830a35379..c54c745315b5f9e089c89516777d96fbfd3d0232 100644 --- a/setup.py +++ b/setup.py @@ -209,10 +209,8 @@ RUNTIME_LIBRARY_DIRS = list(dict.fromkeys(RUNTIME_LIBRARY_DIRS)) ############################################################ # Making the extension function ############################################################ -# TODO: fix that this one also compiles the code itself BINARY_C_PYTHON_API_MODULE = Extension( - # name="binarycpython.core.binary_c", name="binarycpython._binary_c_bindings", sources=["src/binary_c_python.c"], include_dirs=INCLUDE_DIRS, @@ -259,7 +257,7 @@ setup( packages=[ "binarycpython", "binarycpython.utils", - "binarycpython.core", + "binarycpython.utils.population_extensions", "binarycpython.tests", ], install_requires=[