Skip to content

Commit

Permalink
Upload to the Python Package Index
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Feb 17, 2012
1 parent 875b343 commit b77f267
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,3 +1,5 @@
*.pyc
GithubCredentials.py
.coverage
/dist
/MANIFEST
19 changes: 19 additions & 0 deletions CheeseShopDescription.rst
@@ -0,0 +1,19 @@
Tutorial
========

First create a Gihub instance::

from github import Github

g = Github( "user", "password" )

Then play with your Github objects::

for repo in g.user().get_repos():
print repo.name
repo.edit( has_wiki = False )

Reference documentation
=======================

See https://github.com/jacquev6/PyGithub/blob/master/Reference.md
12 changes: 9 additions & 3 deletions ReadMe.md
@@ -1,5 +1,11 @@
This is a Python library to access the [Gitub API v3](http://developer.github.com/v3).

Download and install
====================

This package is in the [Python Package Index](http://pypi.python.org/pypi/PyGithub).
You can also clone it on [Github](http://github.com/jacquev6/PyGithub).

Tutorial
========

Expand All @@ -11,9 +17,9 @@ First create a Gihub instance:

Then play with your Github objects:

for repository in g.user().get_repositories():
print repository.name
repository.edit( has_wiki = False )
for repo in g.user().get_repos():
print repo.name
repo.edit( has_wiki = False )

Reference documentation
=======================
Expand Down
25 changes: 25 additions & 0 deletions setup.py
@@ -0,0 +1,25 @@
#!/usr/bin/env python

from distutils.core import setup

setup(
name = 'PyGithub',
version = '0.1-beta',
description = 'Use the full Github API v3',
author = 'Vincent Jacques',
author_email = 'vincent@vincent-jacques.net',
url = 'http://github.com/jacquev6/PyGithub',
long_description = open( "CheeseShopDescription.rst" ).read(),
packages = [
'github'
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development",
],
)

0 comments on commit b77f267

Please sign in to comment.