From 00a556cbf2ad31c29dd07965e03078c273035ce6 Mon Sep 17 00:00:00 2001 From: filipstrand Date: Fri, 6 Sep 2024 20:54:10 +0200 Subject: [PATCH] Add setup.py --- setup.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d8e92d4 --- /dev/null +++ b/setup.py @@ -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', + ], +)