Skip to content

Commit

Permalink
Require setuptools >=70.0.0 to fix security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gui11aume committed Sep 18, 2024
1 parent 7e935e7 commit 694055c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ python_codon_tables>=0.1.12,<1.0
pytorch_lightning>=2.2.1,<3.0
scikit-learn>=1.2.2,<2.0
scipy>=1.13.1,<3.0
setuptools>=68.2.2,<70.0
setuptools>=70.0.0
torch>=2.0.0,<3.0
tqdm>=4.66.2,<5.0
transformers>=4.40.0,<5.0
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ def read_requirements():

def read_readme():
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(here, 'README.md')
with open(readme_path, 'r', encoding='utf-8') as f:
readme_path = os.path.join(here, "README.md")

with open(readme_path, "r", encoding="utf-8") as f:
return f.read()


setup(
name="CodonTransformer",
version="1.5.2",
Expand Down

0 comments on commit 694055c

Please sign in to comment.