1. Atsushi Odagiri
  2. python-connpass

Commits

Atsushi Odagiri  committed bafad64 Draft

prep for 0.1

  • Participants
  • Parent commits e1596f4
  • Branches default
  • Tags release-0.1

Comments (0)

Files changed (4)

File CHANGES.txt

View file
+CHANGES
+------------------
+
+0.1 (2013-03-20)
+++++++++++++++++++++++
+
+- first release

File MANIFEST.in

View file
+include CHANGES.txt

File README.txt

View file
 Introduction
 ======================
 
+.. image:: https://drone.io/bitbucket.org/aodag/python-connpass/status.png
+
 `connpass API <http://connpass.com/about/api/>`_
 
 INSTALL
 ------------------
 
+::
+
+  $ pip install python-connpass
+
+or
+
+::
+
+  $ easy_install python-connpass
+
 
 API
 -------------------
 
+Now, connpass has one API.
+
 - event search http://connpass.com/api/v1/event/
+
+example::
+
+  connpass = Connpass()
+  results = connpass.search(event_id=[364])
+
+Command
+-----------------------------
+
+::
+
+   usage: connpass [-h] [--event-id [EVENT_ID [EVENT_ID ...]]]
+                   [--keyword [KEYWORD [KEYWORD ...]]]
+                   [--keyword-or [KEYWORD_OR [KEYWORD_OR ...]]]
+                   [--ym [YM [YM ...]]] [--ymd [YMD [YMD ...]]]
+                   [--nickname [NICKNAME [NICKNAME ...]]]
+                   [--owner-nickname [OWNER_NICKNAME [OWNER_NICKNAME ...]]]
+                   [--series-id [SERIES_ID [SERIES_ID ...]]] [--start START]
+                   [--count COUNT] [--format {json}]
+   
+   optional arguments:
+     -h, --help            show this help message and exit
+     --event-id [EVENT_ID [EVENT_ID ...]]
+     --keyword [KEYWORD [KEYWORD ...]]
+     --keyword-or [KEYWORD_OR [KEYWORD_OR ...]]
+     --ym [YM [YM ...]]
+     --ymd [YMD [YMD ...]]
+     --nickname [NICKNAME [NICKNAME ...]]
+     --owner-nickname [OWNER_NICKNAME [OWNER_NICKNAME ...]]
+     --series-id [SERIES_ID [SERIES_ID ...]]
+     --start START
+     --count COUNT
+     --format {json}

File setup.py

View file
 from setuptools import setup, find_packages
+import os
+
+__version__ = "0.1"
+here = os.path.dirname(__file__)
 
 requires = [
     "requests",
     ]
 }
 
+readme = open(os.path.join(here, 'README.txt')).read()
+changes = open(os.path.join(here, 'CHANGES.txt')).read()
+
 setup(name="python-connpass",
+      version=__version__,
       description="connpass client",
+      long_description=readme+"\n"+changes,
+      url="https://bitbucket.org/aodag/python-connpass",
+      author="Atsushi Odagiri",
+      author_email="aodagx@gmail.com",
+      classifiers=[
+          "Development Status :: 3 - Alpha",
+          "Environment :: Console",
+          "Intended Audience :: Developers",
+          "License :: OSI Approved :: MIT License",
+          "Programming Language :: Python :: 2.6",
+          "Programming Language :: Python :: 2.7",
+          "Programming Language :: Python :: 3",
+          "Programming Language :: Python :: 3.2",
+          "Programming Language :: Python :: 3.3",
+          "Programming Language :: Python :: Implementation :: CPython",
+          "Programming Language :: Python :: Implementation :: PyPy",
+          "Topic :: Internet :: WWW/HTTP",
+          "Topic :: Software Development :: Libraries",
+      ],
       install_requires=requires,
       tests_require=tests_require,
-      setup_requires=["hgtools"],
       extras_require={
           "testing": tests_require,
           },
       packages=find_packages("src"),
       package_dir={"": "src"},
-      use_hg_version=True,
       entry_points=points,
+      license='MIT',
   )