🌐 AI搜索 & 代理 主页
Skip to content

Commit 1eccede

Browse files
committed
Setup repo for PyPI distribution
1 parent 3d5f848 commit 1eccede

File tree

4 files changed

+55
-21
lines changed

4 files changed

+55
-21
lines changed

README.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
=========
2+
coderwall
3+
=========
4+
5+
A Python module for accessing user data at http://coderwall.com
6+
7+
Installation
8+
------------
9+
10+
This module is available in the `Python Package Index <http://pypi.python.org/pypi/coderwall>`_ and can be installed easily with ``pip`` or ``easy_install``::
11+
12+
pip install coderwall
13+
14+
Usage
15+
-----
16+
17+
All functionality is accessed through the ``CoderWall`` class::
18+
19+
>>> from coderwall import CoderWall
20+
>>> cwc = CoderWall('cwc')
21+
>>> cwc.name
22+
u'Cameron Currie'
23+
>>> cwc.location
24+
u'Austin, TX'
25+
>>> cwc.endorsements
26+
0
27+
>>> cwc.badges
28+
[Charity: Fork and commit to someone's open source project in need,
29+
Python: Would you expect anything less? Have at least one original repo
30+
where Python is the dominant language, T-Rex: Have at least one original
31+
repo where C is the dominant language]

README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.rst

setup.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
from distutils.core import setup
2+
3+
setup(
4+
name='coderwall',
5+
version='1.0.0',
6+
author='Cameron Currie',
7+
author_email='me@cameroncurrie.net',
8+
url='http://github.com/cwc/coderwall-python',
9+
description='A Python module for accessing user data at http://coderwall.com',
10+
long_description=open('README.txt').read(),
11+
license='MIT',
12+
classifiers=[
13+
'Programming Language :: Python',
14+
'Programming Language :: Python :: 2.6',
15+
'Programming Language :: Python :: 3',
16+
'Development Status :: 5 - Production/Stable',
17+
'License :: OSI Approved :: MIT License',
18+
'Operating System :: OS Independent',
19+
'Intended Audience :: Developers',
20+
'Topic :: Software Development :: Libraries :: Python Modules'
21+
],
22+
py_modules=['coderwall']
23+
)

0 commit comments

Comments
 (0)