forked from pygrace/pygrace
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[egg_info] | ||
tag_build = .dev0 | ||
#tag_build = .dev0 | ||
|
||
[bdist_wheel] | ||
#python-tag = py3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# License: 3-clause BSD. The full license text is available at: | ||
# - https://github.com/uqfoundation/pygrace/blob/master/LICENSE | ||
|
||
__version__ = '1.1.dev0' | ||
__version__ = '1.2.1' | ||
__author__ = 'Mike McKerns' | ||
__contact__ = '[email protected]' | ||
|
||
|
@@ -40,7 +40,8 @@ def get_readme_as_rst(filepath): | |
README += line.replace('-','=') + '\n' | ||
elif line.startswith('!['): # image | ||
alt,img = line.split('](',1) | ||
img = img.split('docs/source/',1)[-1] # make is in docs | ||
if img.startswith('docs'): # relative path | ||
img = img.split('docs/source/',1)[-1] # make is in docs | ||
README += '.. image:: ' + img.replace(')','') | ||
README += ' :alt: ' + alt.replace('![','') + '\n' | ||
#elif ')[http' in line: # alt text link (`text <http://url>`_) | ||
|