setuptools_git

setuptools_git is a plugin for Setuptools that enables Git integration.
Download

setuptools_git Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Yannick Gingras
  • Publisher web site:
  • http://ygingras.net/bioinfo

setuptools_git Tags


setuptools_git Description

setuptools_git is a plugin for Setuptools that enables Git integration. setuptools_git is a plugin for Setuptools that enables Git integration. Once installed, Setuptools can be told to include in a module distribution all the files tracked by git.setuptools_git is an alternative to explicit inclusion specifications with MANIFEST.in. This package was formerly known as gitlsfiles. The name change is the result of an effort by the setuptools plugin developers to provide a uniform naming convention. A package distribution here refers to a package that you create usingsetup.py, ex: python setup.py sdist python setup.py bdist_rpm python setup.py bdist_eggThis package was formerly known as gitlsfiles. The name change is theresult of an effort by the setuptools plugin developers to provide auniform naming convention.Installation:With easy_install: easy_install setuptools_gitAlternative manual installation: tar -zxvf setuptools_git-X.Y.Z.tar.gz cd setuptools_git-X.Y.Z python setup.py installWhere X.Y.Z is a version number.UsageTo activate this plugin, you must first package your python modulewith `setup.py` and use setuptools. The former is well documented inthe distutils manual: http://docs.python.org/dist/dist.htmlTo use setuptools instead of distutils, just edit `setup.py` andchange from distutils.core import setupto from setuptools import setupWhen setuptools builds a package, you can ask it to include all filestracked by your revision control system, by adding this argument toyour invocation of `setup()`: setup(..., include_package_data=True, ...)This will cause setuptools to include the files tracked by a revisioncontrol system that setuptools knows about. This plugin providessupport for git and setuptools ships with support for cvs andsubversion.It might happen that you track files with your revision control systemthat you don't want to include in your packages. In that case, youcan prevent setuptools from packaging those files with a directive inyour `MANIFEST.in`, ex: exclude .gitignore recursive-exclude images *.xcf *.blendIn this example, we prevent setuptools from packaging `.gitignore` andthe Gimp and Blender source files found under the `images` directory.Files to exclude from the package can also be listed in the `setup()`directive: setup(..., exclude_package_data = {'': , 'images': }, ...)What's New in This Release:· The documentation was improved.


setuptools_git Related Software