pony_up icon indicating copy to clipboard operation
pony_up copied to clipboard

Can't find init file when i use pip to install the package

Open littleboy12580 opened this issue 7 years ago • 3 comments

after doing command pip install pony_up i find that the __init__.py file has gone because of that i can't import the package

littleboy12580 avatar Jun 08 '17 09:06 littleboy12580

@littleboy12580 Here is how I got around that.

from pony_up.do_update import do_all_migrations

do_all_migrations(bind_func, folder_path=migrations_folder, python_import=python_import)

If you look in the projects __init__.py file it is importing do_all_migrations as migrate.

penkin avatar Dec 18 '18 10:12 penkin

I should totally have a look at that.

luckydonald avatar Feb 21 '20 23:02 luckydonald

I'm not sure if that means that file is missing on the pip package?

luckydonald avatar Jan 12 '22 14:01 luckydonald