diff options
author | CoprDistGit <infra@openeuler.org> | 2024-01-28 14:17:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-01-28 14:17:46 +0000 |
commit | a4f2349664c00d60225d2425e58ab7807717a3e8 (patch) | |
tree | e1fefba0e9f2e38c492beab009e6c3b8f2fc7bc2 | |
parent | 5b61ff6400d8867e8452c0f26c0967a44d3d4ce4 (diff) |
automatic import of python-yacsopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-yacs.spec | 46 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 48 insertions, 0 deletions
@@ -0,0 +1 @@ +/v0.1.8.zip diff --git a/python-yacs.spec b/python-yacs.spec new file mode 100644 index 0000000..5375981 --- /dev/null +++ b/python-yacs.spec @@ -0,0 +1,46 @@ +%global debug_package %{nil} + +Name: python-yacs +Version: 0.1.8 +Release: 1 +Summary: YACS -- Yet Another Configuration System +License: Apache-2.0 +URL: https://github.com/rbgirshick/yacs +Source0: https://github.com/rbgirshick/yacs/archive/refs/tags/v%{version}.zip + +BuildRequires: python3-devel python3-setuptools python3-setuptools_scm gcc + +%description +YACS was created as a lightweight library to define and manage system configurations, such as those commonly found in software +designed for scientific experimentation. These "configurations" typically cover concepts like hyperparameters used in +training a machine learning model or configurable model hyperparameters, such as the depth of a convolutional neural network. +Since you're doing science, reproducibility is paramount and thus you need a reliable way to serialize experimental configurations. +YACS uses YAML as a simple, human readable serialization format. + +%package -n python3-yacs +Summary: YACS -- Yet Another Configuration System + +%{?python_provide:%python_provide python3-yacs} + +%description -n python3-yacs +YACS was created as a lightweight library to define and manage system configurations, such as those commonly found in software +designed for scientific experimentation. These "configurations" typically cover concepts like hyperparameters used in +training a machine learning model or configurable model hyperparameters, such as the depth of a convolutional neural network. +Since you're doing science, reproducibility is paramount and thus you need a reliable way to serialize experimental configurations. +YACS uses YAML as a simple, human readable serialization format. + +%prep +%autosetup -n yacs-%{version} -p1 + +%build +%py3_build + +%install +%py3_install + +%files -n python3-yacs +%{python3_sitelib}/* + +%changelog +* Sun Jan 28 2024 Binshuo Zu <274620705z@gmail.com> - 0.1.8-1 +- Package init @@ -0,0 +1 @@ +b7353204a3cdaabd49e3f11e56b8e238 v0.1.8.zip |