Skip to content
This repository has been archived by the owner on Nov 25, 2017. It is now read-only.

Commit

Permalink
Initial project structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobian committed Jul 14, 2010
0 parents commit ddb4f6e
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
*.egg-info
*.pyc
.coverage
cover/
27 changes: 27 additions & 0 deletions LICENSE
@@ -0,0 +1,27 @@
Copyright (c) 2010 Jacob Kaplan-Moss
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of this project nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 3 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,3 @@
include README.rst
recursive-include docs *
recursive-include tests *
24 changes: 24 additions & 0 deletions README.rst
@@ -0,0 +1,24 @@
Django bindings to the Storymarket API
======================================

This library allows manual or automatic uploaded of Django objects to
`Stortmarket <http://storymarket.com/>`_.

You'll need a Storymarket account to use this library, and you'll need to
generate an API token by visiting the
`Developer API page <http://storymarket.com/users/api/>`_.

Usage
-----

TODO

Contributing
------------

Development takes place
`on GitHub <http://github.com/jacobian/django-storymarket>`_; please file
bugs/pull requests there.

Development on this project was funded by the
`Lawrence Journal-World <http://ljworld.com/>`_ - thanks!
14 changes: 14 additions & 0 deletions setup.cfg
@@ -0,0 +1,14 @@
[nosetests]
with-coverage = true
cover-package = django_storymarket
cover-html = true
cover-erase = true
cover-inclusive = true

[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1

[upload_sphinx]
upload-dir = docs/_build/html
31 changes: 31 additions & 0 deletions setup.py
@@ -0,0 +1,31 @@
import os
import sys
from setuptools import setup, find_packages

def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
name = "django-storymarket",
version = "1.0",
description = "Upload content stored in Django models to Storymarket.",
long_description = read('README.rst'),
url = 'http://packages.python.org/django-storymarket',
license = 'BSD',
author = 'Jacob Kaplan-Moss',
author_email = 'jacob@jacobian.org',
packages = find_packages(exclude=['tests']),
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
install_requires = ['django >= 1.2', 'python-storymarket'],
tests_require = ["mock"],
test_suite = "django_storymarket.runtests.runtests",
)

0 comments on commit ddb4f6e

Please sign in to comment.