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.

32 lines
1.2 KiB

  1. diff -Nur a/setup.py b/setup.py
  2. --- a/setup.py 2015-11-29 11:30:46.000000000 +0800
  3. +++ b/setup.py 2015-12-02 18:22:10.251268303 +0800
  4. @@ -49,11 +49,11 @@
  5. scripts = getScripts()
  6. setup_args.update(dict(
  7. - packages=getPackages('twisted'),
  8. + packages=getPackages('twisted', ignore=['test']),
  9. conditionalExtensions=getExtensions(),
  10. scripts=scripts,
  11. extras_require=_EXTRAS_REQUIRE,
  12. - data_files=getDataFiles('twisted'),
  13. + data_files=getDataFiles('twisted', ignore=['test']),
  14. **STATIC_PACKAGE_METADATA))
  15. setup(**setup_args)
  16. diff -Nur a/twisted/python/dist.py b/twisted/python/dist.py
  17. --- a/twisted/python/dist.py 2015-11-29 11:30:47.000000000 +0800
  18. +++ b/twisted/python/dist.py 2015-12-02 19:21:20.076370379 +0800
  19. @@ -268,11 +268,6 @@
  20. """
  21. extensions = [
  22. ConditionalExtension(
  23. - "twisted.test.raiser",
  24. - ["twisted/test/raiser.c"],
  25. - condition=lambda _: _isCPython),
  26. -
  27. - ConditionalExtension(
  28. "twisted.internet.iocpreactor.iocpsupport",
  29. ["twisted/internet/iocpreactor/iocpsupport/iocpsupport.c",
  30. "twisted/internet/iocpreactor/iocpsupport/winsock_pointers.c"],