Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

a minimalist Python module project (hint: it doesn't do anything)

Project Description

A stab at a minimalist repo supporting a single Python module. Spurned by <http://twitter.com/jessenoller/status/19853449226> (who still owes me a beer, BTW).

Q&A

# Why the “lib” subdir?

Allows nicer 3rd-party usage via ‘svn:externals’ – historically when I was using Subversion more. Allows one to put the “lib” dir on PYTHONPATH and not have the “setup.py” and other supportive “.py” files unintentional get on the import path. Separates the important code from the chaf.

# I want to use “README.md” for Markdown rendering on github.com

Then you’ll need to add a “MANIFEST.in” for “python setup.py sdist” to pick up the README file. It only picks up either “README” or “README.txt” by default.

# The “setup.py” is a little hefty

Fair enough, you could argue that. I’d welcome suggestions on paring that down. I’m a fan of importing the main module (here mpm) to be able to get the version from it. A static data file that supported specifying all this same info would be cool. I’m not up on latest latest Python packaging stuff to know if something like that has been proposed.

# What’s left TODO?

  • do I need to use setuptools in “setup.py” or will distutils do?
  • discuss
  • a good minimalist python-land module’s README should probably use reStructuredText, but I’m a Markdown fanboy
Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mpm-1.0.0.tar.gz (2.2 kB) Copy SHA256 Checksum SHA256 Source Jul 30, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting