summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* First draft of shared library build support. See tests/shlib_testPJ Eby2006-01-059-29/+301
| | | | | | | | | | for a trivial example. This has only been tested on Windows with a MinGW compiler, and the Mac OS support isn't finished. Testing w/other platforms+compilers would be helpful. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041927
* Bump version number to start the 0.6a10dev cycle.PJ Eby2006-01-053-3/+3
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041914
* 0.6a9 releasePJ Eby2006-01-041-0/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041911
* Make it clearer that Requirement.parse() is the only way for usersPJ Eby2006-01-032-14/+14
| | | | | | | | to create correct Requirement instances. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041909
* Tweak windows environment variable doc, per user feedback.PJ Eby2006-01-031-3/+4
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041908
* Allow most commands to work with an existing .egg-info directory w/a '-'PJ Eby2005-12-302-24/+25
| | | | | | | | | | in it, but warn about it and refuse to run "develop" until the existing directory is renamed. This should allow older source distributions and checkouts to keep working with 0.6a9. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041857
* Fix unescaped '-' in .egg-info directory names. Note that this meansPJ Eby2005-12-301-1/+1
| | | | | | | | | you must rename any existing .egg-info directory inside a project that has a '-' in it! --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041856
* Make the install_scripts command respect the "build_scripts -e"PJ Eby2005-12-262-9/+9
| | | | | | | | | option when installing generated scripts using the --single-version-externally-managed option. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041815
* Fix typo. :(PJ Eby2005-12-201-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041780
* Fix "legacy mode" trying to install scripts when there are none.PJ Eby2005-12-201-3/+4
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041777
* Changes so that upgrading an existing setuptools to a developmentPJ Eby2005-12-201-6/+6
| | | | | | | | | version doesn't lose its entry points by using the already-installed setuptools as a basis for generating them. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041776
* Incorporate Bob Ippolito's corrections to Mac OS X instructions.PJ Eby2005-12-181-11/+18
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041761
* Add notes about bdist_msi, bdist_nsi, and bdist_deb formats'PJ Eby2005-12-161-7/+15
| | | | | | | | compatibility with setuptools. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041718
* Added "What Your Users Should Know" section, telling package developersPJ Eby2005-12-161-2/+85
| | | | | | | | | | what information they should give to their users about dependencies, network access, system packaging, and other common questions or concerns. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041717
* Fix bdist_dumb support to use .egg-info instead of .egg format.PJ Eby2005-12-161-7/+45
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041716
* Overhaul installation docs to address frequently asked questionsPJ Eby2005-12-162-155/+222
| | | | | | | | | | | and problems, and to document additional approaches to dealing with custom install locations. Also, added a note about the parameters of ``use_setuptools()`` so that persons needing to distribute e.g. an in-development version of setuptools can do so. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041709
* Modify resource extraction to bypass sandbox control so that eggPJ Eby2005-12-151-16/+16
| | | | | | | | extraction during setup runs is not restricted. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041701
* Make install_egg_info track every file it installs, not just thePJ Eby2005-12-151-3/+3
| | | | | | | | directory it installs to. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041699
* Improve startup performance when sys.path contains a lot of eggs, byPJ Eby2005-12-151-11/+11
| | | | | | | | | | caching normalized versions of path entries. It appears that normalizing paths using os.path.realpath is extremely expensive on at least Windows. Caching cuts the overhead by around 30X. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041698
* Added the ``exclude_package_data`` keyword to ``setup()``, allowing youPJ Eby2005-12-155-42/+148
| | | | | | | | | to trim back files included via the ``package_data`` and ``include_package_data`` options. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041693
* Support full roundtrip translation of eggs to and from ``bdist_wininst``PJ Eby2005-12-147-12/+69
| | | | | | | | | | | | | | | format. Running ``bdist_wininst`` on a setuptools-based package wraps the egg in an .exe that will safely install it as an egg (i.e., with metadata and entry-point wrapper scripts), and ``easy_install`` can turn the .exe back into an ``.egg`` file or directory and install it as such. At this point, it should also be possible to "system package" any egg, complete with wrapper scripts, and at least bdist_wininst works now. More testing is needed for at least bdist_dumb and bdist_rpm. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041692
* Refactor script wrapper generation into a separate function so that itPJ Eby2005-12-141-48/+48
| | | | | | | | | can be used by the future install_scripts command to install entry point scripts in "legacy" mode. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041690
* Basic roundtripping support between bdist_wininst and eggs. EasyInstallPJ Eby2005-12-143-41/+40
| | | | | | | | | | | will now recognize when a bdist_wininst .exe wraps a .egg-info style package, and reconstitute it correctly, maintaining the original zip safety flag, if applicable. This still needs support for entrypoint scripts, though, as does the install_scripts command. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041678
* Oops.PJ Eby2005-12-141-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041675
* Added a ``--single-version-externally-managed`` option to the ``install``PJ Eby2005-12-144-41/+98
| | | | | | | | | | | | | | | command so that you can more easily wrap a "flat" egg in a system package. Enhanced ``bdist_rpm`` so that it installs single-version eggs that don't rely on a ``.pth`` file. The ``--no-egg`` option has been removed, since all RPMs are now built in a more backwards-compatible format. Some work is now needed for easy_install to recognize bdist_wininst .exe's that wrap these new flat eggs, as currently the .egg-info will not be recognized. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041673
* Added an internal ``install_egg_info`` command to use as part of old-stylePJ Eby2005-12-145-5/+101
| | | | | | | | | | | ``install`` operations, that installs an ``.egg-info`` directory with the package. This is a preliminary step to implementing "install --single-version-externally-managed" for use with bdist_* commands and Debian. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041670
* Changed ``parse_version()`` to remove dashes before pre-release tags, soPJ Eby2005-12-063-6/+16
| | | | | | | | | | | that ``0.2-rc1`` is considered an *older* version than ``0.2``, and is equal to ``0.2rc1``. The idea that a dash *always* meant a post-release version was highly non-intuitive to setuptools users and Python developers, who seem to want to use ``-rc`` version numbers a lot. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041630
* Added an ``unpack_directory()`` driver to ``setuptools.archive_util``, soPJ Eby2005-12-062-3/+48
| | | | | | | | | that you can process a directory tree through a processing filter as if it were a zipfile or tarfile. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041617
* Remove unneeded code that slipped into last commit.PJ Eby2005-12-061-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041616
* Added support for ``.egg-info`` files or directories with version/platformPJ Eby2005-12-063-31/+46
| | | | | | | | | | | information embedded in the filename, so that system packagers have the option of including ``PKG-INFO`` files to indicate the presence of a system-installed egg, without needing to use ``.egg`` directories, zipfiles, or ``.pth`` manipulation. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041615
* Made all commands that use ``easy_install`` respect its configurationPJ Eby2005-12-013-15/+18
| | | | | | | | | options, as this was causing some problems with ``setup.py install`` ignoring global site-dirs settings. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041573
* Misc. doc enhancementsPJ Eby2005-12-012-7/+18
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041572
* If more than one URL appears to describe the exact same distribution, preferPJ Eby2005-11-262-1/+5
| | | | | | | | | the shortest one. This helps to avoid "table of contents" CGI URLs like the ones on effbot.org. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041550
* Added ``tests_require`` keyword to ``setup()``, so that e.g. packagesPJ Eby2005-11-195-25/+42
| | | | | | | | | requiring ``nose`` to run unit tests can make this dependency optional unless the ``test`` command is run. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041483
* Kludges to make building packages with '-' in their version work withPJ Eby2005-11-191-0/+49
| | | | | | | | | | bdist_rpm. This still doesn't address the issue of building RPMs that don't effectively install as multi-version eggs, but at least now building RPMs for development eggs is possible. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041482
* Added warning for namespace packages with missing ``declare_namespace()``,PJ Eby2005-11-182-23/+93
| | | | | | | | | updated docs for new policy/implementation, and explain the reasons for the change and what to do about it. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041479
* Fixed ``.pth`` file processing picking up nested eggs (i.e. ones insidePJ Eby2005-11-182-3/+8
| | | | | | | | "baskets") when they weren't explicitly listed in the ``.pth`` file. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041477
* Add tutorial section on choosing project version numbers thatPJ Eby2005-11-181-13/+128
| | | | | | | | will work well with automated tools based on pkg_resources. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041476
* Fix .svn exclude pattern for non-Windows platforms.PJ Eby2005-11-181-1/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041475
* Fixed ``--tag-svn-revision`` not working when run from a sourcePJ Eby2005-11-182-4/+7
| | | | | | | | distribution. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041474
* Added the ``include_package_data`` keyword to ``setup()``, allowing you toPJ Eby2005-11-184-50/+79
| | | | | | | | | | | automatically include any package data listed in revision control or ``MANIFEST.in``. Now projects can manage their data files and source manifests without having to maintain two ways to express the same file list. Yay! --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041473
* The ``sdist`` command no longer uses the traditional ``MANIFEST`` file toPJ Eby2005-11-183-21/+84
| | | | | | | | | | | create source distributions. ``MANIFEST.in`` is still read and processed, as are the standard defaults and pruning. But the manifest is built inside the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt every time the ``egg_info`` command is run. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041472
* Build a SOURCES.txt manifest file in .egg-info, that can then be included inPJ Eby2005-11-181-10/+133
| | | | | | | | | | | | sdist distributions to support building an sdist from an sdist (which the bdist_rpm command requires). This will also be the basis for enhanced package data support, that will allow optionally using the manifest to identify package data files instead of having separate manual identification of the data files. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041471
* Bump version number to begin the 0.6a9 developent cyclePJ Eby2005-11-183-3/+3
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041470
* Don't raise an error when an invalid (unfinished) distribution is foundPJ Eby2005-11-182-23/+28
| | | | | | | | | unless absolutely necessary. Warn about skipping invalid/unfinished eggs when building an Environment. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041469
* Quote arguments to python.exe (including python's path) to avoidPJ Eby2005-11-173-10/+10
| | | | | | | | | problems when Python (or a script) is installed in a directory whose name contains spaces. :( --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041460
* 0.6a8 final.PJ Eby2005-11-163-1/+5
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041459
* Update for SourceForge's changed mirror page formatsPJ Eby2005-11-161-7/+7
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041458
* Fixed a problem with nested namespace packages (e.g. ``peak.util``) notPJ Eby2005-11-132-9/+12
| | | | | | | | being set as an attribute of their parent package. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041431
* Record case-insensitivity fix.PJ Eby2005-11-091-0/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041411