Permalink
Browse files

try using zero2pypi for setup.py

  • Loading branch information...
1 parent d7e7a4c commit 09379d8d33895ea674a194ceab874cb36ce65c9c @timbertson committed Aug 18, 2011
Showing with 33 additions and 26 deletions.
  1. +13 −0 mocktest.xml
  2. +20 −26 setup.py
View
13 mocktest.xml
@@ -29,6 +29,19 @@ Please see the full documentation online at:
http://gfxmonk.net/dist/doc/mocktest/doc/
</description>
+ <pypi-extra xmlns="http://gfxmonk.net/dist/0install">
+ classifiers=[
+ "License :: OSI Approved :: BSD License",
+ "Programming Language :: Python",
+ "Development Status :: 4 - Beta",
+ "Intended Audience :: Developers",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ "Topic :: Software Development :: Testing",
+ ],
+ keywords='test mock expect expectation stub rspec unittest',
+ license='GPLv3'
+ </pypi-extra>
+
<homepage>http://gfxmonk.net/dist/doc/mocktest/doc/</homepage>
<rich-description xmlns="http://gfxmonk.net/dist/0install">
<div xmlns="http://www.w3.org/1999/xhtml">
View
46 setup.py
@@ -1,32 +1,26 @@
#!/usr/bin/env python
-from setuptools import *
+## NOTE: ##
+## this setup.py was generated by zero2pypi:
+## http://gfxmonk.net/dist/0install/zero2pypi.xml
+from setuptools import *
setup(
- name='mocktest',
- version='0.5.1',
- description='a mocking and expectation test library for python, inspired by rspec',
- author='Tim Cuthbertson',
- author_email='tim3d.junk+mocktest@gmail.com',
+ packages = find_packages(exclude=['test', 'test.*']),
+ description='mocking library for python, inspired by rspec',
url='http://gfxmonk.net/dist/0install/mocktest.xml',
-
- long_description="""\
- mocktest is a mocking and expectation test library for python.
- It is similar to rspec's should_receive and associated matchers, and
- offers a compatible unittest TestCase base class for automatically
- verifying expectations.
- """,
- classifiers=[
- "License :: OSI Approved :: BSD License",
- "Programming Language :: Python",
- "Development Status :: 4 - Beta",
- "Intended Audience :: Developers",
- "Topic :: Software Development :: Libraries :: Python Modules",
- "Topic :: Software Development :: Testing",
- ],
- keywords='test mock expect expectation stub rspec unittest',
- license='GPLv3',
- install_requires=[
- 'setuptools',
- ],
+ install_requires=['setuptools'],
+ version='0.5.1',
+ long_description="\n**Note**: This package has been built automatically by\n`zero2pypi <http://gfxmonk.net/dist/0install/zero2pypi.xml>`_.\nIf possible, you should use the zero-install feed instead:\nhttp://gfxmonk.net/dist/0install/mocktest.xml\n\n----------------\n\nmocktest\n********\n... is a powerful and easy-to-use mocking library, inspired by rspec and\nsimilar in some ways to Michael Foord's popular Mock module.\n\nSource / Issues:\nhttp://github.com/gfxmonk/mocktest/tree/master\n\n\nZero install feed:\nhttp://gfxmonk.net/dist/0install/mocktest.xml\n(this is the preferred distribution method)\n\n\nCheese shop entry:\nhttp://pypi.python.org/pypi/mocktest\n\n\nDocumentation / Installation\n----------------------------\nPlease see the full documentation online at:\nhttp://gfxmonk.net/dist/doc/mocktest/doc/\n",
+ name='mocktest',
+classifiers=[
+ "License :: OSI Approved :: BSD License",
+ "Programming Language :: Python",
+ "Development Status :: 4 - Beta",
+ "Intended Audience :: Developers",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ "Topic :: Software Development :: Testing",
+ ],
+ keywords='test mock expect expectation stub rspec unittest',
+ license='GPLv3'
)

0 comments on commit 09379d8

Please sign in to comment.