~crunch.io/ubuntu/precise/codespeak-lib/unstable

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-08-01 16:24:01 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100801162401-g37v49d1p148alpm
Tags: 1.3.3-1
* New upstream release.
* Bump Standards-Version to 3.9.1.
* Fix typo in py.test manpage.
* Prefer Breaks: over Conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
- `py.code`_: dynamic code compile and traceback printing support
13
13
 
14
14
Platforms: Linux, Win32, OSX
15
 
Interpreters: Python versions 2.4 through to 3.1, Jython 2.5.1. 
 
15
Interpreters: Python versions 2.4 through to 3.2, Jython 2.5.1 and PyPy
16
16
For questions please check out http://pylib.org/contact.html
17
17
 
18
18
.. _`py.test`: http://pytest.org
21
21
 
22
22
(c) Holger Krekel and others, 2004-2010
23
23
"""
24
 
trunk = None
25
24
def main():
26
25
    setup(
27
26
        name='py',
28
27
        description='py.test and pylib: rapid testing and development utils.',
29
28
        long_description = long_description,
30
 
        version= trunk or '1.2.1',
 
29
        version= '1.3.3',
31
30
        url='http://pylib.org',
32
31
        license='MIT license',
33
32
        platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
43
42
                     'Topic :: Software Development :: Testing',
44
43
                     'Topic :: Software Development :: Libraries',
45
44
                     'Topic :: Utilities',
46
 
                     'Programming Language :: Python'],
 
45
                     'Programming Language :: Python',
 
46
                     'Programming Language :: Python :: 3'],
47
47
        packages=['py',
48
48
                  'py._plugin',
49
49
                  'py._cmdline',
60
60
 
61
61
def cmdline_entrypoints(versioninfo, platform, basename):
62
62
    if platform.startswith('java'):
63
 
        points = {'py.test-jython': 'py.cmdline:pytest', 
 
63
        points = {'py.test-jython': 'py.cmdline:pytest',
64
64
                  'py.which-jython': 'py.cmdline:pywhich'}
65
65
    else:
66
66
        if basename.startswith("pypy"):
67
 
            points = {'py.test-%s' % basename: 'py.cmdline:pytest', 
 
67
            points = {'py.test-%s' % basename: 'py.cmdline:pytest',
68
68
                      'py.which-%s' % basename: 'py.cmdline:pywhich',}
69
69
        else: # cpython
70
70
            points = {
71
71
              'py.test-%s.%s' % versioninfo[:2] : 'py.cmdline:pytest',
72
72
              'py.which-%s.%s' % versioninfo[:2] : 'py.cmdline:pywhich'
73
73
            }
74
 
        for x in ['py.cleanup', 'py.convert_unittest', 'py.countloc', 
75
 
                  'py.lookup', 'py.svnwcrevert', 'py.which', 'py.test']:
76
 
            points[x] = "py.cmdline:%s" % x.replace('.','')
 
74
    for x in ['py.cleanup', 'py.convert_unittest', 'py.countloc',
 
75
              'py.lookup', 'py.svnwcrevert', 'py.which', 'py.test']:
 
76
        points[x] = "py.cmdline:%s" % x.replace('.','')
77
77
    return points
78
78
 
79
79
def make_entry_points():