aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/bdist_egg.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge Python 3 native support from distributeJason R. Coombs2013-06-181-2/+3
|\ | | | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
| * Merge with upstreamJason R. Coombs2013-06-181-2/+6
| |\ | | | | | | | | | | | | --HG-- branch : distribute
| * | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-2/+3
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | Use new sysconfig module with Python 2.7 or >=3.2.Arfrever Frehtes Taifersar Arahesis2013-06-121-4/+8
| | |
* | | Merge setuptools/command/*Jason R. Coombs2013-05-041-3/+3
|\ \ \ | |_|/ |/| | | | | | | | --HG-- branch : Setuptools-Distribute merge
| * | Copy changes from 1aae1efe5733 for setuptools/command/* (except easy_install.pyJason R. Coombs2013-05-031-3/+3
| | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 0c89fbb19c269ce1cb3bc3e9ece9864127768169
* | | marshall.load() does not necessarily raise ValueError. Fixes #283.Stefan H. Holek2012-10-081-6/+6
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 203cee618118fb65bf109d2db0275aa90aa5a12d
* | | Issue #283: Reenable scanning of *.pyc / *.pyo files on Python 3.3.Arfrever Frehtes Taifersar Arahesis2012-07-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Scanning of these files was fixed in commit 2479772eeea7. --HG-- branch : distribute extra : rebase_source : fcbb14f0e6efc2c42b691fa2a8920816903ede42
* | | Merged in msabramo/distribute_msabramo_py33 (pull request #10)Jason R. Coombs2012-07-211-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 8293d555a44b136a77e31caeb8ec27becf19d462
| * | | Add tests and fix for marshal.load of pyc files on Python 3.3Marc Abramowitz2012-06-261-1/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Fixes https://bitbucket.org/tarek/distribute/issue/283/bdist_egg-issues-with-python-330ax --HG-- branch : distribute extra : rebase_source : ec6f2611d3f8a54b7e11cfadf9d03fdcdef39639
* / | Issue #283 bdist_egg issues with python 3.3.0aXJim Fulton2012-07-141-0/+2
|/ / | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3173cb1ab5550635b8565767059701ab2649ac19
* | Fix for issue192Jason R. Coombs2011-03-161-1/+5
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : cbae39614a979ea69ced9a0541e71b0377c3a9d5
* | fixed typo - thanks to Ted TibbetsTarek Ziade2010-09-211-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 87b145e4977333b08b77bdf857930f456c8b0e13
* | Python 2.7 compattarek2010-01-241-1/+6
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : f60f3110e0dd27c406f8fc48c4ed49da4dec8cac
* | Open zipsafe file in text mode.Martin v. Löwis2009-09-121-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3215e6d146816dc96a2cb23b6a6fb16fd63e1648
* | Replace os.path.walk with os.walk.Martin v. Löwis2009-09-121-2/+4
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 9bc223da3173d759f3c59eb72138e7405b4384ed
* Fix for http://bugs.python.org/setuptools/issue37 - missingPJ Eby2008-09-111-1/+1
| | | | | | | | __loader__ running under Google App Engine. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4066389
* Fix for http://bugs.python.org/setuptools/issue9 (backport from trunk)PJ Eby2008-08-211-3/+3
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065955
* chmod/test cleanups and Jython compatibility (backport from trunk)PJ Eby2008-01-181-1/+42
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060062
* 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
* 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
* Add support for "eggsecutable" headers: a /bin/sh script that is prependedPJ Eby2006-09-221-8/+49
| | | | | | | | | | | 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
* * Fixed ``AttributeError`` when trying to download a ``setup_requires``PJ Eby2006-07-141-1/+1
| | | | | | | | | | | | | | | | | 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 bdist_egg not including files in .egg-info subdirectories.PJ Eby2006-06-071-19/+19
| | | | | | | | (merge from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046722
* Backport doc fixes and 2.4-only -m safety check to 0.6 branchPJ Eby2006-04-281-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045791
* Backport 'module' fixes to 0.6PJ Eby2006-04-241-8/+8
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045696
* Split ``get_platform()`` into ``get_supported_platform()`` andPJ Eby2006-04-181-3/+3
| | | | | | | | | | | ``get_build_platform()`` to work around a Mac versioning problem that caused the behavior of ``compatible_platforms()`` to be platform specific. (Backport from 0.7 trunk, rev 45536) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045538
* Don't generate a loader .py file in .egg file for extensions that aren'tPJ Eby2006-03-211-2/+2
| | | | | | | | | actually built. This prevents problems w/customized setups that make some extensions optional (e.g. scipy.distutils). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043201
* Don't compress eggs on Python 2.3, as a possible workaround for 64-bitPJ Eby2006-02-131-7/+7
| | | | | | | | zipimport bug. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042351
* Fixed duplication of scripts inside .egg filesPJ Eby2006-02-131-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042345
* Don't write .py stubs except for actual extensions that don't alreadyPJ Eby2006-01-131-19/+19
| | | | | | | | have them. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042034
* Basic roundtripping support between bdist_wininst and eggs. EasyInstallPJ Eby2005-12-141-21/+21
| | | | | | | | | | | 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
* Detect .dll, .so, .dylib and .pyd files that might havePJ Eby2005-11-091-15/+15
| | | | | | | | | been included in a project as data files rather than as Python extensions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041409
* Work around a problem with SuSE Linux's patched install_lib command, byPJ Eby2005-09-031-3/+44
| | | | | | | | figuring out the extension paths without its help. :( --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041234
* Simplify non-root install process and improve Mac OS docs for it. SupportPJ Eby2005-08-231-5/+1
| | | | | | | | | .pth files and legacy packages possibly being symlinks, and ensure that overwrites don't follow the symlink. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041229
* Make easy_install --record strip the RPM root when building RPMs, and havePJ Eby2005-08-221-0/+4
| | | | | | | | | | bdist_egg ignore the RPM root when building an egg. This version now can actually run bdist_rpm to completion, although the resulting RPM will install an egg without a corresponding .pth file. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041226
* Auto-generate namespace __init__.py files for packages without them. ThisPJ Eby2005-08-141-27/+27
| | | | | | | | | | | | is a workaround for packages like 'll-color', which are distributed without 'll/__init__.py', to avoid overwriting ll-core's copy of ll/__init__.py. This allows existing packages that use this sort of kludging to be treated as a crude namespace package, as long as the "real" __init__.py also calls declare_namespace(). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041204
* Update zip-safety scanner to check for modules that might be used asPJ Eby2005-07-121-5/+5
| | | | | | | | | ``python -m`` scripts. Misc. fixes for win32.exe support, including changes to support Python 2.4's changed ``bdist_wininst`` format. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041123
* Enhanced "zip safety" analysis (including scan of win32.exe's) and havePJ Eby2005-07-111-61/+102
| | | | | | | | EasyInstall act on zip safety flags. Add a lot more docs for setuptools. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041115
* First-pass implementation of zippability analysis; scans for impurePJ Eby2005-07-101-39/+80
| | | | | | | | | | distribution or use of __file__/__path__ and selected 'inspect' operations. Currently, the analysis is a bit overconservative; when the runtime is more robust, it should probably allow extensions to be zipped by default. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041114
* Allow EasyInstall to accept a directory containing a setup script as onePJ Eby2005-07-101-2/+2
| | | | | | | | | of its arguments. Fix swapped short option names for --bdist-dir and --dist-dir in bdist_egg. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041110
* Detect and handle conflicts with "unmanaged" packages when installingPJ Eby2005-07-101-4/+45
| | | | | | | | | packages managed by EasyInstall. Also, add an option to exclude source files from .egg distributions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041109
* Fix typos in option specs for bdist_egg.PJ Eby2005-07-091-2/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041103
* Added ``egg_info`` command to ``setuptools``-based packages. This commandPJ Eby2005-07-061-98/+57
| | | | | | | | | | just creates or updates the "projectname.egg-info" directory, without building an egg. It's used by the ``bdist_egg`` command now, and will be used by the ``test`` and ``develop`` commands later on. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041077
* Fix a problem using bdist_egg with non-setuptools distributions.PJ Eby2005-07-041-5/+5
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041076
* EasyInstall/setuptools 0.5a4: significant new features, including automaticPJ Eby2005-06-271-46/+46
| | | | | | | | | installation of dependencies, the ability to specify dependencies in a setup script, and several new options to control EasyInstall's behavior. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041073
* Make write_stub() a function, so easy_install can use it too.PJ Eby2005-06-151-15/+56
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041067
* Add support for quiet/verbose/dry-run/optimize flags.PJ Eby2005-06-141-8/+8
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041064
* Add 'ez_setup' bootstrap installer. Prep for 0.4a2 release.PJ Eby2005-06-121-16/+16
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041054
* Restructure easy_install as a distutils "Command" object, so that it canPJ Eby2005-06-121-7/+7
| | | | | | | | | | access the distutils configuration and logging infrastructure, and can "inherit" options from a distutils setup script that wants to use it to install its own dependencies. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041052