Skip to content

Commit 7966150

Browse files
committed
ci: add PyPI setup script
1 parent a1650bb commit 7966150

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ assets/*
4141

4242
# Don't ignore .gitignore
4343
!.gitignore
44+
45+
# Allow PyPI setup script
46+
!setup.py

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
psutil~=6.0.0
22
requests~=2.32.3
33
numpy<2.0.0
4-
torch~=1.13.1
4+
torch~=2.2.0
55
sentencepiece~=0.2.0
66
PyYAML~=6.0.2
77
pynvml~=11.5.3

setup.py

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
from setuptools import setup
2+
3+
with open('requirements.txt') as f:
4+
required = f.read().splitlines()
5+
6+
setup(
7+
name='AutoGGUF',
8+
version='v1.7.1',
9+
packages=[''],
10+
url='https://github.com/leafspark/AutoGGUF',
11+
license='apache-2.0',
12+
author='leafspark',
13+
author_email='',
14+
description='automatically quant GGUF models',
15+
install_requires=required,
16+
entry_points={
17+
'console_scripts': [
18+
'autogguf-gui = src.main'
19+
]
20+
}
21+
)

0 commit comments

Comments
 (0)