-
Notifications
You must be signed in to change notification settings - Fork 13
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
Doesn't work well when package name doesn't match module name #48
Conversation
Ditto #49. |
Thanks for the issue :) |
I guess that works! Thanks. |
Ugh, it's still not right though.
|
I unfortunately still haven't been able to get this version to run at all. Its stalling on updating the version. __version__ = ''
__url__ = '' |
Ok, I'll fix up and test with your project. |
Either way, I think it makes more sense for app_name to be renamed module_name. # django_clickbank/ __init__.py
...
__package_name__ = 'django-clickbank'
# Changes
package_name = getattr(arguments['--package-name'], django_clickbank.__package_name__) Or perhaps the order could be --package-name > package_name > <module_name>/<app_name> |
Yeah, I actually think the best solution for this is to make them the same in your project 😉 |
|
I only say that, because different module and package names are pretty common. And the naming convention for django projects is django- |
Specify an alternate requirements file
Looking hopeful:
|
Claiming victory, let me know please @Sureiya. |
…atch Doesn't work well when package name doesn't match module name
Thanks, its working now. Its pausing on pushing tags though. How does sh need an explicit interactive mode? I think its failing because I'm using git http without any kind of autologin, so its basically freezing on auth without any output. I'm not sure if thats possible or easy to fix, so you may want to add to the docs that you need to be using ssh for git. |
Please paste me what happens when you try to install with the latest version? |
I can work on reproducing your use-case, but I'll definitely add that assumption to the docs. Thanks for contributing :) |
…atch Doesn't work well when package name doesn't match module name
Great tool! I'm running into this problem though.
Package name is django-clickbank but module is django_clickbank.
Sureiya/django-clickbank@e671358