Debian Codegraph @

t/integration/setup.py

raw
1 #!/usr/bin/env python3
2
3 try:
4 from setuptools import setup
5 from setuptools.command.install import install
6 except ImportError:
7 from ez_setup import use_setuptools
8 use_setuptools()
9 from setuptools import setup # noqa
10 from setuptools.command.install import install # noqa
11
12
13 class no_install(install):
14
15 def run(self, *args, **kwargs):
16 import sys
17 sys.stderr.write("""
18 -------------------------------------------------------
19 The billiard functional test suite cannot be installed.
20 -------------------------------------------------------
21
22
23 But you can execute the tests by running the command:
24
25 $ tox -e py
26
27
28 """)
29
30
31 setup(
32 name='billiard-funtests',
33 version='DEV',
34 description='Functional test suite for billiard',
35 author='Ask Solem',
36 author_email='[email protected]',
37 url='https://github.com/celery/billiard',
38 platforms=['any'],
39 packages=[],
40 data_files=[],
41 zip_safe=False,
42 cmdclass={'install': no_install},
43 test_suite='pytest',
44 build_requires=[
45 'pytest',
46 'coverage>=3.0',
47 ],
48 classifiers=[
49 'Operating System :: OS Independent',
50 'Programming Language :: Python',
51 'Programming Language :: C'
52 'License :: OSI Approved :: BSD License',
53 'Intended Audience :: Developers',
54 ],
55 long_description='Do not install this package',
56 )