Converting from setup.py and PBR to pyproject.toml

  • Post author:
  • Post category:Python

I make no claim to be an expert at this, but I did just need to convert a project from a slightly complicated setup.py / PBR configuration to pyproject.toml and thought I should write up where I landed. I say “slightly complicated” because there are a few very OpenStacky things I like to do in these things. Specifically:

  • version numbers are driven by git tags not hard coded in the configuration file.
  • console scripts are a thing.
  • I often include data files in the built package.

So here’s an example of all of those things that is working ok for me:

(more…)

Continue ReadingConverting from setup.py and PBR to pyproject.toml

The What-If-Microsoft-Did-The-iPod-Box video done by Microsoft

  • Post author:
  • Post category:Link

Microsoft spokesman Tom Pilla on Tuesday confirmed with iPod Observer that his company initiated the creation of the iPod packaging parody video that was first reported last month. "It was an internal-only video clip commissioned by our packaging [team] to humorously highlight the challenges we have faced RE: packaging and to educate marketers here about the pitfalls of packaging/branding," he said via e-mail.

Continue ReadingThe What-If-Microsoft-Did-The-iPod-Box video done by Microsoft

End of content

No more pages to load