Skip to content

Commit

Permalink
Fix images on pypi (#14)
Browse files Browse the repository at this point in the history
* Use GitHub hosted images in README

* Remove images folder in root of repo

* Revert "Remove images folder in root of repo"

This reverts commit 0cd269a.

* Use string replacement to substitute GitHub-hosted images for PyPi's README
  • Loading branch information
JeffLIrion committed Feb 29, 2020
1 parent 162c8dc commit 6ded196
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ SE(3) Dataset
5 1.2395 -0.000091


+--------------------------------------+------------------------------------------------+
| **Original** | **Optimized** |
+--------------------------------------+------------------------------------------------+
| .. image:: images/parking-garage.png | .. image:: images/parking-garage-optimized.png |
+--------------------------------------+------------------------------------------------+
+-----------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+
| **Original** | **Optimized** |
+-----------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+
| .. image:: images/parking-garage.png | .. image:: images/parking-garage-optimized.png |
+-----------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+


SE(2) Dataset
Expand Down Expand Up @@ -109,11 +109,11 @@ SE(2) Dataset
6 215.8405 -0.000000


+-----------------------------------+---------------------------------------------+
| **Original** | **Optimized** |
+-----------------------------------+---------------------------------------------+
| .. image:: images/input_INTEL.png | .. image:: images/input_INTEL-optimized.png |
+-----------------------------------+---------------------------------------------+
+--------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+
| **Original** | **Optimized** |
+--------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+
| .. image:: images/input_INTEL.png | .. image:: images/input_INTEL-optimized.png |
+--------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+

References and Links
--------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from setuptools import setup

with open('README.rst') as f:
readme = f.read().replace(':math:', '').replace('\\mathbb{R}', 'R')
readme = f.read().replace(':math:', '').replace('\\mathbb{R}', 'R').replace('.. image:: ', '.. image:: https://raw.githubusercontent.com/JeffLIrion/python-graphslam/master/docs/source/')

setup(
name='graphslam',
Expand Down

0 comments on commit 6ded196

Please sign in to comment.