无法使用 shub-image Running/deploying 自定义脚本

Not able Running/deploying custom script with shub-image

我对 Running/deploying 自定义脚本有问题 shub-image.

setup.py

from setuptools import setup, find_packages

setup(
    name = 'EU-Crawler',
    version = '1.0',
    packages = find_packages(),
    scripts = [
        'bin/launcher.py',
        'bin/DE_WEB_launcher.py',
        'bin/ES_WEB_launcher.py',
        'bin/FR_WEB_launcher.py',
        'bin/IT_WEB_launcher.py',
        'bin/NL_WEB_launcher.py',
        'bin/DE_MOBILE_launcher.py',
        'bin/FR_MOBILE_launcher.py'
    ],
    package_data = {
        'Crawling': ['*.ini'],
    },
    entry_points = {'scrapy': ['settings = Crawling.settings']},
    install_requires=[
        'scrapy-crawlera>=1.2.2',
        'configobj',
        'scrapy-fake-useragent',
        'xmltodict',
        'selenium==2.53.2',
        'python-dateutil',
        'pyvirtualdisplay',
        'beautifulsoup4',
        'incapsula-cracker-py3'
    ], 
    extras_require={'ScrapyElasticSearch': 'ScrapyElasticSearch[extras]'},
    zip_safe = False,
    include_package_data=True
)

在这个文件中我有

scripts = [
       'bin/launcher.py',
       'bin/DE_WEB_launcher.py',
       'bin/ES_WEB_launcher.py',
       'bin/FR_WEB_launcher.py',
       'bin/IT_WEB_launcher.py',
       'bin/NL_WEB_launcher.py',
       'bin/DE_MOBILE_launcher.py',
       'bin/FR_MOBILE_launcher.py'
   ],

我想发送给谁是我的异类

我用这个命令部署

sudo shub image upload --username [USERNAME] --password [PASSWORD]

在我使用 shub-image 版本 0.2.5 和 shub 版本 2.5.1 之前,我运行良好。

但是现在我用的是shub版本2.7.0(shub镜像现在是shub的一部分2.70+ ) 而且我无法部署我的脚本。

没有错误,我转移我的蜘蛛很好,但是没有 bin 文件夹中的文件 .

任何意见和建议将不胜感激

我回答我自己的问题。

为了解决问题,我切换到下面的版本,现在我用的是2.6.1版本,没有问题。

我仍然对 2.7 版有问题,但我认为这个答案会对某人有所帮助。