summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* EasyInstall no longer aborts the installation process if a URL it wants toPJ Eby2007-01-241-5/+5
| | | | | | | | | | retrieve can't be downloaded, unless the URL is an actual package download. Instead, it issues a warning and tries to keep going. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053542
* Fix "eggsecutables" (such as setuptools' own egg) only being runnablePJ Eby2007-01-241-1/+1
| | | | | | | | with bash-compatible shells. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053540
* Bump to 0.6c6. :(PJ Eby2007-01-091-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053326
* Fix missing backport of import fix for bdist_rpm building non-sourcePJ Eby2007-01-091-1/+1
| | | | | | | | rpms. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053325
* Fix uploaded ``bdist_wininst`` packages being described as suitable forPJ Eby2007-01-091-18/+21
| | | | | | | | | "any" version by Python 2.5, even if a ``--target-version`` was specified. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053319
* Bump version to 0.6c5, and backport bdist_rpm and cygwin dll fixesPJ Eby2007-01-093-10/+10
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053317
* Argh.PJ Eby2007-01-091-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053311
* Don't double-upload .exe files under Python 2.5. :(PJ Eby2007-01-091-18/+18
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053310
* Fix a problem installing eggs with a system packaging tool if the projectPJ Eby2007-01-051-5/+46
| | | | | | | | | | contained an implicit namespace package; for example if the ``setup()`` listed a namespace package ``foo.bar`` without explicitly listing ``foo`` as a namespace package. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053271
* Add Basic Auth support for http URLs with embedded credentials. If anPJ Eby2006-12-301-3/+44
| | | | | | | | | authenticated page contains links to the same protocol and host, those links should inherit the same credentials. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053203
* Fix os.open() sandboxing code that refused anything but read-only access.PJ Eby2006-12-301-2/+2
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053199
* Switch default package-index to cheeseshop.python.org, and makePJ Eby2006-12-291-1/+1
| | | | | | | | setuptools' home page its cheeseshop page. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053196
* Overhauled Windows script wrapping to support ``bdist_wininst`` better.PJ Eby2006-12-293-15/+56
| | | | | | | | | | | | Scripts installed with ``bdist_wininst`` will always use ``#!python.exe`` or ``#!pythonw.exe`` as the executable name (even when built on non-Windows platforms!), and the wrappers will look for the executable in the script's parent directory (which should find the right version of Python). (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053194
* Partial support for cross-platform generation of bdist_wininst .exe's.PJ Eby2006-12-293-10/+17
| | | | | | | | | | | Unfortunately, bdist_wininst doesn't fix up #! lines, so python.exe or pythonw.exe have to be on PATH for generated scripts to work. This could probably be fixed up with a post-install script, but that's a job for another day. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053186
* Work around a distutils bdist_wininst bug: if the user has specified anPJ Eby2006-12-292-1/+8
| | | | | | | | | --install-lib via a configuration file, the path is hardcoded into the .exe file in place of PLATLIB/ or PURELIB/. (Backport from trunk.) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053184
* Fix import problem for bdist_rpm w/Python<2.5PJ Eby2006-12-291-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053182
* Removed all special support for Sourceforge mirrors, as Sourceforge'sPJ Eby2006-12-292-102/+20
| | | | | | | | | mirror system now works well for non-browser downloads. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053178
* Fixed a problem with ``.pth`` testing on Windows when ``sys.executable``PJ Eby2006-12-011-1/+1
| | | | | | | | | has a space in it (e.g., the user installed Python to a ``Program Files`` directory). (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052887
* Fixed not allowing ``os.open()`` of paths outside the sandbox, even if theyPJ Eby2006-10-241-1/+42
| | | | | | | | | | are opened read-only (e.g. reading ``/dev/urandom`` for random numbers, as is done by ``os.urandom()`` on some platforms). (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052438
* Use cross-platform relative paths in ``easy-install.pth`` when doingPJ Eby2006-09-291-3/+44
| | | | | | | | | | ``develop`` and the source directory is a subdirectory of the installation target directory. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052047
* Fix problem generating "eggsecutable" header if dist/ dir doesn't exist yet.PJ Eby2006-09-281-1/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052024
* Allow explicit selection of Sourceforge mirror(s) with ``--sf-mirror``, andPJ Eby2006-09-272-36/+77
| | | | | | | | | further refine download/retry algorithm. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052013
* Should've used distutils.log.warn instead of warnings.warnPJ Eby2006-09-262-4/+4
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052009
* Handle empty revision numbers in SVN 1.4 "entries" formatPJ Eby2006-09-261-1/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052007
* Fixed SF downloads aborting when a SF mirror returns an HTML page when itPJ Eby2006-09-251-22/+22
| | | | | | | | | | should've returned a 404. Fall back to ``sf-mirrors.telecommunity.com`` round-robin address for SF mirrors if ``dl.sourceforge.net`` doesn't work. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052004
* Fix "dev" versions being considered newer than release candidates.PJ Eby2006-09-251-0/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052002
* Add support for "eggsecutable" headers: a /bin/sh script that is prependedPJ Eby2006-09-222-12/+53
| | | | | | | | | | | to an .egg file to allow it to be run as a script on Unix-ish platforms. (This is mainly so that setuptools itself can have a single-file installer on Unix, without doing multiple downloads, dealing with firewalls, etc.) (Backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051969
* Fix bad importPJ Eby2006-09-211-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051966
* Fix bdist_wininst files not being uploaded by "upload"PJ Eby2006-09-212-1/+24
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051964
* Fix ``upload`` not uploading files built by ``bdist_rpm`` on Python 2.3 andPJ Eby2006-09-211-12/+26
| | | | | | | | 2.4. (Backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051961
* Fix easy_install not recognizing win32.exe files that include a custom bitmap.PJ Eby2006-09-211-1/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051957
* Bump version #'s to 0.6c4PJ Eby2006-09-211-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051956
* Backport all known 2.5-compatibility fixesPJ Eby2006-09-204-22/+26
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051935
* Backport some Python 2.5 compatibility workPJ Eby2006-09-201-1/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051932
* Support svn 1.4 working copy format (backport from trunk)PJ Eby2006-09-172-24/+65
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051900
* Bump revision to start work on 0.6c3PJ Eby2006-09-171-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051898
* Generated scripts now use ``-x`` on the ``#!`` line when ``sys.executable``PJ Eby2006-09-062-12/+12
| | | | | | | | | | contains non-ASCII characters, to prevent deprecation warnings about an unspecified encoding when the script is run. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051791
* Make "setup.py develop" of a setuptools-using project installPJ Eby2006-09-061-3/+3
| | | | | | | | | setuptools, if needed, instead of only downloading the egg. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051784
* Don't check installation directory writability and site/.pth setup whenPJ Eby2006-09-061-2/+2
| | | | | | | | using --editable. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051782
* Added quoting of script arguments and extended the quoting logic toJim Fulton2006-08-224-5/+113
| | | | | | | | | | | | | handle embedded quotes. Added support for passing a single argument on the shebang line to pass things like -O and -i. Fixed bug in handling trailing whitespace in Python command. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051487
* bump version number to 0.6c2.devPJ Eby2006-07-211-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050758
* Backport PyPI regex change.PJ Eby2006-07-201-2/+2
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050735
* EasyInstall now includes setuptools version information in thePJ Eby2006-07-201-6/+6
| | | | | | | | ``User-Agent`` string sent to websites it visits. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050733
* Source distributions now always include a ``setup.cfg`` file that explicitlyPJ Eby2006-07-182-29/+29
| | | | | | | | | | | | | | sets ``egg_info`` options such that they produce an identical version number to the source distribution's version number. (Previously, the default version number could be different due to the use of ``--tag-date``, or if the version was overridden on the command line that built the source distribution.) (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050703
* Support ``extra_path`` option to ``setup()`` when ``install`` is run inPJ Eby2006-07-181-9/+9
| | | | | | | | backward-compatibility mode. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050700
* * Fixed ``AttributeError`` when trying to download a ``setup_requires``PJ Eby2006-07-143-4/+4
| | | | | | | | | | | | | | | | | dependency when a distribution lacks a ``dependency_links`` setting. * Made ``zip-safe`` and ``not-zip-safe`` flag files contain a single byte, so as to play better with packaging tools that complain about zero-length files. * Made ``setup.py develop`` respect the ``--no-deps`` option, which it previously was ignoring. (bug fixes backported from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050659
* Fix doubled --tag-build help display (backport from trunk)PJ Eby2006-07-111-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050593
* Bump version #PJ Eby2006-07-111-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050590
* Suppressed warning message about possibly-misspelled project name, if an eggPJ Eby2006-07-111-13/+13
| | | | | | | | | or link for that project name has already been seen. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050581
* Reduce screenscraping required for a package index. Homepage andPJ Eby2006-07-111-25/+66
| | | | | | | | | | | | download URLs can now be marked with 'rel="download"' and 'rel="homepage"' respectively, and the 'Index of Packages' string is no longer required. Since PyPI doesn't yet support rel="" attributes, the old "<th>"-matching code remains, as does the MD5 scraping. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050557