Skip to content

Commit

Permalink
Merge pull request #28 from greschd/update_fsc_hdf5_io
Browse files Browse the repository at this point in the history
Update and fsc.hdf5-io requirement, drop python 3.5 support
  • Loading branch information
greschd committed Mar 13, 2020
2 parents 179aec3 + 3e571ad commit b205a5d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
Expand Down
2 changes: 1 addition & 1 deletion nodefinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""A tool to find and identify nodal features in band structures.
"""

__version__ = '0.1.0'
__version__ = '0.1.1'

from . import coordinate_system
from . import search
Expand Down
6 changes: 4 additions & 2 deletions nodefinder/search/result/_search_result_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ class SearchResultContainer(SimpleHDF5Mapping):
"""

HDF5_ATTRIBUTES = [
'coordinate_system', 'minimization_results', 'dist_cutoff',
'gap_threshold', 'refined_results'
'coordinate_system',
'minimization_results',
'dist_cutoff',
'gap_threshold',
]
HDF5_OPTIONAL = ['refined_results']

Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import sys
from setuptools import setup, find_packages

if sys.version_info < (3, 5):
raise 'Must use Python version 3.5 or higher.'
if sys.version_info < (3, 6):
raise 'Must use Python version 3.6 or higher.'

with open('./README.md', 'r') as f:
README = f.read()
Expand Down Expand Up @@ -40,17 +40,16 @@
'A tool for studying the nodal features of potential lanscapes.',
install_requires=[
'numpy', 'scipy', 'matplotlib', 'decorator', 'fsc.export',
'fsc.hdf5-io>=0.6.0', 'fsc.async_tools', 'networkx>=2.0'
'fsc.hdf5-io~=1.0', 'fsc.async_tools', 'networkx>=2.0'
],
python_requires=">=3.5",
python_requires=">=3.6",
extras_require=EXTRAS_REQUIRE,
long_description=README,
long_description_content_type="text/markdown",
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English', 'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand Down

0 comments on commit b205a5d

Please sign in to comment.