From 1a938e57ff65effab7a537a43ec57ba6f3417eee Mon Sep 17 00:00:00 2001 From: ygidtu Date: Fri, 5 May 2023 10:15:40 +0800 Subject: [PATCH] update requirements --- Pipfile | 2 +- Pipfile.lock | 2 +- requirements.txt | 107 ++++++++++++++++++++++++----------------------- setup.py | 4 +- 4 files changed, 59 insertions(+), 56 deletions(-) diff --git a/Pipfile b/Pipfile index 35e0335..92e0161 100644 --- a/Pipfile +++ b/Pipfile @@ -5,7 +5,7 @@ name = "pypi" [packages] adjusttext = "*" -cairocffi = "*" +cairocffi = "1.4.0" click = "*" click-option-group = "*" filetype = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 8121612..e92e0b6 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "b4a38e100b9307d7064a20387d12d0391dc38f5d905dde8c30500f0ef2814677" + "sha256": "5f93898e629f7e793772645358241fa04d065c9c73a760a8dcad41547256e85f" }, "pipfile-spec": 6, "requires": { diff --git a/requirements.txt b/requirements.txt index ba043e4..29b159a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,52 +1,55 @@ -adjusttext==0.7.3 -asciitree==0.3.3 -blosc2==2.0.0 ; python_version >= '3.8' and python_version < '4' -cairocffi==1.4.0 -certifi==2022.12.7 ; python_version >= '3.6' -cffi==1.15.1 -charset-normalizer==3.0.1 ; python_full_version >= '3.6.0' -click==8.1.3 -click-option-group==0.5.5 -contourpy==1.0.7 ; python_version >= '3.8' -cooler==0.9.1 ; python_version >= '3.6' -cycler==0.11.0 ; python_version >= '3.6' -cython==0.29.33 ; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3' -cytoolz==0.12.1 ; python_version >= '3.6' -dill==0.3.6 ; python_version >= '3.7' -filetype==1.2.0 -fonttools==4.38.0 ; python_version >= '3.7' -h5py==3.8.0 ; python_version >= '3.7' -hicmatrix==15 -idna==3.4 ; python_version >= '3.5' -importlib-resources==5.10.2 ; python_version < '3.10' -intervaltree==3.1.0 -kiwisolver==1.4.4 ; python_version >= '3.7' -loguru==0.6.0 -matplotlib==3.7.0 -msgpack==1.0.4 -multiprocess==0.70.14 ; python_version >= '3.7' -numexpr==2.8.4 ; python_version >= '3.7' -numpy==1.24.2 -packaging==23.0 ; python_version >= '3.7' -pandas==1.5.3 -pillow==9.4.0 ; python_version >= '3.7' -py-cpuinfo==9.0.0 -pybigwig==0.3.18 -pycparser==2.21 -pyfaidx==0.7.2 ; python_version >= '3.7' -pyparsing==3.0.9 ; python_full_version >= '3.6.8' -pysam==0.20.0 -python-dateutil==2.8.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' -pytz==2022.7.1 -pyyaml==6.0 ; python_version >= '3.6' -requests==2.28.2 -scipy==1.10.0 -seaborn==0.12.2 -simplejson==3.18.3 ; python_version >= '2.5' and python_version not in '3.0, 3.1, 3.2, 3.3' -six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' -sortedcontainers==2.4.0 -tables==3.8.0 ; python_version >= '3.8' -toolz==0.12.0 ; python_version >= '3.5' -urllib3==1.26.14 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' -xmltodict==0.13.0 -zipp==3.13.0 ; python_version < '3.10' +adjusttext==0.7.3 ; python_version >= "3.8" and python_version < "3.12" +asciitree==0.3.3 ; python_version >= "3.8" and python_version < "3.12" +blosc2==2.0.0 ; python_version >= "3.8" and python_version < "3.12" +cairocffi==1.5.1 ; python_version >= "3.8" and python_version < "3.12" +certifi==2022.12.7 ; python_version >= "3.8" and python_version < "3.12" +cffi==1.15.1 ; python_version >= "3.8" and python_version < "3.12" +charset-normalizer==3.1.0 ; python_version >= "3.8" and python_version < "3.12" +click-option-group==0.5.5 ; python_version >= "3.8" and python_version < "3.12" +click==8.1.3 ; python_version >= "3.8" and python_version < "3.12" +colorama==0.4.6 ; python_version >= "3.8" and python_version < "3.12" and platform_system == "Windows" or python_version >= "3.8" and python_version < "3.12" and sys_platform == "win32" +contourpy==1.0.7 ; python_version >= "3.8" and python_version < "3.12" +cooler==0.9.1 ; python_version >= "3.8" and python_version < "3.12" +cycler==0.11.0 ; python_version >= "3.8" and python_version < "3.12" +cython==0.29.34 ; python_version >= "3.8" and python_version < "3.12" +cytoolz==0.12.1 ; python_version >= "3.8" and python_version < "3.12" +dill==0.3.6 ; python_version >= "3.8" and python_version < "3.12" +filetype==1.2.0 ; python_version >= "3.8" and python_version < "3.12" +fonttools==4.39.3 ; python_version >= "3.8" and python_version < "3.12" +h5py==3.8.0 ; python_version >= "3.8" and python_version < "3.12" +hicmatrix==15 ; python_version >= "3.8" and python_version < "3.12" +idna==3.4 ; python_version >= "3.8" and python_version < "3.12" +importlib-resources==5.12.0 ; python_version >= "3.8" and python_version < "3.10" +intervaltree==3.1.0 ; python_version >= "3.8" and python_version < "3.12" +kiwisolver==1.4.4 ; python_version >= "3.8" and python_version < "3.12" +loguru==0.6.0 ; python_version >= "3.8" and python_version < "3.12" +matplotlib==3.7.1 ; python_version >= "3.8" and python_version < "3.12" +msgpack==1.0.5 ; python_version >= "3.8" and python_version < "3.12" +multiprocess==0.70.14 ; python_version >= "3.8" and python_version < "3.12" +numexpr==2.8.4 ; python_version >= "3.8" and python_version < "3.12" +numpy==1.24.3 ; python_version >= "3.8" and python_version < "3.12" +packaging==23.1 ; python_version >= "3.8" and python_version < "3.12" +pandas==1.5.3 ; python_version >= "3.8" and python_version < "3.12" +pillow==9.5.0 ; python_version >= "3.8" and python_version < "3.12" +py-cpuinfo==9.0.0 ; python_version >= "3.8" and python_version < "3.12" +pybigwig==0.3.22 ; python_version >= "3.8" and python_version < "3.12" +pycparser==2.21 ; python_version >= "3.8" and python_version < "3.12" +pyfaidx==0.7.2.1 ; python_version >= "3.8" and python_version < "3.12" +pyparsing==3.0.9 ; python_version >= "3.8" and python_version < "3.12" +pysam==0.20.0 ; python_version >= "3.8" and python_version < "3.12" +python-dateutil==2.8.2 ; python_version >= "3.8" and python_version < "3.12" +pytz==2023.3 ; python_version >= "3.8" and python_version < "3.12" +pyyaml==6.0 ; python_version >= "3.8" and python_version < "3.12" +requests==2.29.0 ; python_version >= "3.8" and python_version < "3.12" +scipy==1.10.1 ; python_version >= "3.8" and python_version < "3.12" +seaborn==0.12.2 ; python_version >= "3.8" and python_version < "3.12" +setuptools==67.7.2 ; python_version >= "3.8" and python_version < "3.12" +simplejson==3.19.1 ; python_version >= "3.8" and python_version < "3.12" +six==1.16.0 ; python_version >= "3.8" and python_version < "3.12" +sortedcontainers==2.4.0 ; python_version >= "3.8" and python_version < "3.12" +tables==3.8.0 ; python_version >= "3.8" and python_version < "3.12" +toolz==0.12.0 ; python_version >= "3.8" and python_version < "3.12" +urllib3==1.26.15 ; python_version >= "3.8" and python_version < "3.12" +win32-setctime==1.1.0 ; python_version >= "3.8" and python_version < "3.12" and sys_platform == "win32" +xmltodict==0.13.0 ; python_version >= "3.8" and python_version < "3.12" +zipp==3.15.0 ; python_version >= "3.8" and python_version < "3.10" diff --git a/setup.py b/setup.py index f3cf960..c666125 100644 --- a/setup.py +++ b/setup.py @@ -17,11 +17,11 @@ def locate_packages(): packages = [] for name in conf["packages"]: version = conf.get("packages", name) - version = version.strip('"').strip("'") + version = version.strip('"').strip("'").lstrip("^") if version == "*": packages.append(name) else: - packages.append(f"{name}, {version}") + packages.append(f"{name}=={version}") return packages