-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from paulromano/fix-long-description
Fix long description and bump version to 0.3.1
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
__version__ = '0.3.0' | ||
__version__ = '0.3.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
|
@@ -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': { | ||
|