2016-04-19 13 views

Antwort

0

Ich hatte dieses Problem nie.

Hier ist ein Auszug aus meinem setup.py:

name='aenum', 
    version='2.0.2', 
    url='https://bitbucket.org/stoneleaf/aenum', 
    packages=['aenum'], 
    package_data={ 
     'aenum' : [ 
      'LICENSE', 
      'README', 
      'doc/aenum.rst', 
      'doc/aenum.pdf', 
      ] 
     }, 
    include_package_data=True, 
    license='BSD License', 
    description="Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants", 
    long_description=long_desc, 
    provides=['aenum'], 
    author='Ethan Furman', 
    author_email='...', 
    classifiers=[ 
     ... 
     ], 

und meine MANIFEST.in:

exclude aenum/* 
include setup.py 
include README 
include aenum/__init__.py 
include aenum/test.py 
include aenum/test_v3.py 
include aenum/LICENSE 
include aenum/CHANGES 
include aenum/README 
include aenum/doc/aenum.pdf 
include aenum/doc/aenum.rst 

Ich würde sagen, die exclude aenum/* ist, was der Trick für mich tut, so ist es wahrscheinlich für Sie ein exclude <package_name>/__pycache__ funktionieren würde, .