Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Also specify encoding when reading setup.cfg (#12320) | Éric Araujo | 2011-06-12 | 1 | -1/+1 |
| | |||||
* | Specify the encoding of the setup.cfg in one packaging test (#12320) | Éric Araujo | 2011-06-12 | 1 | -1/+1 |
| | |||||
* | Adjust logging in packaging.util.spawn (related to #11599) | Éric Araujo | 2011-06-11 | 1 | -2/+3 |
| | |||||
* | Allow multiple setup hooks in packaging’s setup.cfg files (#12240). | Éric Araujo | 2011-06-10 | 3 | -26/+49 |
| | | | | Original patch by Erik Bray. | ||||
* | setup.cfg: Document that description-file can contain more than one file | Éric Araujo | 2011-06-10 | 2 | -9/+6 |
| | |||||
* | Fix assorted bugs in packaging.util.cfg_to_args (#11595). | Éric Araujo | 2011-06-10 | 2 | -17/+62 |
| | | | | Original patch by Erik Bray. | ||||
* | Move useful function to packaging.util. | Éric Araujo | 2011-06-10 | 2 | -18/+18 |
| | | | | | Original patch by Erik Bray as part of #11595, changed by me to improve readability. | ||||
* | Don’t try to install something when running from uninstalled source (#12246). | Éric Araujo | 2011-06-10 | 2 | -5/+26 |
| | | | | Original patch by Tshepang Lekhonkhobe. | ||||
* | Clean up extra environment variable after packaging tests. | Éric Araujo | 2011-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | packaging.util.check_environ will define HOME and PLAT if they don’t exist; for some reason, it does not define PLAT when running the tests from a checkout (so no regrtest warning) but does when running from an installed Python. Cleaning up the envvar in test_dist fixes the warning on my machine, but I suspect that a test runner using a different order to run files or running them in parallel may have PLAT defined in its environment because of another test. Quite a lot of code ends up calling check_environ; maybe we should just clean up PLAT in every test. For now I’m doing this simple fix, we’ll see if we get bug reports. | ||||
* | Fix omission in test for packaging install_distinfo command. | Éric Araujo | 2011-06-10 | 1 | -1/+1 |
| | | | | | | | | The code does not write checksum or file length for .pyc and .pyo in the RECORD file, in compliance with PEP 376, but the test forgot to take .pyo into account. This was not caught because there were no .pyo in the checkout, but after installing there are .pyo files created by compileall, and the test picks them up. | ||||
* | Packaging: use repr to display projects name (3ebabfbf6fe3 followup) | Éric Araujo | 2011-06-10 | 1 | -1/+1 |
| | |||||
* | Fix example in packaging test_config. | Éric Araujo | 2011-06-09 | 1 | -2/+2 |
| | | | | | | The example C extension used the “three.fast_taunt” name, but no “three” parent was defined in the setup.cfg. This did not cause a failure nor even print a warning, we may want to change that. | ||||
* | Style change in packaging: use “not in” over “not x in”. | Éric Araujo | 2011-06-08 | 5 | -16/+16 |
| | | | | Such tests are IMO easier to read if both operators are grouped. | ||||
* | Packaging: always use repr to display project names. | Éric Araujo | 2011-06-08 | 1 | -7/+8 |
| | | | | This helps debugging in case of trailing blanks and such things. | ||||
* | Fix misunderstanding of how booleans work | Éric Araujo | 2011-06-08 | 1 | -1/+2 |
| | |||||
* | Packaging cleanup: normalize print calls. | Éric Araujo | 2011-06-08 | 4 | -17/+19 |
| | | | | | Namely: use default arguments instead of explicit empty string; use multiple arguments instead of building strings. | ||||
* | Packaging cleanup: remove use of script_name where obsolete | Éric Araujo | 2011-06-08 | 6 | -20/+0 |
| | |||||
* | Fix UnboundLocalError in a finally block of one packaging test | Éric Araujo | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Fix sdist to always include setup.cfg (#11092), to comply with the spec | Éric Araujo | 2011-06-06 | 3 | -19/+32 |
| | |||||
* | Use strings instead of sets of lines in packaging.create tests. | Éric Araujo | 2011-06-06 | 1 | -57/+63 |
| | | | | | Using sets in tests did not check whether the values were written in the right section or with the right key. | ||||
* | Fix comment | Éric Araujo | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Update doctring now that Python has real booleans | Éric Araujo | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | Improve consistency in questions asked by packaging.create. | Éric Araujo | 2011-06-04 | 1 | -10/+10 |
| | | | | I reworded “wizard” because it is a Windows-specific term. | ||||
* | Clean up packaging.create and add TODO notes for future cleanups | Éric Araujo | 2011-06-04 | 1 | -8/+14 |
| | |||||
* | Make help messages in packaging.run more consistent | Éric Araujo | 2011-06-04 | 1 | -7/+6 |
| | |||||
* | Cleanup in packaging: don’t unnecessarily instantiate exceptions | Éric Araujo | 2011-06-04 | 4 | -4/+4 |
| | |||||
* | Improve a few docstrings in packaging. | Éric Araujo | 2011-06-04 | 2 | -20/+12 |
| | | | | | Also beautify import lists. Having them grouped by lenght makes it slightly easier to look for a module. | ||||
* | Use list constructor or built-in method instead of copy module | Éric Araujo | 2011-06-04 | 3 | -8/+5 |
| | |||||
* | Document autoflushing in packaging.test.support.LoggingCatcher.get_logs. | Éric Araujo | 2011-06-03 | 1 | -1/+4 |
| | | | | | | I’m afraid my docstring is not as clear as it should be, but I can’t find a concise way of describing what the code does. Suggestions for improvements welcome. | ||||
* | Merge packaging doc fix | Éric Araujo | 2011-06-02 | 4 | -16/+31 |
|\ | |||||
| * | Fix format of warnings from the packaging check command | Éric Araujo | 2011-06-02 | 2 | -1/+12 |
| | | |||||
| * | Make packaging.tests.support.LoggingCatcher.get_logs flush the log handler. | Éric Araujo | 2011-06-02 | 3 | -15/+19 |
| | | | | | | | | | | This removes the need to call flush manually in each test, except when testing code that creates warning without checking them. | ||||
* | | added the generate-setup action | Tarek Ziade | 2011-06-02 | 2 | -2/+18 |
|/ | |||||
* | Branch merge | Éric Araujo | 2011-06-01 | 9 | -143/+45 |
|\ | |||||
| * | The compiler class for EMX was removed | Éric Araujo | 2011-06-01 | 2 | -5/+2 |
| | | |||||
| * | Fix typos in class names | Éric Araujo | 2011-06-01 | 2 | -6/+6 |
| | | |||||
| * | Re-add line that was mistakenly removed alongside RPM support. | Éric Araujo | 2011-05-31 | 1 | -0/+1 |
| | | | | | | | | This reveals the need for bdist* tests. | ||||
| * | Re-apply distutils2 changes lost before the merge of packaging. | Éric Araujo | 2011-05-31 | 3 | -102/+6 |
| | | | | | | | | | | wrap_text was removed in favor of standard textwrap but the removal of the function was lost in a bad merge; a change in sdist mysteriously disappeared. | ||||
| * | Fix nonsensical name. | Éric Araujo | 2011-05-31 | 1 | -28/+28 |
| | | | | | | | | | | | | | | The code used “long” to refer to a long option (e.g. --quiet), which was probably changed by 2to3 and not caught by the human operator, and then changed to “integer” by me to avoid shadowing without seeing the real obvious fix. | ||||
| * | Fix test name in debug message | Éric Araujo | 2011-05-31 | 1 | -2/+2 |
| | | |||||
* | | code cleanup in packaging.run | Tarek Ziade | 2011-05-31 | 1 | -8/+4 |
| | | |||||
* | | make sure we check for write access before starting the install, and add ↵ | Tarek Ziade | 2011-05-31 | 4 | -16/+91 |
| | | | | | | | | correct exit code | ||||
* | | improved pysetup list UI | Tarek Ziade | 2011-05-31 | 1 | -1/+9 |
| | | |||||
* | | better UI when the user does not have the perms to remove the project | Tarek Ziade | 2011-05-30 | 2 | -7/+48 |
| | | |||||
* | | fixed the test_uninstall patch | Tarek Ziade | 2011-05-30 | 1 | -2/+2 |
|/ | |||||
* | displaying the faulty project name is a good idea | Tarek Ziade | 2011-05-30 | 1 | -6/+8 |
| | |||||
* | removed spurious output | Tarek Ziade | 2011-05-30 | 1 | -1/+7 |
| | |||||
* | Cleaned up the installer output behavior. | Tarek Ziade | 2011-05-30 | 6 | -67/+86 |
| | | | | | | This change also makes sure the logger handlers are not alterated after an installation. That also fixes the remaining environment alteration issue in test_packaging. | ||||
* | cleanup packaging.database | Tarek Ziade | 2011-05-30 | 2 | -7/+4 |
| | |||||
* | a resource module for 2 functions is overkill. database is the right place ↵ | Tarek Ziade | 2011-05-30 | 4 | -195/+171 |
| | | | | for those |