summaryrefslogtreecommitdiff
path: root/setuptools/command
Commit message (Collapse)AuthorAgeFilesLines
...
* Support complex .pth files in win32.exe->.egg conversion; this addition phillip.eby2006-03-291-5/+5
| | | | | | | | lets easy_install handle pywin32... well, almost. You still have to deal with the "system" DLLs yourself. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43417 6015fed2-1504-0410-9fe1-9d1591cc4771
* Enhanced test loader to scan packages as well as modules, and callphillip.eby2006-03-281-4/+45
| | | | | | | ``additional_tests()`` if present to get non-unittest tests. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43412 6015fed2-1504-0410-9fe1-9d1591cc4771
* Support Python 2.5, which now includes its own install_egg_info command.phillip.eby2006-03-281-5/+5
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43406 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix ZipImportError when overwriting a zipfile with the same name/version phillip.eby2006-03-241-13/+13
| | | | | | | but different contents. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43297 6015fed2-1504-0410-9fe1-9d1591cc4771
* Remove use of obsolete --ignore-conflicts-at-my-risk optionphillip.eby2006-03-241-2/+2
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43296 6015fed2-1504-0410-9fe1-9d1591cc4771
* Ensure SOURCES.txt references itself even the first time it is generatedphillip.eby2006-03-241-2/+2
| | | | | | | (i.e., when it didn't exist prior to egg_info being run). git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43295 6015fed2-1504-0410-9fe1-9d1591cc4771
* Don't generate a loader .py file in .egg file for extensions that aren't phillip.eby2006-03-211-2/+2
| | | | | | | | actually built. This prevents problems w/customized setups that make some extensions optional (e.g. scipy.distutils). git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43201 6015fed2-1504-0410-9fe1-9d1591cc4771
* Use relative paths in ``.pth`` files when eggs are being installed to thephillip.eby2006-03-201-14/+14
| | | | | | | | same directory as the ``.pth`` file. This maximizes portability of the target directory when building applications that contain eggs. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43178 6015fed2-1504-0410-9fe1-9d1591cc4771
* Tweak the nspkg.pth hack to avoid creating a module if there *is* an phillip.eby2006-03-171-7/+7
| | | | | | | | __init__.py installed. It may be that this should check for .pyc/.pyo, but system packagers don't normally remove them. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43120 6015fed2-1504-0410-9fe1-9d1591cc4771
* Support namespace packages in conjunction with system packagers, by omittingphillip.eby2006-03-173-26/+83
| | | | | | | | | the installation of any ``__init__.py`` files for namespace packages, and adding a special ``.pth`` file to create a working package in ``sys.modules``. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@43119 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added automatic handling of installation conflicts. Eggs are now shifted tophillip.eby2006-03-112-23/+64
| | | | | | | | | | | | the front of sys.path, in an order consistent with where they came from, making EasyInstall seamlessly co-operate with system package managers. The ``--delete-conflicting`` and ``--ignore-conflicts-at-my-risk`` options are now no longer necessary, and will generate warnings at the end of a run if you use them. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42965 6015fed2-1504-0410-9fe1-9d1591cc4771
* Made ``--single-version-externally-managed`` automatic when ``--root`` isphillip.eby2006-03-041-3/+3
| | | | | | | | used, so that most system packagers won't require special support for setuptools. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42823 6015fed2-1504-0410-9fe1-9d1591cc4771
* When installing setup_requires/tests_require packages, use phillip.eby2006-02-281-2/+2
| | | | | | | --multi-version so that '.' doesn't have to support .pth files. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42681 6015fed2-1504-0410-9fe1-9d1591cc4771
* Prevent failed attempts at removing MANIFEST.in from masking errors that phillip.eby2006-02-212-12/+11
| | | | | | | occur while reading it. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42548 6015fed2-1504-0410-9fe1-9d1591cc4771
* Minor tweak to installation report, and add in a hook for later phillip.eby2006-02-141-6/+6
| | | | | | | displaying the "extras" that can be added to a package. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42363 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix a Windows problem when the Python executable is in a directory withphillip.eby2006-02-141-11/+11
| | | | | | | a ' ' in its name. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42359 6015fed2-1504-0410-9fe1-9d1591cc4771
* Don't compress eggs on Python 2.3, as a possible workaround for 64-bit phillip.eby2006-02-131-7/+7
| | | | | | | zipimport bug. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42351 6015fed2-1504-0410-9fe1-9d1591cc4771
* Added exhaustive testing of the install directory, including a spawn testphillip.eby2006-02-131-24/+147
| | | | | | | | for ``.pth`` file support, and directory writability/existence checks. This should virtually eliminate the need to set or configure ``--site-dirs``. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42346 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fixed duplication of scripts inside .egg filesphillip.eby2006-02-132-2/+43
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42345 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fixed the annoying ``--help-commands`` wart, albeit in a mostphillip.eby2006-02-101-6/+47
| | | | | | | unfortunately kludgy fashion. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42312 6015fed2-1504-0410-9fe1-9d1591cc4771
* --prefix support for even more do-what-I-meanishness. :)phillip.eby2006-02-101-32/+72
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42310 6015fed2-1504-0410-9fe1-9d1591cc4771
* Implemented DWIM for PYTHONPATH. That is, ez_setup and easy_installphillip.eby2006-02-102-16/+99
| | | | | | | | should now "just work" if you're using a PYTHONPATH target, and if it can't "just work", you get helpful instructions and doc links. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42308 6015fed2-1504-0410-9fe1-9d1591cc4771
* Ugh. Rereading the Fedora patch shows my previous hack won't actuallyphillip.eby2006-02-101-2/+2
| | | | | | | | accomplish anything useful. This one should, but it needs testing by someone who actually has a Fedora 64-bit x86 setup. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42301 6015fed2-1504-0410-9fe1-9d1591cc4771
* Oops, bad indentation.phillip.eby2006-02-101-2/+2
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42300 6015fed2-1504-0410-9fe1-9d1591cc4771
* Tweak site_dirs detection so that distros with weird layouts (e.g.phillip.eby2006-02-101-4/+4
| | | | | | | | /usr/lib64 patches on 64-bit Fedora) will have a better chance of working "out of the box". git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42299 6015fed2-1504-0410-9fe1-9d1591cc4771
* The ``--find-links`` option previously scanned all supplied URLs andphillip.eby2006-02-081-3/+3
| | | | | | | | | | | directories as early as possible, but now only directories and direct archive links are scanned immediately. URLs are not retrieved unless a package search was already going to go online due to a package not being available locally, or due to the use of the ``--update`` or ``-U`` option. Also, fixed the ``develop`` command ignoring ``--find-links``. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42262 6015fed2-1504-0410-9fe1-9d1591cc4771
* The ``--always-copy`` option now skips "system" and "development" eggs phillip.eby2006-02-071-13/+13
| | | | | | | | | | since they can't be reliably copied. Note that this may cause EasyInstall to choose an older version of a package than what you expected, or it may cause downloading and installation of a fresh version of what's already installed. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42260 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix missing import.phillip.eby2006-01-271-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42195 6015fed2-1504-0410-9fe1-9d1591cc4771
* Expand ``$variables`` used in the ``--site-dirs``, ``--build-directory``,phillip.eby2006-01-261-10/+10
| | | | | | | | ``--install-dir``, and ``--script-dir`` options, whether on the command line or in configuration files. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42191 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix typo.phillip.eby2006-01-221-1/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42148 6015fed2-1504-0410-9fe1-9d1591cc4771
* Tweak build configuration for OS X, based on suggestions from Michael phillip.eby2006-01-141-22/+22
| | | | | | | | Twomey on the distutils-sig. (It looks like we may also need to add an '-install_name' or some such to the library link step.) git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42047 6015fed2-1504-0410-9fe1-9d1591cc4771
* Attempt to define some reasonable flags for OS X linker.phillip.eby2006-01-141-16/+15
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42040 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix broken importphillip.eby2006-01-141-0/+1
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42039 6015fed2-1504-0410-9fe1-9d1591cc4771
* Don't keep the stub .py file around, just the .pyc/.pyo. Don't write phillip.eby2006-01-141-40/+40
| | | | | | | a stub to the source tree if it would overwrite an existing .py file. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42038 6015fed2-1504-0410-9fe1-9d1591cc4771
* Ensure installed stubs get compiled, even if there are no "pure" modules phillip.eby2006-01-132-7/+16
| | | | | | | present. Also, don't bother compiling the stub prior to installation. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42037 6015fed2-1504-0410-9fe1-9d1591cc4771
* Write stub files correctly for build_ext --inplacephillip.eby2006-01-131-21/+21
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42036 6015fed2-1504-0410-9fe1-9d1591cc4771
* Implement LD_LIBRARY_PATH workaround stub loaderphillip.eby2006-01-131-45/+86
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42035 6015fed2-1504-0410-9fe1-9d1591cc4771
* Don't write .py stubs except for actual extensions that don't alreadyphillip.eby2006-01-132-26/+26
| | | | | | | have them. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42034 6015fed2-1504-0410-9fe1-9d1591cc4771
* Oops.phillip.eby2006-01-131-3/+3
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42033 6015fed2-1504-0410-9fe1-9d1591cc4771
* Add experimental code for wrapping relocatable shared libraries onphillip.eby2006-01-131-17/+99
| | | | | | | platforms that support the 'dl' module. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@42032 6015fed2-1504-0410-9fe1-9d1591cc4771
* EasyInstall can now download bare ``.py`` files and wrap them in an egg,phillip.eby2006-01-102-3/+3
| | | | | | | | | | | | as long as you include an ``#egg=name-version`` suffix on the URL, or if the ``.py`` file is listed as the "Download URL" on the project's PyPI page. This allows third parties to "package" trivial Python modules just by linking to them (e.g. from within their own PyPI page or download links page). git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41995 6015fed2-1504-0410-9fe1-9d1591cc4771
* SharedLibrary -> Library. For now, Windows libs get built as shared, phillip.eby2006-01-061-44/+44
| | | | | | | and other platforms get static. :( git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41941 6015fed2-1504-0410-9fe1-9d1591cc4771
* Remove debug print left in by mistake.phillip.eby2006-01-051-3/+3
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41928 6015fed2-1504-0410-9fe1-9d1591cc4771
* First draft of shared library build support. See tests/shlib_testphillip.eby2006-01-051-8/+90
| | | | | | | | | 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. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41927 6015fed2-1504-0410-9fe1-9d1591cc4771
* Allow most commands to work with an existing .egg-info directory w/a '-' phillip.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. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41857 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix unescaped '-' in .egg-info directory names. Note that this means phillip.eby2005-12-301-1/+1
| | | | | | | | you must rename any existing .egg-info directory inside a project that has a '-' in it! git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41856 6015fed2-1504-0410-9fe1-9d1591cc4771
* Make the install_scripts command respect the "build_scripts -e"phillip.eby2005-12-262-9/+9
| | | | | | | | option when installing generated scripts using the --single-version-externally-managed option. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41815 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix "legacy mode" trying to install scripts when there are none.phillip.eby2005-12-201-3/+4
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41777 6015fed2-1504-0410-9fe1-9d1591cc4771
* Fix bdist_dumb support to use .egg-info instead of .egg format.phillip.eby2005-12-161-7/+45
| | | | git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41716 6015fed2-1504-0410-9fe1-9d1591cc4771
* Make install_egg_info track every file it installs, not just thephillip.eby2005-12-151-3/+3
| | | | | | | directory it installs to. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41699 6015fed2-1504-0410-9fe1-9d1591cc4771