Commits

Gora Khargosh committed f5f9176

Adds basic infrastructure files.

Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>

  • Participants
  • Parent commits 5e1eb10

Comments (0)

Files changed (6)

+Contributors:
+-------------
+Yesudeep Mangalapilly   <yesudeep@gmail.com>
+Trevor Perrin           <website@trevp.net>
+Rick Copeland           <rcopeland@geek.net>
+Arne Roomann-Kurrik     <kurrik@gmail.com>
+Barry Warsaw            <barry@python.org>
+Bill Janssen            <janssen@parc.com>
+Ilya Etingof            <ilya@glas.net>
+Facebook
+Google
+Copyright (C) 2011 Yesudeep Mangalapilly <yesudeep@gmail.com>
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may
+not use this file except in compliance with the License. You may obtain
+a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+include README
+include LICENSE
+include AUTHORS
+recursive-include mom *.py
+include docs/*.txt
+include docs/*.xml
+include docs/Makefile
+include docs/make.bat
+recursive-include docs/source *
+Mother of all our Python projects—batteries Python should have had baked
+right into it.
+
+Please visit: http://gorakhargosh.github.com/mom/ for more information.
+q

File mom/security/codec/pem/x509.py

 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
+# Copyright (C) 2010 Google Inc.
 # Copyright (C) 2011 Yesudeep Mangalapilly <yesudeep@gmail.com>
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
         """
         Extracts the RSA modulus and exponent from a RSA public key bit string.
 
+        :author: Arne Roomann-Kurrik     <kurrik@gmail.com>
         :param public_key_bitstring:
             ASN.1 public key bit string.
         :returns:
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+"""
+Python module that implements a few utilities used throughout our
+code base to avoid duplication in multiple projects.
+
+More information at http://github.com/gorakhargosh/mom
+"""
+
+from setuptools import setup
+
+setup(
+    name="mom",
+    version="0.0.1",
+    license="Apache Software License 2.0",
+    url="http://github.com/gorakhargosh/mom",
+    description="Python utility library.",
+    long_description=__doc__,
+    author="Yesudeep Mangalapilly",
+    author_email="yesudeep@gmail.com",
+    zip_safe=True,
+    platforms="any",
+    packages=["mom"],
+    include_package_data=True,
+    install_requires=[
+        "PyCrypto >=2.3",
+        "pyasn1 >=0.0.13b",
+        # "simplejson",  # For python 2.5
+    ],
+    keywords=' '.join([
+        "python",
+        "utilities",
+    ]),
+    classifiers=[
+        "Development Status :: 2 - Pre-Alpha Development Status",
+        "Intended Audience :: Developers",
+        "License :: OSI Approved :: Apache Software License",
+        "Operating System :: OS Independent",
+        "Programming Language :: Python",
+        "Topic :: Software Development :: Libraries :: Python Modules",
+    ]
+)