summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Restore ability for msvc9_support to be imported on non-Windows platforms.Jason R. Coombs2016-05-021-4/+21
| | | | |
| * | | | useless 'r' before strJ. Goutin2016-04-291-1/+1
| | | | |
| * | | | Tests and fixesJ. Goutin2016-04-291-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests advancement: I tested WinSDK 7.1, WinSDK 7.0, WinSDK 6.1, VC for Python 2.7 with current arch as X86 and all possible target architecture. Environment generated from script is good for all (With some little fixes in this commit), some path are add on some case, I will look if I need to remove them. I need also to check .Net Framework 64bit in this case. I need also to do test for sames compilers on X64 architecture, I will also test MSVC++ 2015 Build tools on X64. I looked for create automated test on AppVeyor for this, but it is impossible to only have one of theses compilers only installed... So I did all test manually.
| * | | | Fix six importJ. Goutin2016-04-221-3/+1
| | | | |
| * | | | Update msvc9_support.pyJ. Goutin2016-04-171-0/+1
| | | | |
| * | | | Feature/msvc discoveryJ. Goutin2016-04-171-62/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's finished !! Now, it fully support MSVC from 9.0 to 14.0, and all theses standalone distributions: - Microsoft Visual C++ Compiler for Python 2.7 (MSVC++9.0, x86, amd64) - Microsoft Windows SDK 6.1 (MSVC++9.0, x86, x64, ia64) - Microsoft Windows SDK 7.0 (MSVC++9.0, x86, x64, ia64) - Microsoft Windows SDK 7.1 (MSVC++10.0, x86, x64, ia64) - Microsoft Visual C++ Build Tools 2015 (MSVC++14.0, x86, x64, arm) Next step: - Code review. - Test it with some MSVC versions/Architectures/Python versions combinations. I have also some comments on the global implementation: - I think `msvc9_find_vcvarsall` can now be deleted. - Maybe rename the file, by example "msvc_support.py". - Maybe Implementing it (And other distutils patchs) for not be only called by "setuptools", but also by "pkg_resources": This will automatically activate patchs for some externals packages like "Cython" transparently.
| * | | | * Continue do add support for MSVC14 (Still work in progress).JGoutin2016-03-041-31/+119
| | | | | | | | | | | | | | | | | | | | | | | | | * Add support for MSVC11 and 12 (Only few changes with actual code needed for them). * Python 2 compatibility for winreg.
| * | | | * Move non registry parts from RegistryInfo to SystemInfo.JGoutin2016-03-031-266/+509
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename many variable to use the same names as in MSVC .bat files. This really help to compare the Python script with original sources. * Split compute_env to EnvironmentInfo class. * Continue to add support for MSVC14. * Some more little fixes.
| * | | | First, thanks for the review. This is very instructive for me and the code ↵JGoutin2016-03-021-87/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is clearer now. I tested your reviewed version, and it work (Tested only on Windows x86, Python 3.4, Windows SDK 7.1 actually). I did the following changes : * Add many docstrings, and improve existing ones. * Change some comments that was unclear. * Move .NET Framework directory/version finders in "RegistryInfo", like others. * Started to add support for the MSVC++14.0 standalone compiler. (Note that this is Work in progress). This also help me to find what fail in actual structure. * Add "msvc9_" prefix to actual patch functions and unpatched dict for better readability. * Add VCforPython27 alternative in _augment_exception for IA64 (Arch not supported by VCforPython27) * Replace "lib_extra" and "sdk_extra" by more generic "ccpu_dir" and "tcpu_dir" functions (For better compatibility with MSVC++14) * Changes some parts (like VSTools) for reduce line length, avoid repetitions and improve PEP8. * Make "unique_everseen" and "lookup" private. But, it is not finished, I need at least to do: - Finish MSVC++14 support. - Remove patch for "find_vcvarsall" for MSVC++9 ? (Now "query_vcvarsall" patch also support VC++ for Python 2.7) - Make more tests with more compilers/platforms/Python combination. - Check compatibility with MSVC++11 and 12. - Rename the file in "msvc_support.py" ? (not MSVC9 only) - Rename "RegistryInfo" ? - Make compute_env a class ? for split subparts like you did it for "RegistryInfo" and "PlatformInfo"
| * | | | I don't imagine message will ever resolve to FalseJason R. Coombs2016-02-231-1/+1
| | | | |
| * | | | Extract function for _augment_exception.Jason R. Coombs2016-02-231-6/+12
| | | | |
| * | | | Rename function again for clarity.Jason R. Coombs2016-02-231-2/+2
| | | | |
| * | | | Avoid setting a variable when the value is never used.Jason R. Coombs2016-02-231-4/+4
| | | | |
| * | | | Rewrite env builder routine to a simple function, _build_paths, using ↵Jason R. Coombs2016-02-231-31/+46
| | | | | | | | | | | | | | | | | | | | iterables and common recipes.
| * | | | Correct find/replace errorJason R. Coombs2016-02-231-1/+1
| | | | |
| * | | | Replace last usage of reg_valueJason R. Coombs2016-02-231-3/+2
| | | | |
| * | | | Rewrite init/set with singular construction.Jason R. Coombs2016-02-231-5/+6
| | | | |
| * | | | Rewrite for/append loop as simple list comprehension on the product of roots ↵Jason R. Coombs2016-02-231-4/+9
| | | | | | | | | | | | | | | | | | | | and versions.
| * | | | Extract find_dot_net_versions method in RegistryInfo.Jason R. Coombs2016-02-231-15/+19
| | | | |
| * | | | Extract find_windows_sdk method in RegistryInfo.Jason R. Coombs2016-02-231-37/+41
| | | | |
| * | | | Extract find_visual_c method into RegistryInfoJason R. Coombs2016-02-231-23/+27
| | | | |
| * | | | Move finding of visual studio into RegistryInfoJason R. Coombs2016-02-231-8/+11
| | | | |
| * | | | Remove another hanging indentJason R. Coombs2016-02-231-13/+7
| | | | |
| * | | | Have lookup return None when it fails, moving the moving much of the ↵Jason R. Coombs2016-02-231-41/+32
| | | | | | | | | | | | | | | | | | | | try/except logic into single-line fallback expressions.
| * | | | Extract resolution of registry paths into a RegistryInfo object.Jason R. Coombs2016-02-231-17/+48
| | | | |
| * | | | Pull program files and win dir resolution into PlatformInfoJason R. Coombs2016-02-231-10/+8
| | | | |
| * | | | Extract PlatformInfo class for capturing some of the platform info calculations.Jason R. Coombs2016-02-231-35/+52
| | | | |
| * | | | Remove redundant callJason R. Coombs2016-02-231-1/+1
| | | | |
| * | | | Reindent to eliminate long lines and hanging indents.Jason R. Coombs2016-02-231-22/+30
| | | | |
| * | | | Move imports to the top and normalize usage.Jason R. Coombs2016-02-231-46/+44
| | | | |
| * | | | Make function private and don't use a different name for it, as it performs ↵Jason R. Coombs2016-02-231-2/+2
| | | | | | | | | | | | | | | | | | | | the same purpose. Also, it doesn't set anything.
| * | | | Include 'arch' in the function signature rather than processing arguments by ↵Jason R. Coombs2016-02-231-7/+3
| | | | | | | | | | | | | | | | | | | | hand.
| * | | | Rename variable for consistencyJason R. Coombs2016-02-231-12/+12
| | | | |
| * | | | Update with comments.JGoutin2016-02-181-39/+37
| | | | |
| * | | | Improve support for standalones MVC++ 9.0/10.0 compilers by setting directly ↵JGoutin2016-02-141-10/+255
| | | | | | | | | | | | | | | | | | | | the environment if Vcvarsall.bat is missing or fail.
* | | | | Merge with masterJason R. Coombs2016-06-0618-208/+491
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge pull request #597 from benjaoming/patch-1Jason R. Coombs2016-06-031-0/+4
| |\ \ \ \ | | | | | | | | | | | | Ensure package name isn't unicode in Python2 distutils
| | * | | | Fixing #190 following proposal by @jaracoBenjamin Bach2016-06-021-0/+4
| | | | | |
| * | | | | Extract context manager for project_on_sys_path in test commandJason R. Coombs2016-06-031-5/+16
| | | | | |
| * | | | | Use newer string formatting for rendering user agent. Re-use __version__ ↵Jason R. Coombs2016-06-011-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | from main package.
| * | | | | Move setuptools to beginning of user-agent header. Fixes #598.Jason R. Coombs2016-06-011-2/+2
| | | | | |
| * | | | | Add test for build_multipartJason R. Coombs2016-05-311-0/+12
| | | | | |
| * | | | | Return content type in _build_multipartJason R. Coombs2016-05-311-3/+4
| | | | | |
| * | | | | Replace _build_parts with map and flatten.Jason R. Coombs2016-05-311-10/+9
| | | | | |
| * | | | | Normalize indentJason R. Coombs2016-05-311-16/+16
| | | | | |
| * | | | | Extract method for _build_partJason R. Coombs2016-05-311-2/+7
| | | | | |
| * | | | | Extract method for _build_multipartJason R. Coombs2016-05-311-10/+16
| | | | | |
| * | | | | Extract method for _build_parts.Jason R. Coombs2016-05-311-21/+27
| | | | | |
| * | | | | Use bytes literals and simpler encoding logic when constructing multipart postJason R. Coombs2016-05-311-20/+14
| | | | | |
| * | | | | Use context for closing fileJason R. Coombs2016-05-311-3/+2
| |/ / / /