You can find setup.yaml file at asciiart folder in which main code __init__.py exists.
This YAML file looks like:
setup:
author: Your Name
author_email: yourname@your-company
classifiers:
- 'Operating System :: MacOS :: MacOS X'
- 'Operating System :: Microsoft :: Windows :: Windows 10'
- 'Operating System :: POSIX :: Linux'
- 'License :: Other/Proprietary License'
- 'Natural Language :: English'
- 'Programming Language :: Python :: 3.7'
- 'Topic :: Text :: AsciiArt'
description: ARGOS-LABS RPA plugin module for ASCII art
keywords:
- ascii
- art
- text
- figlet
license: ARGOS-LABS Proprietary License
platforms:
- Mac
- Windows
- Linux
package_data:
argoslabs.myplugin.asciiart: ['icon.*', 'README*.*']
url: https://www.argos-labs.com
version: 3.202.3300This yaml is almost silimar with the setup.py. Each iterms explained as follows:
author- Name of the plugin builderauthor_email- email for the plugin builderclassifiers- python modules classifiersdescription- description for this pluginkeywords- Tags or keywords for this plugin. This tags are used for searching at operation atSTU.license- License of this pluginplatforms- Supporting OS platformspackage_data- Please make sure the package name is the plugin's package name, in this example
argoslabs.myplugin.asciiart - Next list is the additional files which included at
wheelmodule file. You have to addicon.pngfile for the icon ofSTUoperation, andREADME*.*files for help contents
- Please make sure the package name is the plugin's package name, in this example
version- plugin's version
Note - There are three parts in the template for Python package name to change
argoslabs.demo.helloworldto your'sargoslabs.myplugin.asciiartin this example.
- At the file
plugin-template\argoslabs\myplugin\asciiart\setup.yaml:
argoslabs.demo.helloworld: ['icon.*', 'README*.*']Change from above line to next lineargoslabs.myplugin.asciiart: ['icon.*', 'README*.*']- At the file
plugin-template\argoslabs\myplugin\asciiart\main.py:
from argoslabs.demo.helloworld import mainChange from above line to next linefrom argoslabs.myplugin.asciiart import main- At the file
plugin-template\argoslabs\myplugin\asciiart\tests\test_me.py:
from argoslabs.demo.helloworld import _main as mainChange from above line to next linefrom argoslabs.myplugin.asciiart import _main as mainSometimes import statements can be changed automatically by refectoring functionality at main.py or test_me.py but sometimes not. So before building all be sure to checking above three references.
