Upload to the Python Package Index

This commit is contained in:
Vincent Jacques
2012-02-17 19:35:02 +01:00
parent 875b34307b
commit b77f267749
4 changed files with 55 additions and 3 deletions
+2
View File
@@ -1,3 +1,5 @@
*.pyc
GithubCredentials.py
.coverage
/dist
/MANIFEST
+19
View File
@@ -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
+9 -3
View File
@@ -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
========
@@ -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
=======================
+25
View File
@@ -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",
],
)