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.

35 lines
1003 B

  1. // Resource script for Python core DLL.
  2. // Currently only holds version information.
  3. //
  4. #include "winver.h"
  5. #define PYTHON_COMPANY "Python Software Foundation"
  6. #define PYTHON_COPYRIGHT "Copyright \xA9 2001-2015 Python Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC."
  7. #define MS_WINDOWS
  8. #include "modsupport.h"
  9. #include "patchlevel.h"
  10. #ifdef _DEBUG
  11. # include "pythonnt_rc_d.h"
  12. # define PYTHON_DEBUG_EXT "_d"
  13. #else
  14. # include "pythonnt_rc.h"
  15. # define PYTHON_DEBUG_EXT
  16. #endif
  17. /* e.g., 3.3.0a1
  18. * PY_VERSION comes from patchlevel.h
  19. */
  20. #define PYTHON_VERSION PY_VERSION "\0"
  21. /* 64-bit version number as comma-separated list of 4 16-bit ints */
  22. #if PY_MICRO_VERSION > 64
  23. # error "PY_MICRO_VERSION > 64"
  24. #endif
  25. #if PY_RELEASE_LEVEL > 99
  26. # error "PY_RELEASE_LEVEL > 99"
  27. #endif
  28. #if PY_RELEASE_SERIAL > 9
  29. # error "PY_RELEASE_SERIAL > 9"
  30. #endif
  31. #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION