-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Hello HairFastGAN Team,
First of all, thank you for your incredible work on the HairFastGAN project. It's a fascinating and valuable tool for the community.
I would like to request a feature to make HairFastGAN pip installable directly from the GitHub repository. This would greatly simplify the installation process and make it more accessible for Python developers. I believe the full steps to do this are:
Steps to Make HairFastGAN Pip Installable:
-
Structure the Repository:
Ensure the repository has asetup.pyfile at the root that includes all necessary package information. -
Create a
setup.pyFile:
This file should include thesetuptools.setup()function call with necessary information likename,version,author, and most importantly,install_requiresto list all dependencies. -
Include the
requirements.txtFile insetup.py:
This list of all project dependencies can be referenced in thesetup.pyfile usinginstall_requires=open('requirements.txt').read().splitlines(). This may also be where pretrained weights are downloaded. -
Prepare the Package for Distribution:
Usesetuptoolsto prepare the Python package. You can use the commandpython setup.py sdist bdist_wheelto create a source distribution and a wheel distribution. -
Tag a Release:
Create a tagged release in GitHub to mark a specific state of the codebase as a release. This step is important for version control and easy reference.
By following these steps, users will be able to install HairFastGAN directly from the GitHub repository using the command:
pip install git+https://github.com/AIRI-Institute/HairFastGAN
Thank you for considering this enhancement.