Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
try using zero2pypi for setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
timbertson committed Aug 18, 2011
1 parent d7e7a4c commit 09379d8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
13 changes: 13 additions & 0 deletions mocktest.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ Please see the full documentation online at:
http://gfxmonk.net/dist/doc/mocktest/doc/ http://gfxmonk.net/dist/doc/mocktest/doc/


</description> </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> <homepage>http://gfxmonk.net/dist/doc/mocktest/doc/</homepage>
<rich-description xmlns="http://gfxmonk.net/dist/0install"> <rich-description xmlns="http://gfxmonk.net/dist/0install">
<div xmlns="http://www.w3.org/1999/xhtml"> <div xmlns="http://www.w3.org/1999/xhtml">
Expand Down
46 changes: 20 additions & 26 deletions setup.py
Original file line number Original file line Diff line number Diff line change
@@ -1,32 +1,26 @@
#!/usr/bin/env python #!/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( setup(
name='mocktest', packages = find_packages(exclude=['test', 'test.*']),
version='0.5.1', description='mocking library for python, inspired by rspec',
description='a mocking and expectation test library for python, inspired by rspec',
author='Tim Cuthbertson',
author_email='tim3d.junk+mocktest@gmail.com',
url='http://gfxmonk.net/dist/0install/mocktest.xml', url='http://gfxmonk.net/dist/0install/mocktest.xml',

install_requires=['setuptools'],
long_description="""\ version='0.5.1',
mocktest is a mocking and expectation test library for python. 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",
It is similar to rspec's should_receive and associated matchers, and name='mocktest',
offers a compatible unittest TestCase base class for automatically classifiers=[
verifying expectations. "License :: OSI Approved :: BSD License",
""", "Programming Language :: Python",
classifiers=[ "Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License", "Intended Audience :: Developers",
"Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 4 - Beta", "Topic :: Software Development :: Testing",
"Intended Audience :: Developers", ],
"Topic :: Software Development :: Libraries :: Python Modules", keywords='test mock expect expectation stub rspec unittest',
"Topic :: Software Development :: Testing", license='GPLv3'
],
keywords='test mock expect expectation stub rspec unittest',
license='GPLv3',
install_requires=[
'setuptools',
],
) )

0 comments on commit 09379d8

Please sign in to comment.