2009-10-03 07:47:39 +08:00
|
|
|
"""py lib / py.test setup.py file"""
|
2008-08-18 23:08:39 +08:00
|
|
|
import os, sys
|
2009-10-29 19:45:12 +08:00
|
|
|
if sys.version_info >= (3,0):
|
|
|
|
from distribute_setup import use_setuptools
|
|
|
|
use_setuptools()
|
2009-06-24 22:20:14 +08:00
|
|
|
from setuptools import setup
|
2008-08-21 18:18:58 +08:00
|
|
|
|
2009-10-29 19:45:12 +08:00
|
|
|
long_description = """
|
2009-10-03 07:47:39 +08:00
|
|
|
py.test and pylib: rapid testing and development utils
|
2008-08-21 18:18:58 +08:00
|
|
|
|
|
|
|
- `py.test`_: cross-project testing tool with many advanced features
|
2009-10-02 22:58:57 +08:00
|
|
|
- `py.path`_: path abstractions over local and subversion files
|
2008-08-21 18:18:58 +08:00
|
|
|
- `py.code`_: dynamic code compile and traceback printing support
|
|
|
|
|
2009-10-29 19:45:12 +08:00
|
|
|
Platforms: Linux, Win32, OSX
|
|
|
|
Interpreters: Python versions 2.4 through to 3.1, Jython 2.5.1.
|
2009-06-18 03:08:19 +08:00
|
|
|
For questions please check out http://pylib.org/contact.html
|
2008-08-21 18:18:58 +08:00
|
|
|
|
|
|
|
.. _`py.test`: http://pylib.org/test.html
|
|
|
|
.. _`py.path`: http://pylib.org/path.html
|
|
|
|
.. _`py.code`: http://pylib.org/code.html
|
|
|
|
|
2009-10-02 22:58:57 +08:00
|
|
|
(c) Holger Krekel and others, 2009
|
2008-08-21 18:18:58 +08:00
|
|
|
"""
|
2009-10-03 07:11:04 +08:00
|
|
|
trunk = None
|
2008-08-18 23:08:39 +08:00
|
|
|
def main():
|
2008-08-21 18:18:58 +08:00
|
|
|
setup(
|
2008-08-18 23:08:39 +08:00
|
|
|
name='py',
|
2009-10-03 07:47:39 +08:00
|
|
|
description='py.test and pylib: rapid testing and development utils.',
|
|
|
|
long_description = long_description,
|
|
|
|
version= trunk or '1.1.0b1',
|
|
|
|
url='http://pylib.org',
|
2008-08-18 23:08:39 +08:00
|
|
|
license='MIT license',
|
2009-10-03 07:47:39 +08:00
|
|
|
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
2008-08-18 23:08:39 +08:00
|
|
|
author='holger krekel, Guido Wesdorp, Carl Friedrich Bolz, Armin Rigo, Maciej Fijalkowski & others',
|
2009-10-03 07:47:39 +08:00
|
|
|
author_email='holger at merlinux.eu',
|
2009-10-29 19:25:47 +08:00
|
|
|
entry_points={'console_scripts': [
|
|
|
|
'py.cleanup = py.cmdline:pycleanup',
|
|
|
|
'py.convert_unittest = py.cmdline:pyconvert_unittest',
|
|
|
|
'py.countloc = py.cmdline:pycountloc',
|
|
|
|
'py.lookup = py.cmdline:pylookup',
|
|
|
|
'py.svnwcrevert = py.cmdline:pysvnwcrevert',
|
|
|
|
'py.test = py.cmdline:pytest',
|
|
|
|
'py.which = py.cmdline:pywhich']},
|
2009-10-03 07:11:04 +08:00
|
|
|
classifiers=['Development Status :: 4 - Beta',
|
2008-08-18 23:08:39 +08:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: POSIX',
|
|
|
|
'Operating System :: Microsoft :: Windows',
|
|
|
|
'Operating System :: MacOS :: MacOS X',
|
|
|
|
'Topic :: Software Development :: Testing',
|
|
|
|
'Topic :: Software Development :: Libraries',
|
|
|
|
'Topic :: System :: Distributed Computing',
|
|
|
|
'Topic :: Utilities',
|
|
|
|
'Programming Language :: Python'],
|
2009-06-25 00:02:41 +08:00
|
|
|
packages=['py',
|
2009-10-03 07:47:39 +08:00
|
|
|
'_py',
|
|
|
|
'_py.cmdline',
|
|
|
|
'_py.code',
|
|
|
|
'_py.compat',
|
|
|
|
'_py.io',
|
|
|
|
'_py.log',
|
|
|
|
'_py.path',
|
|
|
|
'_py.process',
|
|
|
|
'_py.test',
|
|
|
|
'_py.test.dist',
|
|
|
|
'_py.test.looponfail',
|
2009-10-04 01:57:48 +08:00
|
|
|
'_py.test.plugin',],
|
2009-10-29 19:45:12 +08:00
|
|
|
zip_safe=False,
|
2008-08-18 23:08:39 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|
2009-10-03 07:47:39 +08:00
|
|
|
|