Skip to main content

Plants some git-related data into the .egg-info directory of a python package.

Project description

egggitinfo README

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.

Stores the name of the active git branch.

Stores a JSON object of git remotes, where the key is the name of the remote and the value is the url.

Project details

Release history Release notifications

This version


Download files

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

Files for egggitinfo, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size egggitinfo-0.1.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page