Skip to content

UPD : Added pyproject.toml, setup.cfg and __init__.py #39

Open
wbjeon2k wants to merge 1 commit intoEugenHotaj:masterfrom
wbjeon2k:master
Open

UPD : Added pyproject.toml, setup.cfg and __init__.py #39
wbjeon2k wants to merge 1 commit intoEugenHotaj:masterfrom
wbjeon2k:master

Conversation

@wbjeon2k
Copy link
Copy Markdown

Dear EugenHotaj,

Hello EugenHotaj, I appreciate your work. Thank you for sharing this repository.

I added pyproject.toml , setup.cfg , and __init__.py files
to enable pip install and easier access to models.

As these files were written for the minimum working example,
you may have to revise some of the information in those files.

Thank you.

Copy link
Copy Markdown
Owner

@EugenHotaj EugenHotaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @wbjeon2k for adding!

@@ -0,0 +1 @@
# empty __init__.py for easier access to models No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the models are already importable with pytorch_generative.models.<model-name>. Is that not working for you?

Comment thread setup.cfg
@@ -0,0 +1,33 @@
; modified from example https://xebia.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe get rid of the comments in this file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants