Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Building packages with long term support

Project Description

Building packages with long term support

At it simplest, a Python package is a mere directory with a ‘__init__.py’ file in it. However, this basic structure needs to be augmented as soon as more functionality is required: i.e. create a distribution, write a comprehensive documentation, run some tests. With time the structure of a package grows and include more and more description files (e.g. setup.py, .gitignore, …).

The rationale behind the creation of this ‘package builder’ is to keep the life of a python programmer as easy as possible by providing two core functions:

  • a way to add more functionality to an existing package
  • a way to keep the package structure up to date with currently known best practices.

Quick start

Create a virtual environment for development:

$ virtualenv dvlpt

Activate it:

$ dvlpt/Scripts/activate

Install pkglts:

(dvlpt)$ pip install pkglts

Create a directory for your package:

(dvlpt)$ mkdir toto

Run ‘manage’ inside this directory:

(dvlpt)$ cd toto
(dvlpt)toto$ manage init
(dvlpt)toto$ manage add -opt base
(dvlpt)toto$ manage regenerate

This will create the bare basic minimum for a python package. Add more options (see Add Package Structure Functionality for more options) afterward.

Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.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
pkglts-0.1.2-py2.7.egg (111.2 kB) Copy SHA256 Checksum SHA256 2.7 Egg Oct 30, 2015
pkglts-0.1.2.zip (107.5 kB) Copy SHA256 Checksum SHA256 Source Oct 30, 2015

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