Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add __init__ for setup #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

wangming1993
Copy link

@wangming1993 wangming1993 commented Jun 15, 2022

Add init file to folder, that can use python setup tool distributed.
For example, I can call core.util in my python code, when I build E2FGVI as a module

import setuptools

setuptools.setup(
    name='e2fgvi',
    version='1.0',
    description='An End-to-End Framework for Flow-Guided Video Inpainting',
    url='https://github.com/MCG-NKU/E2FGVI', 
    packages = setuptools.find_packages('./')
)

So that I can use like that:

from E2FGVI.core.utils import to_tensors

@wangming1993
Copy link
Author

wangming1993 commented Jun 15, 2022

@Paper99 pls take a look, thx

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.

1 participant