diff options
Diffstat (limited to 'python-yacs.spec')
-rw-r--r-- | python-yacs.spec | 46 |
1 files changed, 46 insertions, 0 deletions
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 |