35 lines
1.2 KiB
Python
35 lines
1.2 KiB
Python
import os
|
|
try:
|
|
from setuptools import setup, find_packages
|
|
except ImportError:
|
|
from distutils.core import setup, find_packages
|
|
|
|
|
|
packages = find_packages()
|
|
|
|
setup(
|
|
name='gtsam',
|
|
description='Georgia Tech Smoothing And Mapping library',
|
|
url='https://bitbucket.org/gtborg/gtsam',
|
|
version='${GTSAM_VERSION_STRING}', # https://www.python.org/dev/peps/pep-0440/
|
|
license='Simplified BSD license',
|
|
keywords='slam sam',
|
|
long_description=open('${PROJECT_SOURCE_DIR}/README.md', 'r').read(),
|
|
# https://pypi.org/pypi?%3Aaction=list_classifiers
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Education',
|
|
'Intended Audience :: Developers',
|
|
'Intended Audience :: Science/Research',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Programming Language :: Python :: ${PYTHON_VERSION_MAJOR}',
|
|
],
|
|
|
|
packages=packages,
|
|
package_data={package:
|
|
[f for f in os.listdir(package.replace('.', os.path.sep)) if os.path.splitext(f)[1] in ('.so', '.dll')]
|
|
for package in packages
|
|
},
|
|
install_requires=open('${PROJECT_SOURCE_DIR}/cython/requirements.txt', 'r').read().splitlines()
|
|
)
|