[Checkins] SVN: zc.authorizedotnet/trunk/s Added a setup.py.

Albertas Agejevas alga at pov.lt
Wed Oct 4 14:31:54 EDT 2006


Log message for revision 70538:
  Added a setup.py.
  

Changed:
  A   zc.authorizedotnet/trunk/setup.py
  A   zc.authorizedotnet/trunk/src/zc/__init__.py

-=-
Added: zc.authorizedotnet/trunk/setup.py
===================================================================
--- zc.authorizedotnet/trunk/setup.py	2006-10-04 17:38:10 UTC (rev 70537)
+++ zc.authorizedotnet/trunk/setup.py	2006-10-04 18:31:53 UTC (rev 70538)
@@ -0,0 +1,31 @@
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+name = "zc.authorizedotnet"
+setup(
+    name = name,
+    version = "1.0",
+    author = "Zope Corporation",
+    author_email = "zope3-dev at zope.org",
+    description = "A simple interface to Authorize.Net's AIM API",
+    long_description=read('src', 'zc', 'authorizedotnet', 'README.txt'),
+    license = "ZPL 2.1",
+    keywords = "credit card authorize.net CC AIM",
+    url='http://svn.zope.org/zc.authorizedotnet',
+
+    packages = ['zc', 'zc.authorizedotnet'],
+    package_dir = {'': 'src'},
+    namespace_packages = ['zc'],
+    install_requires = ['M2Crypto'],
+    include_package_data = True,
+    tests_require = ['zope.testing', 'zope.testbrowser', 'BeautifulSoup'],
+    test_suite = name+'.tests.test_suite',
+    classifiers = [
+       'Intended Audience :: Developers',
+       'License :: OSI Approved :: Zope Public License',
+       'Topic :: Software Development :: Libraries :: Python Modules',
+       ],
+    )


Property changes on: zc.authorizedotnet/trunk/setup.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: zc.authorizedotnet/trunk/src/zc/__init__.py
===================================================================
--- zc.authorizedotnet/trunk/src/zc/__init__.py	2006-10-04 17:38:10 UTC (rev 70537)
+++ zc.authorizedotnet/trunk/src/zc/__init__.py	2006-10-04 18:31:53 UTC (rev 70538)
@@ -0,0 +1,5 @@
+try:
+    __import__('pkg_resources').declare_namespace(__name__)
+except:
+    # bootstrapping
+    pass


Property changes on: zc.authorizedotnet/trunk/src/zc/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Checkins mailing list