File: setup.py

package info (click to toggle)
python-testtools 1.8.0-3~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,204 kB
  • sloc: python: 12,239; makefile: 130; sh: 2
file content (16 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
import setuptools

try:
    import testtools
    cmd_class = {}
    if getattr(testtools, 'TestCommand', None) is not None:
        cmd_class['test'] = testtools.TestCommand
except:
    cmd_class = None


setuptools.setup(
    cmdclass=cmd_class,
    setup_requires=['pbr'],
    pbr=True)