omnigenome 0.3.6a0__tar.gz → 0.3.8a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of omnigenome might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omnigenome
3
- Version: 0.3.6a0
3
+ Version: 0.3.8a0
4
4
  Summary: OmniGenome: A comprehensive toolkit for genome analysis.
5
5
  Home-page: https://github.com/yangheng95/OmniGenBench
6
6
  Author: Yang, Heng
@@ -54,7 +54,7 @@ Dynamic: summary
54
54
 
55
55
  ![favicon.png](asset/favicon.png)
56
56
 
57
- <h3 align="center">OmniGenBench offers an all-in-one solution for genomic foundation model finetuning, inference, deployment and automated benchmarking, designed for research and applications in genomics.</h3>
57
+ <h3 align="center">OmniGenBench provides an all-in-one solution for genomic foundation model finetuning, inference, deployment and automated benchmarking, designed for research and applications in genomics.</h3>
58
58
 
59
59
  <div align="center">
60
60
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omnigenome
3
- Version: 0.3.6a0
3
+ Version: 0.3.8a0
4
4
  Summary: OmniGenome: A comprehensive toolkit for genome analysis.
5
5
  Home-page: https://github.com/yangheng95/OmniGenBench
6
6
  Author: Yang, Heng
@@ -54,7 +54,7 @@ Dynamic: summary
54
54
 
55
55
  ![favicon.png](asset/favicon.png)
56
56
 
57
- <h3 align="center">OmniGenBench offers an all-in-one solution for genomic foundation model finetuning, inference, deployment and automated benchmarking, designed for research and applications in genomics.</h3>
57
+ <h3 align="center">OmniGenBench provides an all-in-one solution for genomic foundation model finetuning, inference, deployment and automated benchmarking, designed for research and applications in genomics.</h3>
58
58
 
59
59
  <div align="center">
60
60
 
@@ -9,7 +9,21 @@
9
9
 
10
10
  from pathlib import Path
11
11
  from setuptools import setup, find_packages
12
- from omnigenbench import __version__
12
+
13
+ # Avoid importing the package at build time to prevent executing heavy imports
14
+ # and side effects in omnigenbench/__init__.py before dependencies are installed.
15
+ def read_version_from_init() -> str:
16
+ init_path = Path(__file__).parent / "omnigenbench" / "__init__.py"
17
+ text = init_path.read_text(encoding="utf8")
18
+ for line in text.splitlines():
19
+ if line.startswith("__version__"):
20
+ # Expected format: __version__ = "x.y.z"
21
+ import re
22
+
23
+ match = re.search(r"__version__\s*=\s*['\"]([^'\"]+)['\"]", line)
24
+ if match:
25
+ return match.group(1)
26
+ raise RuntimeError("Unable to find __version__ in omnigenbench/__init__.py")
13
27
 
14
28
  cwd = Path(__file__).parent
15
29
  long_description = (cwd / "README.MD").read_text(encoding="utf8")
@@ -25,7 +39,7 @@ extras = {
25
39
  # Use setup_omnigenome.py and setup_omnigenbench.py for separate builds
26
40
  setup(
27
41
  name="omnigenbench",
28
- version=__version__,
42
+ version=read_version_from_init(),
29
43
  description="OmniGenoBench: A comprehensive toolkit for genome analysis.",
30
44
  long_description=long_description,
31
45
  long_description_content_type="text/markdown",
@@ -59,7 +73,10 @@ setup(
59
73
  "packaging",
60
74
  "peft",
61
75
  "dill",
62
- "accelerate"
76
+ "accelerate",
77
+ "plotly",
78
+ "logomaker",
79
+ "matplotlib",
63
80
  ],
64
81
  extras_require=extras,
65
82
  classifiers=[
File without changes
File without changes