Commits

hideki nara committed b3a82b8

Initial Commit

Comments (0)

Files changed (13)

+*.pyc$
+*.pyo$
+*.swp$
+.egg-info
+docs/build/
+build
+dist
+\.pyc$
+\.pyo$
+\.swp$
+.egg-info
+^docs/build/
+build
+dist
+jose Authors and Contributors
+------------------------------------------------------------------------
+jose has been developed by:
+
+ * hdknr < gmail [at] hdknr.com >, Lafoglia,Inc
+
+The following people have contributed to this project in one way or another:
+
+*
+========================================================================
+**jose** Installation Instructions
+========================================================================
+
+This section contains information about 
+how to download and install **jose ** in your system. 
+It also contains brief instructions about how
+to build the included documentation.
+
+Requirements
+============
+
+Detailed information about the minimum supported Python modules
+ that may be required in order to run this software is shown below:
+
+.. literalinclude:: ../requirements.txt
+
+This information exists in the ``requirements.txt`` file 
+inside the ** jose ** distribution package. 
+If ``pip`` is used to install this software,
+then all these dependencies will also be installed, 
+if they are not already installed in your system.
+
+
+Soruce
+========
+
+Got to Bitubucket.org.
+
+URL is https://bitbucket.org/hdknr/jose
+
+
+Install
+=======
+
+To install **jose** from soruce code, use the provided installation script::
+
+    python setup.py install
+
+
+Or it is also possible to install this application directly from
+the `source code repository`_ using ``pip``::
+
+    pip install -e hg+https://bitbucket.org/hdknr/jose
+
+The above command will install the latest development release of **jose**.
+
+
+How to build the documentation
+==============================
+
+This project's documentation is located in source form under the ``docs``
+directory. In order to convert the documentation to a format that is
+easy to read and navigate you need the ``sphinx`` package.
+
+You can install ``sphinx`` using ``pip``::
+
+    pip install sphinx
+
+Or ``easy_install``::
+
+    easy_install sphinx
+
+Once ``sphinx`` is installed, change to the ``docs`` directory, open a shell
+and run the following command::
+
+    make html
+
+This will build a HTML version of the documentation. You can read the
+documentation by opening the following file in any web browser::
+
+    docs/_build/html/index.html
+Copyright 2012 Hideki Nara. 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.
+
+THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ''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 <COPYRIGHT HOLDER> 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.
+
+The views and conclusions contained in the software and documentation are those of the
+authors and should not be interpreted as representing official policies, either expressed
+or implied, of Hideki Nara.
+include AUTHORS
+include INSTALL
+include LICENSE
+include NOTICE
+include README
+include MANIFEST.in
+include requirements.txt
+include setup.cfg
+include setup.py
+recursive-include src/jose *.py *.json *.mo *.po *.html
+graft docs
+This product includes software developed at:
+
+* hdknr
+* Lafoglia,Inc
+
+Copyright 2012  Hideki Nara
+
+Brand names include, but are not limited to:
+
+* jose
+
+this software without prior written permission of Hideki Nara.
+
+For license information, please read the LICENSE file.
+jose
+========================================================================
+
+under development.
+project : jose
+name    : hdknr
+profile : library
+fullname : Hideki Nara
+mail_user : gmail
+mail_domain  : hdknr.com
+company :   Lafoglia,Inc
+year : 2012
+Sphinx
+[install]
+optimize = 1
+
+[bdist_rpm]
+doc_files = AUTHORS LICENSE NOTICE README docs
+group = Development/Libraries
+
+[build_sphinx]
+source-dir = docs/
+all_files  = 1
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  This file is part of jose
+#
+#  mand is a Django based management interface for MySQL users and databases.
+#
+#  Copyright 2012 Hideki Nara
+#
+#  Licensed under the Simplified BSD License;
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#      http://www.freebsd.org/copyright/freebsd-license.html
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+#  NOTES
+#
+#  Create source distribution tarball:
+#    python setup.py sdist --formats=gztar
+#
+#  Create binary distribution rpm:
+#    python setup.py bdist --formats=rpm
+#
+#  Create binary distribution rpm with being able to change an option:
+#    python setup.py bdist_rpm --release 7
+#
+#  Test installation:
+#    python setup.py install --prefix=/usr --root=/tmp
+#
+#  Install:
+#    python setup.py install
+#  Or:
+#    python setup.py install --prefix=/usr
+#
+
+import sys
+import os
+sys.path.insert(0, os.path.abspath('src'))
+
+from setuptools import setup
+
+# - Meta Info
+
+from jose import get_version
+
+NAME='jose'
+DESCRIPTION=''
+PACKAGES=['jose',]
+SCRIPTS=[ ]
+try:
+    INSTALL_REQUIRES=[ r for r in open('requirements.txt').read().split('\n') if len(r)>0]
+except:
+    INSTALL_REQUIRES=[] 
+
+# - readme
+
+def read(fname):
+    """Utility function to read the README file."""
+    return open(os.path.join(os.path.dirname(__file__), fname)).read()
+
+if __name__=='__main__':
+    setup(
+        name = NAME,
+        version = get_version(),
+        license = 'Simplfied BSD License',
+        author = 'Hideki Nara',
+        author_email = 'gmail [at] hdknr.com',
+        maintainer = 'Hideki Nara',
+        maintainer_email = 'gmail [at] hdknr.com',
+        url = 'https://bitbucket.org/hdknr/jose',
+        description = 'jose is a _______________________.',
+        long_description = read('README'),
+        download_url = 'https://bitbucket.org/hdknr/jose',
+        platforms=['any'],
+        classifiers = [
+            'Development Status :: 4 - Beta',
+            'Environment :: Web Environment',
+            'Intended Audience :: Developers',
+            'License :: OSI Approved :: Simplifed BSD License',
+            'Natural Language :: English',
+            'Operating System :: OS Independent',
+            'Programming Language :: Python',
+            'Topic :: Software Development :: Libraries :: Application Frameworks',
+            'Topic :: Software Development :: Libraries :: Python Modules',
+        ],
+        package_dir = {'': 'src'},
+        packages = PACKAGES,
+        include_package_data = True,
+        zip_safe = False,
+        scripts=SCRIPTS,
+        install_requires=INSTALL_REQUIRES,
+    )

src/jose/__init__.py

+# -*- coding: utf-8 -*-
+#
+VERSION = (0, 1, 1, 'alpha', 0)
+
+def get_version():
+    version = '%d.%d.%d' % (VERSION[0], VERSION[1], VERSION[2])
+    return version