11# Based on https://github.com/robotraconteur/robotraconteur/blob/master/RobotRaconteurPython/setup.py.in
22
33from setuptools import setup, Distribution, find_packages, Extension
4+ from pathlib import Path
5+
6+ long_description = (Path("@CMAKE_SOURCE_DIR@/..") / 'README.md').read_text()
47
58# Suggested at https://stackoverflow.com/questions/24071491/how-can-i-make-a-python-wheel-from-an-existing-native-library
69class BinaryDistribution(Distribution):
@@ -21,13 +24,20 @@ setup(name='tesseract-robotics',
2124 description='Tesseract Python Library',
2225 author='John Wason',
2326 author_email='wason@wasontech.com',
24- url='http://robotraconteur.com/',
27+ url='https://tesseract-robotics.github.io/tesseract_python/',
28+ project_urls={
29+ 'Documentation': 'https://tesseract-robotics.github.io/tesseract_python/',
30+ 'Source': 'https://github.com/tesseract-robotics/tesseract_python',
31+ 'Tracker': 'https://github.com/tesseract-robotics/tesseract_python/issues',
32+ },
33+
2534 packages=find_packages(include=['tesseract_robotics','tesseract_robotics.*']),
2635 package_data={'': ['*.pyd', '*.so', '*.dll']},
2736 distclass=BinaryDistribution,
2837 license='Apache-2.0',
2938 install_requires=['numpy'],
30- long_description='Tesseract Robotics package for Python',
39+ long_description=long_description,
40+ long_description_content_type='text/markdown',
3141 ext_modules=[
3242 Extension(
3343 name='tesseract_robotics.tesseract_common._tesseract_common',
0 commit comments