Skip to content

Commit

Permalink
added extra setup.py flags to ensure the package includes the compile…
Browse files Browse the repository at this point in the history
…d .so lib
  • Loading branch information
varunagrawal committed Jul 7, 2020
1 parent 8e36693 commit e17b326
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions example/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
for package in packages
}

dependencies = ["Cython>=0.25.2", "backports_abc>=0.5", "numpy>=1.12.0"]
dependencies = ["gtsam", "Cython>=0.25.2", "backports_abc>=0.5", "numpy>=1.12.0"]

setup(
name="gtsam_example",
description="Simple example of wrapping projects with GTSAM",
url="https://gtsam.org/",
url="https://github.com/borglab/gtsam-project-python/",
version="1.0.0",
author="Varun Agrawal",
author_email="[email protected]",
license="Simplified BSD license",
keywords="wrapper tutorial example",
keywords="gtsam wrapper tutorial example",
long_description="",
long_description_content_type="text/markdown",
python_requires=">=3.6",
Expand All @@ -47,5 +47,9 @@
packages=packages,
# Load the built shared object files
package_data=package_data,
include_package_data=True,
# Ensure that the compiled .so file is properly packaged
zip_safe=False,
platforms="any",
install_requires=dependencies,
)

0 comments on commit e17b326

Please sign in to comment.