Skip to content

Commit 52a1e8e

Browse files
committed
improved pypi description as copy of readme
deleted old pypi_description file and refs to it
1 parent d698696 commit 52a1e8e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

coniii/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
22-
version = '2.4.3'
22+
version = '2.4.3c'

pypi_compile.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
22+
2223
#!/bin/bash
2324

2425
# Code for compiling package for upload to PyPI.
@@ -66,8 +67,6 @@ then
6667

6768
echo "rsync -au docs/_build/html/* ~/Dropbox/Documents/eltrompetero.github.io/coniii/"
6869
rsync -au docs/_build/html/* ~/Dropbox/Documents/eltrompetero.github.io/coniii/
69-
70-
cp README.md pypi_description
7170
fi
7271

7372
# check if boost module compiled

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
copyfile('LICENSE.txt','coniii/LICENSE.txt')
4949

5050
# Get the long description from the README file
51-
with open(path.join(here, 'pypi_description'), encoding='utf-8') as f:
51+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
5252
long_description = f.read()
5353

5454
# setup C++ extension
@@ -73,6 +73,7 @@
7373
'version':__version__,
7474
'description':'Convenient Interface to Inverse Ising (ConIII)',
7575
'long_description':long_description,
76+
'long_description_content_type':'text/markdown',
7677
'url':'https://github.com/eltrompetero/coniii',
7778
'author':'Edward D. Lee, Bryan C Daniels',
7879
'author_email':'[email protected]',

0 commit comments

Comments
 (0)