Download setup.py from OneScience-Group/CodonTransformer: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/OneScience-Group/CodonTransformer/resolve/main/setup.py
- Command line
-
hf download hf://OneScience-Group/CodonTransformer/setup.py
-
curl -L -o setup.py https://huggingface.co/OneScience-Group/CodonTransformer/resolve/main/setup.py
1.24 kB
| # setup.py | |
| import os | |
| from setuptools import find_packages, setup | |
| def read_requirements(): | |
| with open("requirements.txt") as f: | |
| return [line.strip() for line in f if line.strip() and not line.startswith("#")] | |
| 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: | |
| return f.read() | |
| setup( | |
| name="CodonTransformer", | |
| version="1.6.7", | |
| packages=find_packages(where="model"), | |
| package_dir={"": "model"}, | |
| install_requires=read_requirements(), | |
| author="Adibvafa Fallahpour", | |
| author_email="[email protected]", | |
| description=( | |
| "The ultimate tool for codon optimization, " | |
| "transforming protein sequences into optimized DNA sequences " | |
| "specific for your target organisms." | |
| ), | |
| long_description=read_readme(), | |
| long_description_content_type="text/markdown", | |
| url="https://github.com/adibvafa/CodonTransformer", | |
| classifiers=[ | |
| "Programming Language :: Python :: 3", | |
| "License :: OSI Approved :: Apache Software License", | |
| "Operating System :: OS Independent", | |
| ], | |
| python_requires=">=3.9", | |
| ) | |