summaryrefslogtreecommitdiff
path: root/python-yacs.spec
blob: 53759817bfb781df859673a36f28b528c32bfba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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