From 0d94c7064ae164d62456bd5ed4d368162941e1c6 Mon Sep 17 00:00:00 2001 From: Mario Fink Date: Wed, 3 Mar 2021 09:37:00 +0100 Subject: [PATCH] fix 3rdparty path for cython --- README.md | 12 +++++++++--- cython/setup.py | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 01ff4ef..4f1cb82 100644 --- a/README.md +++ b/README.md @@ -316,13 +316,19 @@ meta-data and provide these headers for usage in file output (see this ### Packaging +#### Documentation + - https://packaging.python.org/tutorials/packaging-projects/ -- https://medium.com/swlh/distributing-python-packages-protected-with-cython-40fc29d84caf -- https://levelup.gitconnected.com/how-to-deploy-a-cython-package-to-pypi-8217a6581f09 - https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html - https://test.pypi.org/account/register/ -- https://malramsay.com/post/perils-of-packaging/ - https://github.com/pypa/auditwheel - https://github.com/pypa/python-manylinux-demo - https://github.com/pypa/manylinux + +#### Articles + +- https://martinsosic.com/development/2016/02/08/wrapping-c-library-as-python-module.html +- https://malramsay.com/post/perils-of-packaging/ - https://github.com/neuronsimulator/nrn/issues/329 +- https://levelup.gitconnected.com/how-to-deploy-a-cython-package-to-pypi-8217a6581f09 +- https://medium.com/swlh/distributing-python-packages-protected-with-cython-40fc29d84caf diff --git a/cython/setup.py b/cython/setup.py index 1796803..0a3ff02 100644 --- a/cython/setup.py +++ b/cython/setup.py @@ -7,7 +7,7 @@ extensions = Extension( sources=["cython/py_tdm_termite.pyx"], # libraries=[""], # library_dirs=["lib"], - include_dirs=["lib","pugixml"], + include_dirs=["lib","3rdparty/pugixml"], language='c++', extra_compile_args=['-std=c++17','-Wno-unused-variable'], extra_link_args=['-std=c++17'],