mirror of https://github.com/leafspark/AutoGGUF
ci: add PyPI setup script
This commit is contained in:
parent
a1650bba07
commit
7966150d90
|
@ -41,3 +41,6 @@ assets/*
|
||||||
|
|
||||||
# Don't ignore .gitignore
|
# Don't ignore .gitignore
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
|
||||||
|
# Allow PyPI setup script
|
||||||
|
!setup.py
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
psutil~=6.0.0
|
psutil~=6.0.0
|
||||||
requests~=2.32.3
|
requests~=2.32.3
|
||||||
numpy<2.0.0
|
numpy<2.0.0
|
||||||
torch~=1.13.1
|
torch~=2.2.0
|
||||||
sentencepiece~=0.2.0
|
sentencepiece~=0.2.0
|
||||||
PyYAML~=6.0.2
|
PyYAML~=6.0.2
|
||||||
pynvml~=11.5.3
|
pynvml~=11.5.3
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
with open('requirements.txt') as f:
|
||||||
|
required = f.read().splitlines()
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='AutoGGUF',
|
||||||
|
version='v1.7.1',
|
||||||
|
packages=[''],
|
||||||
|
url='https://github.com/leafspark/AutoGGUF',
|
||||||
|
license='apache-2.0',
|
||||||
|
author='leafspark',
|
||||||
|
author_email='',
|
||||||
|
description='automatically quant GGUF models',
|
||||||
|
install_requires=required,
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': [
|
||||||
|
'autogguf-gui = src.main'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
)
|
Loading…
Reference in New Issue