Skip to content

Conversation

@donald
Copy link
Collaborator

@donald Donald Buczek (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 Paul Menzel (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

It doesn’t use the agreed upon template, so I let Thomas Kreitler (@thomas) and Peter Marquardt (@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

They had their chance.

@pmenzel Paul Menzel (pmenzel) merged commit 3727b56 into master Jan 20, 2017
@donald Donald Buczek (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.

2 participants