Skip to content

Instantly share code, notes, and snippets.

@mjumbewu
Last active November 2, 2016 17:22
Show Gist options
  • Save mjumbewu/5f6b354560beb0ad7e448ed61ffddb59 to your computer and use it in GitHub Desktop.
Save mjumbewu/5f6b354560beb0ad7e448ed61ffddb59 to your computer and use it in GitHub Desktop.
Setup.py Documentation and Resources

Resources for Distributing Python Tools

When trying to figure out how to structure your Python tool for distribution, it can be difficult to get started. This represents a set of writings that I stumbled across, or that others have pointed me to, that I think would use as chapters in a setup.py book.

Preface

Getting started

  • How to Package Your Python Code - https://python-packaging.readthedocs.io/en/latest/index.html

    A good introduction to packaging with Python. Goes over dependencies, tests, and simple scripts. Doesn't go into a lot of depth, particularly around dependency specification, but it does cover a good breadth of information.

Digging Deeper

A few sources have been written up to touch on custom subcommands, but they don't contain much depth at all. Still, they provide good starting places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment