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

django_money-0.13.3-py2.py3-none-any.whl is broken, no commands directory included #412

Closed
77cc33 opened this issue May 18, 2018 · 7 comments
Labels

Comments

@77cc33
Copy link

77cc33 commented May 18, 2018

Hello,

I have in INSTALLED_APPS both apps

    'djmoney',
    'djmoney.contrib.exchange',

But I don't see update_rates management commands, whenever I can easily update_rates() by calling this function from the code, and it works fine.

Could you say where to look?

Python 3.6.5 Windows 10

@77cc33
Copy link
Author

77cc33 commented May 18, 2018

Seems WHL package is broken, there is no /djmoney/contrib/exchange/management/commands/ directory.

320e406a750cd7149f4132802f5544cf ./django_money-0.13.3-py2.py3-none-any.whl

Archive:  django_money-0.13.3-py2.py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
       96  2018-05-12 14:49   djmoney/__init__.py
     1803  2018-05-12 14:37   djmoney/_compat.py
      974  2018-05-12 13:18   djmoney/admin.py
      396  2018-05-12 13:18   djmoney/apps.py
     3122  2018-05-12 14:49   djmoney/money.py
     2085  2018-05-12 13:18   djmoney/serializers.py
     1509  2018-05-12 14:37   djmoney/settings.py
     1098  2018-05-12 13:18   djmoney/utils.py
       24  2018-05-12 13:18   djmoney/contrib/__init__.py
       85  2018-05-12 13:18   djmoney/contrib/django_rest_framework/__init__.py
     1402  2018-05-12 13:18   djmoney/contrib/django_rest_framework/fields.py
        0  2018-05-12 14:37   djmoney/contrib/exchange/__init__.py
      383  2018-05-12 14:37   djmoney/contrib/exchange/admin.py
       83  2018-05-12 14:37   djmoney/contrib/exchange/exceptions.py
     2542  2018-05-12 14:37   djmoney/contrib/exchange/models.py
      104  2018-05-12 14:37   djmoney/contrib/exchange/backends/__init__.py
     2077  2018-05-12 14:37   djmoney/contrib/exchange/backends/base.py
      548  2018-05-12 14:37   djmoney/contrib/exchange/backends/fixer.py
      688  2018-05-12 14:37   djmoney/contrib/exchange/backends/openexchangerates.py
        0  2018-05-12 14:37   djmoney/contrib/exchange/management/__init__.py
      705  2018-05-12 14:37   djmoney/contrib/exchange/management/base.py
     1224  2018-05-12 14:37   djmoney/contrib/exchange/migrations/0001_initial.py
        0  2018-05-12 14:37   djmoney/contrib/exchange/migrations/__init__.py
       85  2018-05-12 13:18   djmoney/forms/__init__.py
     4141  2018-05-12 13:18   djmoney/forms/fields.py
      752  2018-05-12 13:18   djmoney/forms/widgets.py
      125  2018-05-12 13:18   djmoney/models/__init__.py
    11729  2018-05-12 14:37   djmoney/models/fields.py
     9372  2018-05-12 13:18   djmoney/models/managers.py
     1412  2018-05-12 14:37   djmoney/models/validators.py
       24  2018-05-12 13:18   djmoney/templatetags/__init__.py
     3443  2018-05-12 13:18   djmoney/templatetags/djmoney.py
        8  2018-05-12 14:52   django_money-0.13.3.dist-info/top_level.txt
      110  2018-05-12 14:52   django_money-0.13.3.dist-info/WHEEL
     1230  2018-05-12 14:52   django_money-0.13.3.dist-info/METADATA
     3167  2018-05-12 14:52   django_money-0.13.3.dist-info/RECORD
---------                     -------
    56546                     36 files

After installing package directly from git, everything is fine.

@77cc33 77cc33 changed the title No management commands on Windows 10 django_money-0.13.3-py2.py3-none-any.whl is broken, no commands directory included May 18, 2018
@Stranger6667
Copy link
Collaborator

Hi @77cc33 !
Thank you for reporting this issue, I'll fix it today. We got to use find_packages instead of manual listing

@benjaoming
Copy link
Contributor

0.13.4 is released with the fix, thanks @77cc33 !

@benjaoming
Copy link
Contributor

Also it doesn't work because there's no djmoney/__init__.py file.

This wasn't detected in the previous tox setup because of usedevelop which I fixed in #410 @Stranger6667 :)

@benjaoming
Copy link
Contributor

Fixed and released 0.13.5 #417

@77cc33
Copy link
Author

77cc33 commented May 19, 2018

@benjaoming thanks now management commands work for me

[exchange]
    clear_rates
    update_rates

@benjaoming
Copy link
Contributor

Thanks for verifying @77cc33 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants