elky / django-flat-theme

A flat theme for Django admin interface. Modern, fresh, simple.
Other
413 stars 45 forks source link

ValueError: bad marshal data (unknown type code) #24

Closed Cykooz closed 9 years ago

Cykooz commented 9 years ago

Please, do not use in the MANIFEST.in instructions that's like this:

recursive-include flat *

In this case, all files will be included into the package distribution. For example, such as the files: *.pyc, .DS_Store. Because of this, when I installed this package with the following command:

easy_install django-flat-theme

I got an error:

Traceback (most recent call last):
...
  File "/home/.../setuptools-18.2-py3.4.egg/setuptools/command/bdist_egg.py", 
line 391, in scan_module
ValueError: bad marshal data (unknown type code)

It is best to explicitly specify the file extensions to be included in the distribution. For example:

recursive-include flat *.py *.html *.css *.js
elky commented 9 years ago

@Cykooz Just updated package to 1.1.1. Can you test it now, please?

Cykooz commented 9 years ago

Thank you, it works now.