From 52a1e8e070bf5082b0dc4ddb0203e558fdab9d93 Mon Sep 17 00:00:00 2001 From: eltrompetero Date: Mon, 3 May 2021 21:13:06 +0200 Subject: [PATCH] improved pypi description as copy of readme deleted old pypi_description file and refs to it --- coniii/version.py | 2 +- pypi_compile.sh | 3 +-- setup.py | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coniii/version.py b/coniii/version.py index d55239c..95db9ae 100644 --- a/coniii/version.py +++ b/coniii/version.py @@ -19,4 +19,4 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -version = '2.4.3' +version = '2.4.3c' diff --git a/pypi_compile.sh b/pypi_compile.sh index 1f5c8af..b592576 100755 --- a/pypi_compile.sh +++ b/pypi_compile.sh @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + #!/bin/bash # Code for compiling package for upload to PyPI. @@ -66,8 +67,6 @@ then echo "rsync -au docs/_build/html/* ~/Dropbox/Documents/eltrompetero.github.io/coniii/" rsync -au docs/_build/html/* ~/Dropbox/Documents/eltrompetero.github.io/coniii/ - - cp README.md pypi_description fi # check if boost module compiled diff --git a/setup.py b/setup.py index b06a9b9..776e3a3 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ copyfile('LICENSE.txt','coniii/LICENSE.txt') # Get the long description from the README file -with open(path.join(here, 'pypi_description'), encoding='utf-8') as f: +with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() # setup C++ extension @@ -73,6 +73,7 @@ 'version':__version__, 'description':'Convenient Interface to Inverse Ising (ConIII)', 'long_description':long_description, + 'long_description_content_type':'text/markdown', 'url':'https://github.com/eltrompetero/coniii', 'author':'Edward D. Lee, Bryan C Daniels', 'author_email':'edlee@santafe.edu',