Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  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. class no_install(install):
  12. def run(self, *args, **kwargs):
  13. import sys
  14. sys.stderr.write("""
  15. -------------------------------------------------------
  16. The billiard functional test suite cannot be installed.
  17. -------------------------------------------------------
  18. But you can execute the tests by running the command:
  19. $ python setup.py test
  20. """)
  21. setup(
  22. name='billiard-funtests',
  23. version='DEV',
  24. description='Functional test suite for billiard',
  25. author='Ask Solem',
  26. author_email='ask@celeryproject.org',
  27. url='http://github.com/celery/billiard',
  28. platforms=['any'],
  29. packages=[],
  30. data_files=[],
  31. zip_safe=False,
  32. cmdclass={'install': no_install},
  33. test_suite='nose.collector',
  34. build_requires=[
  35. 'nose',
  36. 'unittest2',
  37. 'coverage>=3.0',
  38. ],
  39. classifiers=[
  40. 'Operating System :: OS Independent',
  41. 'Programming Language :: Python',
  42. 'Programming Language :: C'
  43. 'License :: OSI Approved :: BSD License',
  44. 'Intended Audience :: Developers',
  45. ],
  46. long_description='Do not install this package',
  47. )