[Python-checkins] r45520 - in python/trunk/Lib: easy_install.py pkg_resources.py setuptools setuptools.egg-info setuptools.egg-info/PKG-INFO setuptools.egg-info/entry_points.txt setuptools.egg-info/top_level.txt setuptools.egg-info/zip-safe test/test_setuptools.py
phillip.eby
python-checkins at python.org
Tue Apr 18 06:05:35 CEST 2006
Author: phillip.eby
Date: Tue Apr 18 06:05:34 2006
New Revision: 45520
Added:
python/trunk/Lib/easy_install.py
- copied unchanged from r45519, sandbox/trunk/setuptools/easy_install.py
python/trunk/Lib/pkg_resources.py
- copied unchanged from r45517, sandbox/trunk/setuptools/pkg_resources.py
python/trunk/Lib/setuptools/
- copied from r45519, sandbox/trunk/setuptools/setuptools/
python/trunk/Lib/setuptools.egg-info/
- copied from r45515, sandbox/trunk/setuptools/setuptools.egg-info/
python/trunk/Lib/setuptools.egg-info/PKG-INFO
python/trunk/Lib/setuptools.egg-info/top_level.txt (contents, props changed)
python/trunk/Lib/setuptools.egg-info/zip-safe
python/trunk/Lib/test/test_setuptools.py (contents, props changed)
Modified:
python/trunk/Lib/setuptools.egg-info/entry_points.txt
Log:
Initial import of setuptools, with integrated tests.
Added: python/trunk/Lib/setuptools.egg-info/PKG-INFO
==============================================================================
--- (empty file)
+++ python/trunk/Lib/setuptools.egg-info/PKG-INFO Tue Apr 18 06:05:34 2006
@@ -0,0 +1,89 @@
+Metadata-Version: 1.0
+Name: setuptools
+Version: 0.7a1dev-r45519
+Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
+Home-page: http://peak.telecommunity.com/DevCenter/setuptools
+Author: Phillip J. Eby
+Author-email: peak at eby-sarna.com
+License: PSF or ZPL
+Description: ``setuptools`` is a collection of enhancements to the Python ``distutils``
+ (for Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum
+ of Python 2.4) that allow you to more easily build and distribute Python
+ packages, especially ones that have dependencies on other packages.
+
+ Packages built and distributed using ``setuptools`` look to the user like
+ ordinary Python packages based on the ``distutils``. Your users don't need to
+ install or even know about setuptools in order to use them, and you don't
+ have to include the entire setuptools package in your distributions. By
+ including just a single `bootstrap module`_ (an 8K .py file), your package will
+ automatically download and install ``setuptools`` if the user is building your
+ package from source and doesn't have a suitable version already installed.
+
+ .. _bootstrap module: http://peak.telecommunity.com/dist/ez_setup.py
+
+ Feature Highlights:
+
+ * Automatically find/download/install/upgrade dependencies at build time using
+ the `EasyInstall tool <http://peak.telecommunity.com/DevCenter/EasyInstall>`_,
+ which supports downloading via HTTP, FTP, Subversion, and SourceForge, and
+ automatically scans web pages linked from PyPI to find download links. (It's
+ the closest thing to CPAN currently available for Python.)
+
+ * Create `Python Eggs <http://peak.telecommunity.com/DevCenter/PythonEggs>`_ -
+ a single-file importable distribution format
+
+ * Include data files inside your package directories, where your code can
+ actually use them. (Python 2.4 distutils also supports this feature, but
+ setuptools provides the feature for Python 2.3 packages also, and supports
+ accessing data files in zipped packages too.)
+
+ * Automatically include all packages in your source tree, without listing them
+ individually in setup.py
+
+ * Automatically include all relevant files in your source distributions,
+ without needing to create a ``MANIFEST.in`` file, and without having to force
+ regeneration of the ``MANIFEST`` file when your source tree changes.
+
+ * Automatically generate wrapper scripts or Windows (console and GUI) .exe
+ files for any number of "main" functions in your project. (Note: this is not
+ a py2exe replacement; the .exe files rely on the local Python installation.)
+
+ * Transparent Pyrex support, so that your setup.py can list ``.pyx`` files and
+ still work even when the end-user doesn't have Pyrex installed (as long as
+ you include the Pyrex-generated C in your source distribution)
+
+ * Command aliases - create project-specific, per-user, or site-wide shortcut
+ names for commonly used commands and options
+
+ * PyPI upload support - upload your source distributions and eggs to PyPI
+
+ * Deploy your project in "development mode", such that it's available on
+ ``sys.path``, yet can still be edited directly from its source checkout.
+
+ * Easily extend the distutils with new commands or ``setup()`` arguments, and
+ distribute/reuse your extensions for multiple projects, without copying code.
+
+ * Create extensible applications and frameworks that automatically discover
+ extensions, using simple "entry points" declared in a project's setup script.
+
+ In addition to the PyPI downloads, the development version of ``setuptools``
+ is available from the `Python SVN sandbox`_, and in-development versions of the
+ `0.6 branch`_ are available as well.
+
+ .. _0.6 branch: http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06
+
+ .. _Python SVN sandbox: http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setuptools-dev
+
+
+Keywords: CPAN PyPI distutils eggs package management
+Platform: UNKNOWN
+Classifier: Development Status :: 3 - Alpha
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: Python Software Foundation License
+Classifier: License :: OSI Approved :: Zope Public License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Topic :: System :: Archiving :: Packaging
+Classifier: Topic :: System :: Systems Administration
+Classifier: Topic :: Utilities
Modified: python/trunk/Lib/setuptools.egg-info/entry_points.txt
==============================================================================
--- sandbox/trunk/setuptools/setuptools.egg-info/entry_points.txt (original)
+++ python/trunk/Lib/setuptools.egg-info/entry_points.txt Tue Apr 18 06:05:34 2006
@@ -28,7 +28,7 @@
[console_scripts]
easy_install = setuptools.command.easy_install:main
-easy_install-2.3 = setuptools.command.easy_install:main
+easy_install-2.5 = setuptools.command.easy_install:main
[distutils.commands]
bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm
@@ -38,7 +38,6 @@
build_py = setuptools.command.build_py:build_py
saveopts = setuptools.command.saveopts:saveopts
egg_info = setuptools.command.egg_info:egg_info
-upload = setuptools.command.upload:upload
install_egg_info = setuptools.command.install_egg_info:install_egg_info
alias = setuptools.command.alias:alias
easy_install = setuptools.command.easy_install:easy_install
Added: python/trunk/Lib/setuptools.egg-info/top_level.txt
==============================================================================
--- (empty file)
+++ python/trunk/Lib/setuptools.egg-info/top_level.txt Tue Apr 18 06:05:34 2006
@@ -0,0 +1,3 @@
+easy_install
+pkg_resources
+setuptools
Added: python/trunk/Lib/setuptools.egg-info/zip-safe
==============================================================================
Added: python/trunk/Lib/test/test_setuptools.py
==============================================================================
--- (empty file)
+++ python/trunk/Lib/test/test_setuptools.py Tue Apr 18 06:05:34 2006
@@ -0,0 +1,16 @@
+"""Tests for setuptools.
+
+The tests for setuptools are defined in the setuptools.tests package;
+this runs them from there.
+"""
+
+import test.test_support
+from setuptools.command.test import ScanningLoader
+
+def test_main():
+ test.test_support.run_suite(
+ ScanningLoader().loadTestsFromName('setuptools.tests')
+ )
+
+if __name__ == "__main__":
+ test_main()
More information about the Python-checkins
mailing list