Skip to content

Commit

Permalink
BLD: Bump the minimum nano-utils version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas van Beek committed Sep 1, 2022
1 parent 3fe85e1 commit 828b490
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
8 changes: 6 additions & 2 deletions CAT/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
__author__ = "Bas van Beek"
__email__ = '[email protected]'

import sys
from nanoutils import VersionInfo
version_info = VersionInfo.from_str(__version__)
del VersionInfo
if sys.version_info >= (3, 7):
version_info = VersionInfo.from_str(__version__)
else:
version_info = VersionInfo._make(int(i) for i in __version__.split(".") if i.isnumeric())
del VersionInfo, sys

from .logger import logger
from .jobs import (
Expand Down
2 changes: 1 addition & 1 deletion CAT/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The **CAT** version."""

__version__ = '1.0.1'
__version__ = '1.0.1.dev0'
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
.. image:: https://img.shields.io/badge/python-3.10-blue.svg
:target: https://docs.python.org/3.10/

##############################
Compound Attachment Tool 1.0.1
##############################
########################
Compound Attachment Tool
########################

**CAT** is a collection of tools designed for the construction of various chemical compounds.
Further information is provided in the documentation_.
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
test_suite='tests',
python_requires='>=3.6',
install_requires=[
'Nano-Utils>=0.4.3',
'Nano-Utils>=0.4.3; python_version=="3.6"',
'Nano-Utils>=2.3.1; python_version>="3.7"',
'numpy>=1.15.0',
'scipy>=0.19.1',
'pandas>=0.23.0',
Expand Down

0 comments on commit 828b490

Please sign in to comment.