1
1
# Based on https://github.com/robotraconteur/robotraconteur/blob/master/RobotRaconteurPython/setup.py.in
2
2
3
3
from setuptools import setup, Distribution, find_packages, Extension
4
+ from pathlib import Path
5
+
6
+ long_description = (Path("@CMAKE_SOURCE_DIR@/..") / 'README.md').read_text()
4
7
5
8
# Suggested at https://stackoverflow.com/questions/24071491/how-can-i-make-a-python-wheel-from-an-existing-native-library
6
9
class BinaryDistribution(Distribution):
@@ -21,13 +24,20 @@ setup(name='tesseract-robotics',
21
24
description='Tesseract Python Library',
22
25
author='John Wason',
23
26
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
+
25
34
packages=find_packages(include=['tesseract_robotics','tesseract_robotics.*']),
26
35
package_data={'': ['*.pyd', '*.so', '*.dll']},
27
36
distclass=BinaryDistribution,
28
37
license='Apache-2.0',
29
38
install_requires=['numpy'],
30
- long_description='Tesseract Robotics package for Python',
39
+ long_description=long_description,
40
+ long_description_content_type='text/markdown',
31
41
ext_modules=[
32
42
Extension(
33
43
name='tesseract_robotics.tesseract_common._tesseract_common',
0 commit comments