Skip to content

Commit 2b24088

Browse files
committed
Added setup.py and .gitignore
1 parent 59fd4d9 commit 2b24088

3 files changed

Lines changed: 52 additions & 0 deletions

File tree

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Distribution / packaging
2+
.Python
3+
build/
4+
develop-eggs/
5+
dist/
6+
downloads/
7+
eggs/
8+
.eggs/
9+
lib/
10+
lib64/
11+
parts/
12+
sdist/
13+
var/
14+
wheels/
15+
share/python-wheels/
16+
*.egg-info/
17+
.installed.cfg
18+
*.egg
19+
MANIFEST
20+
21+
# Byte-compiled / optimized / DLL files
22+
__pycache__/
23+
*.py[cod]
24+
*$py.class
35 Bytes
Binary file not shown.

setup.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
from setuptools import setup, find_packages
2+
3+
setup(
4+
name="flux-inpainting-controlnet-alimama",
5+
version="0.1.0",
6+
description="Alimama's Flux ControlNet and Transformer implementation for image generation",
7+
author="Nikola Gligorovski",
8+
author_email="gligorovskinikola@gmail.com",
9+
# packages=["."], # Use "." since package is in root directory
10+
# package_dir={"": "."}, # Map root package to current directory
11+
packages=find_packages(),
12+
install_requires=[
13+
"torch>=2.0.0",
14+
"diffusers==0.30.2",
15+
"transformers>=4.46.2",
16+
"numpy>=2.1.3",
17+
"sentencepiece",
18+
],
19+
python_requires=">=3.10",
20+
classifiers=[
21+
"Development Status :: 3 - Alpha",
22+
"Intended Audience :: Science/Research",
23+
"License :: OSI Approved :: MIT License",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3.10",
26+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
27+
],
28+
)

0 commit comments

Comments
 (0)