Add setup.py
This commit is contained in:
parent
23e44c768b
commit
00a556cbf2
31
setup.py
Normal file
31
setup.py
Normal file
@ -0,0 +1,31 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name="mflux",
|
||||
version="0.2.0",
|
||||
author="Filip Strand",
|
||||
author_email="strand.filip@gmail.com",
|
||||
description="A MLX port of FLUX based on the Huggingface Diffusers implementation.",
|
||||
long_description=open('README.md').read(),
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/filipstrand/mflux",
|
||||
packages=find_packages(where="src"),
|
||||
package_dir={"": "src"},
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: MacOS",
|
||||
],
|
||||
python_requires='>=3.11',
|
||||
install_requires=[
|
||||
'mlx>=0.16.0',
|
||||
'numpy>=2.0.0',
|
||||
'pillow>=10.4.0',
|
||||
'transformers>=4.44.0',
|
||||
'sentencepiece>=0.2.0',
|
||||
'torch>=2.3.1',
|
||||
'tqdm>=4.66.5',
|
||||
'huggingface-hub>=0.24.5',
|
||||
'safetensors>=0.4.4',
|
||||
'piexif>=1.1.3',
|
||||
],
|
||||
)
|
||||
Loading…
Reference in New Issue
Block a user