Skip to content

Commit e17b326

Browse files
committed
added extra setup.py flags to ensure the package includes the compiled .so lib
1 parent 8e36693 commit e17b326

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

example/setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
for package in packages
1818
}
1919

20-
dependencies = ["Cython>=0.25.2", "backports_abc>=0.5", "numpy>=1.12.0"]
20+
dependencies = ["gtsam", "Cython>=0.25.2", "backports_abc>=0.5", "numpy>=1.12.0"]
2121

2222
setup(
2323
name="gtsam_example",
2424
description="Simple example of wrapping projects with GTSAM",
25-
url="https://gtsam.org/",
25+
url="https://github.com/borglab/gtsam-project-python/",
2626
version="1.0.0",
2727
author="Varun Agrawal",
2828
author_email="[email protected]",
2929
license="Simplified BSD license",
30-
keywords="wrapper tutorial example",
30+
keywords="gtsam wrapper tutorial example",
3131
long_description="",
3232
long_description_content_type="text/markdown",
3333
python_requires=">=3.6",
@@ -47,5 +47,9 @@
4747
packages=packages,
4848
# Load the built shared object files
4949
package_data=package_data,
50+
include_package_data=True,
51+
# Ensure that the compiled .so file is properly packaged
52+
zip_safe=False,
53+
platforms="any",
5054
install_requires=dependencies,
5155
)

0 commit comments

Comments
 (0)