Skip to content

Commit

Permalink
improved pypi description as copy of readme
Browse files Browse the repository at this point in the history
deleted old pypi_description file and refs to it
  • Loading branch information
eltrompetero committed May 3, 2021
1 parent d698696 commit 52a1e8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion coniii/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
3 changes: 1 addition & 2 deletions pypi_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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',
Expand Down

0 comments on commit 52a1e8e

Please sign in to comment.