Commit Graph

6466 Commits

Author SHA1 Message Date
Bob Ippolito a188a950c9 Reformat pkg_resources in PEP 8 style
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040995
2005-03-24 19:21:53 +00:00
PJ Eby ee8b1aa7f2 Add a working pkg_resources implementation that handles extraction and
basic support for non-egg resources.  Still a lot to do, but this version
is capable of not only extracting and running C extensions, it can even
find its own runtime (pkg_resources) if it's included in the egg.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040994
2005-03-23 00:42:52 +00:00
PJ Eby 5a50fc1e14 Fix bootstrap loader so extracted files don't have to be on sys.path.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040993
2005-03-22 18:55:59 +00:00
PJ Eby 79a74b06ce Create stub loaders for C extensions, so that the actual dynamic library
can be extracted from the egg.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040992
2005-03-22 00:15:03 +00:00
PJ Eby 8c07c4fa8d Allow user-supplied metadata from EGG-INFO.in directory (directory name can
be overridden with a command-line option).

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040991
2005-03-21 20:41:57 +00:00
PJ Eby 6d85a80186 Add python version to egg filename.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040990
2005-03-21 20:12:33 +00:00
PJ Eby e9230cf512 Add 'bdist_egg' command/format to allow creating "Python Eggs" (see
http://peak.telecommunity.com/DevCenter/PythonEggs for details).  This
version only supports pure libraries and does not support user-defined
metadata.  But it's sufficient to make .egg files that can be placed on
PYTHONPATH and used.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040989
2005-03-21 19:50:46 +00:00
Fred Drake ecc9eaadaa remove blank line pollution
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040905
2004-06-17 20:37:44 +00:00
Fred Drake 0f429b9bc6 fix to make things continue to work when we're *not* running under
Python 2.4; this was broken by my earlier change to avoid stomping on
Python 2.4's build_py command

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040902
2004-06-15 19:00:03 +00:00
Fred Drake dfc00cc146 Deal with the distutils on the head; package_data may already be supported.
In this case, setuptools need not override the build_py command.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040900
2004-06-14 14:15:34 +00:00
Fred Drake 9274fa3cfb remove excess blank lines, and apply whitespace more in line with the Python
style guidelines in PEP 8

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040896
2004-04-05 20:21:53 +00:00
Fred Drake 1c904e7a58 - remove trailing blank lines
- use whitespace according to the Python style guide

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040895
2004-04-05 20:02:45 +00:00
Fred Drake ba79fc03ef remove trailing blank line
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040894
2004-04-05 19:59:11 +00:00
PJ Eby 2e83526e51 Compute command line that should be passed to child setup scripts.
Warn user if unsupported options are supplied, and cancel unless
'depends -i' (aka '--ignore-extra-args') was used.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040880
2004-03-22 01:12:31 +00:00
PJ Eby 7ce55cabc5 Flesh out 'depends' command to display dependencies' status, and halt if
all requirements aren't met.  (Also, check planned install location for
the dependencies, as well as checking sys.path.)  Also:

* Allow 'Feature()' objects to include 'Require()' objects, so that
  dependencies can be optional

* 'Require()' objects can set a homepage, whose URL will be displayed by
  the 'depends' command if the dependency needs to be installed.

* Misc. fixes/refactoring of version validation to properly handle
  "unknown" versions, and to decouple version fetching from version
  checking.

* Updated TODO to remove various completed items.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040876
2004-03-20 20:52:12 +00:00
PJ Eby 8423e1ed14 Initial checkin of setuptools 0.0.1.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869
2004-03-19 20:53:14 +00:00