changeset 6:29b36a390857

add some bogus packages ill need for da test
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 08 Jul 2011 10:52:53 -0700
parents 7ea2b5f12b2d
children 111ffe84f66a
files tests/packageA/packageA.py tests/packageA/setup.py tests/packageB/packageB.py tests/packageB/setup.py
diffstat 4 files changed, 108 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/packageA/packageA.py	Fri Jul 08 10:52:53 2011 -0700
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+
+"""
+packageA
+"""
+
+import sys
+from optparse import OptionParser
+
+def main(args=sys.argv[1:]):
+
+    # parse command line arguments
+    usage = '%prog [options] ...'
+    parser = OptionParser(usage=usage, description=__doc__)
+    options, args = parser.parse_args(args)
+
+if __name__ == '__main__':
+    main()
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/packageA/setup.py	Fri Jul 08 10:52:53 2011 -0700
@@ -0,0 +1,35 @@
+import os
+from setuptools import setup
+
+try:
+    here = os.path.dirname(os.path.abspath(__file__))
+    description = file(os.path.join(here, 'README.txt')).read()
+except IOError:
+    description = None
+
+version = '0.0'
+
+deps = []
+
+setup(name='packageA',
+      version=version,
+      description="packageA",
+      long_description=description,
+      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
+      keywords='mozilla',
+      author='Jeff Hammel',
+      author_email='jhammel@mozilla.com',
+      url='example.com',
+      license='',
+      py_modules=['packageA'],
+      packages=[],
+      include_package_data=True,
+      zip_safe=False,
+      install_requires=deps,
+      entry_points="""
+      # -*- Entry points: -*-
+      [console_scripts]
+      packageA = packageA:main
+      """,
+      )
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/packageB/packageB.py	Fri Jul 08 10:52:53 2011 -0700
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+
+"""
+packageB
+"""
+
+import sys
+from optparse import OptionParser
+
+def main(args=sys.argv[1:]):
+
+    # parse command line arguments
+    usage = '%prog [options] ...'
+    parser = OptionParser(usage=usage, description=__doc__)
+    options, args = parser.parse_args(args)
+
+if __name__ == '__main__':
+    main()
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/packageB/setup.py	Fri Jul 08 10:52:53 2011 -0700
@@ -0,0 +1,35 @@
+import os
+from setuptools import setup
+
+try:
+    here = os.path.dirname(os.path.abspath(__file__))
+    description = file(os.path.join(here, 'README.txt')).read()
+except IOError:
+    description = None
+
+version = '0.0'
+
+deps = []
+
+setup(name='packageB',
+      version=version,
+      description="packageB",
+      long_description=description,
+      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
+      keywords='mozilla',
+      author='Jeff Hammel',
+      author_email='jhammel@mozilla.com',
+      url='example.com',
+      license='',
+      py_modules=['packageB'],
+      packages=[],
+      include_package_data=True,
+      zip_safe=False,
+      install_requires=deps,
+      entry_points="""
+      # -*- Entry points: -*-
+      [console_scripts]
+      packageB = packageB:main
+      """,
+      )
+