Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Plants some git-related data into the .egg-info directory of a python package.
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
MANIFEST.in
README.rst
egggitinfo.py
setup.py

README.rst

================
egggitinfo README
=================

Overview
========
This is a setuptools plugin that plants some git-related information into the .egg-info directory of a python package.  To setuptools this information is refered to as 'metadata'.  It is located in a file called 'git_info.txt', and can be retrieved using the from a Distribution object by calling the `get_metadata(name)` method.  The 'git_info.txt' file stores the following information in JSON format.

git_branch
----------
Stores the name of the active git branch.

git_remotes
-----------
Stores a JSON object of git remotes, where the key is the name of the remote and the value is the url.
Something went wrong with that request. Please try again.