Skip to content

Commit eeec020

Browse files
authored
Merge pull request #113 from paulromano/fix-long-description
Fix long description and bump version to 0.3.1
2 parents 6335d95 + 9f74f64 commit eeec020

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

openmc_plotter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
__version__ = '0.3.0'
2+
__version__ = '0.3.1'

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
from pathlib import Path
2+
13
from setuptools import setup
24

35
# Get version information from __init__.py. This is ugly, but more reliable than
46
# using an import.
57
with open('openmc_plotter/__init__.py', 'r') as f:
68
version = f.readlines()[-1].split()[-1].strip("'")
79

10+
# read the contents of your README file
11+
long_description = Path(__file__).with_name("README.md").read_text()
12+
813
kwargs = {
914
'name': 'openmc-plotter',
1015
'version': version,
@@ -20,6 +25,8 @@
2025
'author': 'OpenMC Development Team',
2126
'author_email': 'openmc@anl.gov',
2227
'description': 'Plotting tool for OpenMC models and tally data',
28+
'long_description': long_description,
29+
'long_description_content_type': 'text/markdown',
2330
'url': 'https://github.com/openmc-dev/plotter',
2431
'download_url': 'https://github.com/openmc-dev/plotter',
2532
'project_urls': {

0 commit comments

Comments
 (0)