Automatic Script Creation - how to include scoop

18 views
Skip to first unread message

Serge Vilvovsky

unread,
Aug 20, 2018, 1:00:41 PM8/20/18
to scoop-users
Hello,

I am creating the script using the next setup:

#!/usr/bin/env python

import os


from setuptools import setup, find_packages


setup(name='deap_test',

      version='0.1.0',

      description='Testing DEAP multiprocessing',

      author='Serge',

      classifier=['Private :: Do Not Upload'],

      license="This software is provided on an As-Is basis.",

      entry_points={

          'console_scripts': [

              'deaptest = deap_test.__main__:main'

          ]

      },

      package_dir={'deap_test': 'deap_test'},

      package_data={'': [os.path.join('resources', '*'), os.path.join('resources', '.*')]},

      packages=find_packages(exclude=['tests', '*.tests', '*.tests.*']),

      install_requires=[

        'deap==1.0.2',

        'scoop'

      ],

)


It works, but does not run "-m scoop", so no parallel processing are running.


I am looking how to add "-m scoop" to the setup.


Thank you,

Serge

Derek Tishler

unread,
Aug 25, 2018, 7:21:04 PM8/25/18
to scoop-users
Reply all
Reply to author
Forward
0 new messages