From b9e0915c027c407acb21cfda95207854ef7cfa0d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 Apr 2024 17:31:12 +0000 Subject: automatic import of torchtext --- text.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/text.spec b/text.spec index 934c469..0204a94 100644 --- a/text.spec +++ b/text.spec @@ -1,5 +1,6 @@ %global commit 0.13.0 %global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global pypi_name torchtext Name: torchtext Version: 0.13.0 @@ -33,16 +34,15 @@ modeling, and sequence-to-sequence learning. %autosetup -n text-%{commit} %build -export TORCHTEXT_BUILD_VERSION=%{version} -export TORCHTEXT_BUILD_NUMBER=1 -python3 setup.py bdist_wheel +%py3_build %install %py3_install %files %{python3_sitelib}/* +%{python3_sitearch}/%{name} %changelog -* Sat Apr 15 2023 Your Name - 0.13.0-1 +* Sat Apr 15 2023 chelsey20011128@gmail.com - 0.13.0-1 - Initial package -- cgit v1.2.3