fix warnings due to PEP 420
parent
30b4d98397
commit
fe2080f2b1
|
@ -1,19 +1,17 @@
|
|||
"""Setup file to install the GTSAM package."""
|
||||
|
||||
try:
|
||||
from setuptools import setup, find_packages
|
||||
except ImportError:
|
||||
from distutils.core import setup, find_packages
|
||||
from setuptools import setup, find_namespace_packages
|
||||
|
||||
packages = find_packages(where=".")
|
||||
packages = find_namespace_packages(
|
||||
where=".",
|
||||
exclude=('build', 'build.*', 'CMakeFiles', 'CMakeFiles.*',
|
||||
'gtsam.notebooks', '*.preamble', '*.specializations', 'dist'))
|
||||
print("PACKAGES: ", packages)
|
||||
|
||||
package_data = {
|
||||
'': [
|
||||
"./*.so",
|
||||
"./*.dll",
|
||||
"Data/*" # Add the data files to the package
|
||||
"Data/**/*" # Add the data files in subdirectories
|
||||
"./*.dll"
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -41,7 +39,6 @@ setup(
|
|||
'Operating System :: Microsoft :: Windows',
|
||||
'Operating System :: POSIX',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 3',
|
||||
],
|
||||
packages=packages,
|
||||
|
|
Loading…
Reference in New Issue