Skip to content

Commit

Permalink
Merge pull request #113 from paulromano/fix-long-description
Browse files Browse the repository at this point in the history
Fix long description and bump version to 0.3.1
  • Loading branch information
kkiesling authored Mar 31, 2023
2 parents 6335d95 + 9f74f64 commit eeec020
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openmc_plotter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = '0.3.0'
__version__ = '0.3.1'
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
from pathlib import Path

from setuptools import setup

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

# read the contents of your README file
long_description = Path(__file__).with_name("README.md").read_text()

kwargs = {
'name': 'openmc-plotter',
'version': version,
Expand All @@ -20,6 +25,8 @@
'author': 'OpenMC Development Team',
'author_email': '[email protected]',
'description': 'Plotting tool for OpenMC models and tally data',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'url': 'https://github.com/openmc-dev/plotter',
'download_url': 'https://github.com/openmc-dev/plotter',
'project_urls': {
Expand Down

0 comments on commit eeec020

Please sign in to comment.