2008-08-18 23:08:39 +08:00
|
|
|
"""
|
|
|
|
setup file for 'py' package based on:
|
|
|
|
|
2009-03-23 23:30:32 +08:00
|
|
|
https://codespeak.net/svn/py/trunk, revision=63237
|
2008-08-18 23:08:39 +08:00
|
|
|
|
|
|
|
autogenerated by gensetup.py
|
|
|
|
"""
|
|
|
|
import os, sys
|
|
|
|
|
2008-08-21 18:18:58 +08:00
|
|
|
import ez_setup
|
|
|
|
ez_setup.use_setuptools()
|
|
|
|
from setuptools import setup, Extension
|
2008-08-18 23:08:39 +08:00
|
|
|
|
2008-08-21 18:18:58 +08:00
|
|
|
long_description = """
|
|
|
|
|
2009-03-21 10:21:45 +08:00
|
|
|
The py lib is an extensible library for testing, distributed processing and
|
|
|
|
interacting with filesystems.
|
2008-08-21 18:18:58 +08:00
|
|
|
|
|
|
|
- `py.test`_: cross-project testing tool with many advanced features
|
|
|
|
- `py.execnet`_: ad-hoc code distribution to SSH, Socket and local sub processes
|
2009-03-23 08:38:17 +08:00
|
|
|
- `py.magic.greenlet`_: micro-threads on standard CPython ("stackless-light") and PyPy
|
2008-08-21 18:18:58 +08:00
|
|
|
- `py.path`_: path abstractions over local and subversion files
|
|
|
|
- `py.code`_: dynamic code compile and traceback printing support
|
|
|
|
|
|
|
|
The py lib and its tools should work well on Linux, Win32,
|
|
|
|
OSX, Python versions 2.3-2.6. For questions please go to
|
|
|
|
http://pylib.org/contact.html
|
|
|
|
|
|
|
|
.. _`py.test`: http://pylib.org/test.html
|
|
|
|
.. _`py.execnet`: http://pylib.org/execnet.html
|
|
|
|
.. _`py.magic.greenlet`: http://pylib.org/greenlet.html
|
|
|
|
.. _`py.path`: http://pylib.org/path.html
|
|
|
|
.. _`py.code`: http://pylib.org/code.html
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
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',
|
2008-08-20 01:34:19 +08:00
|
|
|
description='pylib and py.test: agile development and test support library',
|
2008-08-21 18:18:58 +08:00
|
|
|
long_description = long_description,
|
2009-03-23 23:30:32 +08:00
|
|
|
version='1.0.0a5',
|
2008-08-18 23:08:39 +08:00
|
|
|
url='http://pylib.org',
|
2009-03-23 23:30:32 +08:00
|
|
|
download_url='http://codespeak.net/py/1.0.0a5/download.html',
|
2008-08-18 23:08:39 +08:00
|
|
|
license='MIT license',
|
|
|
|
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
|
|
|
author='holger krekel, Guido Wesdorp, Carl Friedrich Bolz, Armin Rigo, Maciej Fijalkowski & others',
|
|
|
|
author_email='holger at merlinux.eu, py-dev at codespeak.net',
|
|
|
|
ext_modules = [Extension("py.c-extension.greenlet.greenlet",
|
|
|
|
["py/c-extension/greenlet/greenlet.c"]),],
|
|
|
|
|
2008-08-21 18:18:58 +08:00
|
|
|
entry_points={'console_scripts': ['py.cleanup = py.cmdline:pycleanup',
|
|
|
|
'py.countloc = py.cmdline:pycountloc',
|
|
|
|
'py.lookup = py.cmdline:pylookup',
|
|
|
|
'py.rest = py.cmdline:pyrest',
|
2008-10-07 03:50:35 +08:00
|
|
|
'py.svnwcrevert = py.cmdline:pysvnwcrevert',
|
2008-08-21 18:18:58 +08:00
|
|
|
'py.test = py.cmdline:pytest',
|
|
|
|
'py.which = py.cmdline:pywhich']},
|
2009-03-23 23:30:32 +08:00
|
|
|
classifiers=['Development Status :: 3 - Alpha',
|
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-03-23 23:17:49 +08:00
|
|
|
packages=['py.builtin',
|
2008-08-18 23:08:39 +08:00
|
|
|
'py.builtin.testing',
|
2008-08-20 01:34:19 +08:00
|
|
|
'py.c-extension',
|
2008-08-21 18:18:58 +08:00
|
|
|
'py.cmdline',
|
|
|
|
'py.cmdline.testing',
|
2008-08-18 23:08:39 +08:00
|
|
|
'py.code',
|
|
|
|
'py.code.testing',
|
|
|
|
'py.compat',
|
|
|
|
'py.compat.testing',
|
|
|
|
'py.doc',
|
|
|
|
'py.execnet',
|
|
|
|
'py.execnet.script',
|
|
|
|
'py.execnet.testing',
|
|
|
|
'py.io',
|
2008-08-20 01:34:19 +08:00
|
|
|
'py.io.testing',
|
2008-08-18 23:08:39 +08:00
|
|
|
'py.log',
|
|
|
|
'py.log.testing',
|
|
|
|
'py.magic',
|
|
|
|
'py.magic.testing',
|
|
|
|
'py.misc',
|
|
|
|
'py.misc.cmdline',
|
|
|
|
'py.misc.testing',
|
|
|
|
'py.path',
|
|
|
|
'py.path.gateway',
|
|
|
|
'py.path.local',
|
|
|
|
'py.path.local.testing',
|
|
|
|
'py.path.svn',
|
|
|
|
'py.path.svn.testing',
|
|
|
|
'py.path.testing',
|
|
|
|
'py.process',
|
|
|
|
'py.process.testing',
|
|
|
|
'py.rest',
|
|
|
|
'py.rest.testing',
|
|
|
|
'py.test',
|
2009-03-23 08:38:17 +08:00
|
|
|
'py.test.dist',
|
|
|
|
'py.test.dist.testing',
|
2008-08-20 01:34:19 +08:00
|
|
|
'py.test.looponfail',
|
|
|
|
'py.test.looponfail.testing',
|
2009-03-21 10:21:45 +08:00
|
|
|
'py.test.plugin',
|
2008-08-18 23:08:39 +08:00
|
|
|
'py.test.testing',
|
|
|
|
'py.test.testing.import_test.package',
|
2008-10-07 03:50:35 +08:00
|
|
|
'py.test.web',
|
2008-08-18 23:08:39 +08:00
|
|
|
'py.thread',
|
|
|
|
'py.thread.testing',
|
|
|
|
'py.tool',
|
|
|
|
'py.tool.testing',
|
|
|
|
'py.xmlobj',
|
|
|
|
'py.xmlobj.testing'],
|
2009-03-21 10:21:45 +08:00
|
|
|
package_data={'py': ['',
|
2009-03-23 08:38:17 +08:00
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
2009-03-21 10:21:45 +08:00
|
|
|
'LICENSE',
|
2008-08-20 01:34:19 +08:00
|
|
|
'bin/_findpy.py',
|
2008-08-21 18:18:58 +08:00
|
|
|
'bin/_genscripts.py',
|
2008-08-22 21:41:17 +08:00
|
|
|
'bin/gendoc.py',
|
2008-08-18 23:08:39 +08:00
|
|
|
'bin/py.cleanup',
|
|
|
|
'bin/py.countloc',
|
|
|
|
'bin/py.lookup',
|
|
|
|
'bin/py.rest',
|
2008-10-07 03:50:35 +08:00
|
|
|
'bin/py.svnwcrevert',
|
2008-08-18 23:08:39 +08:00
|
|
|
'bin/py.test',
|
2008-08-20 01:34:19 +08:00
|
|
|
'bin/py.which',
|
2008-08-21 18:18:58 +08:00
|
|
|
'bin/win32/py.cleanup.cmd',
|
|
|
|
'bin/win32/py.countloc.cmd',
|
|
|
|
'bin/win32/py.lookup.cmd',
|
|
|
|
'bin/win32/py.rest.cmd',
|
2008-10-07 03:50:35 +08:00
|
|
|
'bin/win32/py.svnwcrevert.cmd',
|
2008-08-21 18:18:58 +08:00
|
|
|
'bin/win32/py.test.cmd',
|
2008-08-21 21:26:31 +08:00
|
|
|
'bin/win32/py.which.cmd',
|
2008-08-18 23:08:39 +08:00
|
|
|
'c-extension/greenlet/README.txt',
|
2008-08-20 01:34:19 +08:00
|
|
|
'c-extension/greenlet/dummy_greenlet.py',
|
2008-08-18 23:08:39 +08:00
|
|
|
'c-extension/greenlet/greenlet.c',
|
|
|
|
'c-extension/greenlet/greenlet.h',
|
2008-08-20 01:34:19 +08:00
|
|
|
'c-extension/greenlet/setup.py',
|
2008-08-18 23:08:39 +08:00
|
|
|
'c-extension/greenlet/slp_platformselect.h',
|
|
|
|
'c-extension/greenlet/switch_amd64_unix.h',
|
2008-08-20 01:34:19 +08:00
|
|
|
'c-extension/greenlet/switch_mips_unix.h',
|
2008-08-18 23:08:39 +08:00
|
|
|
'c-extension/greenlet/switch_ppc_macosx.h',
|
|
|
|
'c-extension/greenlet/switch_ppc_unix.h',
|
|
|
|
'c-extension/greenlet/switch_s390_unix.h',
|
|
|
|
'c-extension/greenlet/switch_sparc_sun_gcc.h',
|
|
|
|
'c-extension/greenlet/switch_x86_msvc.h',
|
|
|
|
'c-extension/greenlet/switch_x86_unix.h',
|
2008-08-20 01:34:19 +08:00
|
|
|
'c-extension/greenlet/test_generator.py',
|
|
|
|
'c-extension/greenlet/test_generator_nested.py',
|
|
|
|
'c-extension/greenlet/test_greenlet.py',
|
|
|
|
'c-extension/greenlet/test_remote.py',
|
|
|
|
'c-extension/greenlet/test_throw.py',
|
2008-08-18 23:08:39 +08:00
|
|
|
'compat/LICENSE',
|
|
|
|
'compat/testing/test_doctest.txt',
|
|
|
|
'compat/testing/test_doctest2.txt',
|
|
|
|
'doc/bin.txt',
|
|
|
|
'doc/code.txt',
|
|
|
|
'doc/coding-style.txt',
|
|
|
|
'doc/contact.txt',
|
|
|
|
'doc/download.txt',
|
2009-03-21 10:21:45 +08:00
|
|
|
'doc/draft_pyfs',
|
2008-08-18 23:08:39 +08:00
|
|
|
'doc/execnet.txt',
|
|
|
|
'doc/future.txt',
|
|
|
|
'doc/greenlet.txt',
|
|
|
|
'doc/impl-test.txt',
|
|
|
|
'doc/index.txt',
|
|
|
|
'doc/io.txt',
|
|
|
|
'doc/links.txt',
|
|
|
|
'doc/log.txt',
|
|
|
|
'doc/misc.txt',
|
|
|
|
'doc/path.txt',
|
|
|
|
'doc/release-0.9.0.txt',
|
|
|
|
'doc/release-0.9.2.txt',
|
|
|
|
'doc/style.css',
|
2009-03-21 10:21:45 +08:00
|
|
|
'doc/test-config.txt',
|
2009-03-23 08:38:17 +08:00
|
|
|
'doc/test-dist.txt',
|
|
|
|
'doc/test-examples.txt',
|
|
|
|
'doc/test-ext.txt',
|
|
|
|
'doc/test-features.txt',
|
2009-03-21 10:21:45 +08:00
|
|
|
'doc/test-plugins.txt',
|
2009-03-23 08:38:17 +08:00
|
|
|
'doc/test-quickstart.txt',
|
2008-08-18 23:08:39 +08:00
|
|
|
'doc/test.txt',
|
|
|
|
'doc/why_py.txt',
|
|
|
|
'doc/xml.txt',
|
|
|
|
'env.cmd',
|
|
|
|
'execnet/NOTES',
|
2009-03-21 10:21:45 +08:00
|
|
|
'execnet/improve-remote-tracebacks.txt',
|
2008-08-18 23:08:39 +08:00
|
|
|
'misc/testing/data/svnlookrepo.dump',
|
|
|
|
'path/gateway/TODO.txt',
|
|
|
|
'path/svn/quoting.txt',
|
|
|
|
'path/svn/testing/repotest.dump',
|
|
|
|
'rest/rest.sty.template',
|
|
|
|
'rest/testing/data/example.rst2pdfconfig',
|
|
|
|
'rest/testing/data/example1.dot',
|
|
|
|
'rest/testing/data/formula.txt',
|
|
|
|
'rest/testing/data/formula1.txt',
|
|
|
|
'rest/testing/data/graphviz.txt',
|
|
|
|
'rest/testing/data/part1.txt',
|
|
|
|
'rest/testing/data/part2.txt',
|
2009-03-21 10:21:45 +08:00
|
|
|
'rest/testing/data/tocdepth.rst2pdfconfig']},
|
2008-08-18 23:08:39 +08:00
|
|
|
zip_safe=False,
|
|
|
|
)
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|
2009-03-23 08:38:17 +08:00
|
|
|
|