Skip to content

scripts: Add script to init bee file for PyPi package #217

Merged
merged 1 commit into from
Jan 20, 2017

Conversation

donald
Copy link
Collaborator

@donald donald commented Nov 23, 2016

This script can be used to create a bee file for a python
package available from PyPi.

Howto:

  • Search for the package at https://pypi.python.org/pypi to get the
    latest version

  • Call the script with the package name and the version number.

    e.g.: scripts/init-pythonpackage PrettyTable 0.7.2

    Note, the case is not relevant in the package name.

    This will create a new bee file python-PKG-VER-0.be0.

  • Execute the bee file generated from the previous step

    e.g. : ./python-prettytable-0.7.2-0.be0

@pmenzel pmenzel changed the title scripts: Add script to init bee file for pypi package scripts: Add script to init bee file for PyPi package Nov 23, 2016
@pmenzel
Copy link
Collaborator

pmenzel commented Nov 23, 2016

It doesn’t use the agreed upon template, so I let @thomas and @wwwutz comment and merge.

mee_install() {
python setup.py install --root=\${D}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the blank line?

This script can be used to create a bee file for a python
package available from pypi.

Howto:

 * search for the package at https://pypi.python.org/pypi to get the
   latest version
 * call the script with the package name and the version number.

   e.g. : scripts/init-pythonpackage PrettyTable 0.7.2

   note: case is not relevant in the package name

   this will create a new bee file python-PKG-VER-0.be0

 * execute the bee file generated from the previous step

   e.g. : ./python-prettytable-0.7.2-0.be0
@pmenzel
Copy link
Collaborator

pmenzel commented Jan 20, 2017

They had their chance.

@pmenzel pmenzel merged commit 3727b56 into master Jan 20, 2017
@donald donald deleted the add-init-pythonpackage branch February 12, 2017 13:51
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants