-
Notifications
You must be signed in to change notification settings - Fork 14
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 #57 from harripd/master
Combined updates
- Loading branch information
Showing
25 changed files
with
126 additions
and
2,483 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -19,3 +19,4 @@ notebooks/*-out.ipynb | |
*.ht3 | ||
*.ptu | ||
*.set | ||
phconvert/_version.py |
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,4 +1,4 @@ | ||
include versioneer.py | ||
include phconvert/_version.py | ||
include LICENSE.txt | ||
include README.md | ||
include phconvert/specs/*.json | ||
include phconvert/v04/specs/*.json |
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
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
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
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 |
---|---|---|
|
@@ -3,40 +3,6 @@ | |
# | ||
# Copyright (C) 2015 Antonino Ingargiola <[email protected]> | ||
# | ||
from phconvert._version import get_versions | ||
__version__ = get_versions()['version'] | ||
del get_versions | ||
|
||
import sys | ||
|
||
if sys.version_info < (3,): | ||
raise ImportError( | ||
"""You are running phconvert %s on Python 2 | ||
phconvert 0.9 and above are no longer compatible with Python 2, and you still | ||
ended up with this version installed. That's unfortunate; sorry about that. | ||
It should not have happened. Make sure you have pip >= 9.0 to avoid this kind | ||
of issue, as well as setuptools >= 24.2: | ||
$ pip install pip setuptools --upgrade | ||
Your choices: | ||
- Upgrade to Python 3. | ||
- Install an older version of phconvert: | ||
$ pip install 'phconvert<0.9' | ||
It would be great if you can figure out how this version ended up being | ||
installed, and try to check how to prevent that for future users. | ||
Feel free to report the issue to: | ||
https://github.com/Photon-HDF5/phconvert/issues | ||
""" % __version__) | ||
|
||
import phconvert.loader | ||
import phconvert.hdf5 | ||
import phconvert.v04 | ||
|
@@ -49,3 +15,6 @@ | |
if has_matplotlib: | ||
import phconvert.plotter | ||
del matplotlib | ||
|
||
|
||
from phconvert._version import version as __version__ |
Oops, something went wrong.