Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

huramba/python-setup-template

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 

Repository files navigation

README

This is what I use to package up Python (mostly Django apps) packages.

Usage

  • git clone https://paltman@github.com/paltman/python-setup-template.git
  • cd your-project-directory
  • Make sure your package is not at the root of your project directory (e.g. your-project-directory/your_package)
  • cp -r ../python-setup-template/* .
  • Doing this you should end up with a setup.py and docs/ as peers to your your_package directory.
  • Edit the docs/Makefile and change the name of the PROJECT variable to match your package name.
  • Edit the docs/conf.py and set the different variables to the approprate values.
  • Write your documentation you can use the provided stubs, but they are mostly what I use to document Django apps so I leave them in here.

About

a place to copy and paste a new setup.py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.