METADATA 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953
  1. Metadata-Version: 2.0
  2. Name: setuptools
  3. Version: 3.6
  4. Summary: Easily download, build, install, upgrade, and uninstall Python packages
  5. Home-page: https://pypi.python.org/pypi/setuptools
  6. Author: Python Packaging Authority
  7. Author-email: distutils-sig@python.org
  8. License: PSF or ZPL
  9. Keywords: CPAN PyPI distutils eggs package management
  10. Platform: UNKNOWN
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Intended Audience :: Developers
  13. Classifier: License :: OSI Approved :: Python Software Foundation License
  14. Classifier: License :: OSI Approved :: Zope Public License
  15. Classifier: Operating System :: OS Independent
  16. Classifier: Programming Language :: Python :: 2.6
  17. Classifier: Programming Language :: Python :: 2.7
  18. Classifier: Programming Language :: Python :: 3
  19. Classifier: Programming Language :: Python :: 3.1
  20. Classifier: Programming Language :: Python :: 3.2
  21. Classifier: Programming Language :: Python :: 3.3
  22. Classifier: Programming Language :: Python :: 3.4
  23. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  24. Classifier: Topic :: System :: Archiving :: Packaging
  25. Classifier: Topic :: System :: Systems Administration
  26. Classifier: Topic :: Utilities
  27. Provides-Extra: ssl:sys_platform=='win32'
  28. Requires-Dist: wincertstore (==0.2); extra == "ssl:sys_platform=='win32'"
  29. Provides-Extra: certs
  30. Requires-Dist: certifi (==1.0.1); extra == 'certs'
  31. ===============================
  32. Installing and Using Setuptools
  33. ===============================
  34. .. contents:: **Table of Contents**
  35. -------------------------
  36. Installation Instructions
  37. -------------------------
  38. The recommended way to bootstrap setuptools on any system is to download
  39. `ez_setup.py`_ and run it using the target Python environment. Different
  40. operating systems have different recommended techniques to accomplish this
  41. basic routine, so below are some examples to get you started.
  42. Setuptools requires Python 2.6 or later. To install setuptools
  43. on Python 2.4 or Python 2.5, use the `bootstrap script for Setuptools 1.x
  44. <https://bitbucket.org/pypa/setuptools/raw/bootstrap-py24/ez_setup.py>`_.
  45. The link provided to ez_setup.py is a bookmark to bootstrap script for the
  46. latest known stable release.
  47. .. _ez_setup.py: https://bootstrap.pypa.io/ez_setup.py
  48. Windows 8 (Powershell)
  49. ======================
  50. For best results, uninstall previous versions FIRST (see `Uninstalling`_).
  51. Using Windows 8 or later, it's possible to install with one simple Powershell
  52. command. Start up Powershell and paste this command::
  53. > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python -
  54. You must start the Powershell with Administrative privileges or you may choose
  55. to install a user-local installation::
  56. > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python - --user
  57. If you have Python 3.3 or later, you can use the ``py`` command to install to
  58. different Python versions. For example, to install to Python 3.3 if you have
  59. Python 2.7 installed::
  60. > (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | py -3 -
  61. The recommended way to install setuptools on Windows is to download
  62. `ez_setup.py`_ and run it. The script will download the appropriate .egg
  63. file and install it for you.
  64. Once installation is complete, you will find an ``easy_install`` program in
  65. your Python ``Scripts`` subdirectory. For simple invocation and best results,
  66. add this directory to your ``PATH`` environment variable, if it is not already
  67. present. If you did a user-local install, the ``Scripts`` subdirectory is
  68. ``$env:APPDATA\Python\Scripts``.
  69. Windows 7 (or graphical install)
  70. ================================
  71. For Windows 7 and earlier, download `ez_setup.py`_ using your favorite web
  72. browser or other technique and "run" that file.
  73. Unix (wget)
  74. ===========
  75. Most Linux distributions come with wget.
  76. Download `ez_setup.py`_ and run it using the target Python version. The script
  77. will download the appropriate version and install it for you::
  78. > wget https://bootstrap.pypa.io/ez_setup.py -O - | python
  79. Note that you will may need to invoke the command with superuser privileges to
  80. install to the system Python::
  81. > wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
  82. Alternatively, Setuptools may be installed to a user-local path::
  83. > wget https://bootstrap.pypa.io/ez_setup.py -O - | python - --user
  84. Unix including Mac OS X (curl)
  85. ==============================
  86. If your system has curl installed, follow the ``wget`` instructions but
  87. replace ``wget`` with ``curl`` and ``-O`` with ``-o``. For example::
  88. > curl https://bootstrap.pypa.io/ez_setup.py -o - | python
  89. Advanced Installation
  90. =====================
  91. For more advanced installation options, such as installing to custom
  92. locations or prefixes, download and extract the source
  93. tarball from `Setuptools on PyPI <https://pypi.python.org/pypi/setuptools>`_
  94. and run setup.py with any supported distutils and Setuptools options.
  95. For example::
  96. setuptools-x.x$ python setup.py install --prefix=/opt/setuptools
  97. Use ``--help`` to get a full options list, but we recommend consulting
  98. the `EasyInstall manual`_ for detailed instructions, especially `the section
  99. on custom installation locations`_.
  100. .. _EasyInstall manual: https://pythonhosted.org/setuptools/EasyInstall
  101. .. _the section on custom installation locations: https://pythonhosted.org/setuptools/EasyInstall#custom-installation-locations
  102. Downloads
  103. =========
  104. All setuptools downloads can be found at `the project's home page in the Python
  105. Package Index`_. Scroll to the very bottom of the page to find the links.
  106. .. _the project's home page in the Python Package Index: https://pypi.python.org/pypi/setuptools
  107. In addition to the PyPI downloads, the development version of ``setuptools``
  108. is available from the `Bitbucket repo`_, and in-development versions of the
  109. `0.6 branch`_ are available as well.
  110. .. _Bitbucket repo: https://bitbucket.org/pypa/setuptools/get/default.tar.gz#egg=setuptools-dev
  111. .. _0.6 branch: http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06
  112. Uninstalling
  113. ============
  114. On Windows, if Setuptools was installed using an ``.exe`` or ``.msi``
  115. installer, simply use the uninstall feature of "Add/Remove Programs" in the
  116. Control Panel.
  117. Otherwise, to uninstall Setuptools or Distribute, regardless of the Python
  118. version, delete all ``setuptools*`` and ``distribute*`` files and
  119. directories from your system's ``site-packages`` directory
  120. (and any other ``sys.path`` directories) FIRST.
  121. If you are upgrading or otherwise plan to re-install Setuptools or Distribute,
  122. nothing further needs to be done. If you want to completely remove Setuptools,
  123. you may also want to remove the 'easy_install' and 'easy_install-x.x' scripts
  124. and associated executables installed to the Python scripts directory.
  125. --------------------------------
  126. Using Setuptools and EasyInstall
  127. --------------------------------
  128. Here are some of the available manuals, tutorials, and other resources for
  129. learning about Setuptools, Python Eggs, and EasyInstall:
  130. * `The EasyInstall user's guide and reference manual`_
  131. * `The setuptools Developer's Guide`_
  132. * `The pkg_resources API reference`_
  133. * `Package Compatibility Notes`_ (user-maintained)
  134. * `The Internal Structure of Python Eggs`_
  135. Questions, comments, and bug reports should be directed to the `distutils-sig
  136. mailing list`_. If you have written (or know of) any tutorials, documentation,
  137. plug-ins, or other resources for setuptools users, please let us know about
  138. them there, so this reference list can be updated. If you have working,
  139. *tested* patches to correct problems or add features, you may submit them to
  140. the `setuptools bug tracker`_.
  141. .. _setuptools bug tracker: https://bitbucket.org/pypa/setuptools/issues
  142. .. _Package Compatibility Notes: https://pythonhosted.org/setuptools/PackageNotes
  143. .. _The Internal Structure of Python Eggs: https://pythonhosted.org/setuptools/formats.html
  144. .. _The setuptools Developer's Guide: https://pythonhosted.org/setuptools/setuptools.html
  145. .. _The pkg_resources API reference: https://pythonhosted.org/setuptools/pkg_resources.html
  146. .. _The EasyInstall user's guide and reference manual: https://pythonhosted.org/setuptools/easy_install.html
  147. .. _distutils-sig mailing list: http://mail.python.org/pipermail/distutils-sig/
  148. -------
  149. Credits
  150. -------
  151. * The original design for the ``.egg`` format and the ``pkg_resources`` API was
  152. co-created by Phillip Eby and Bob Ippolito. Bob also implemented the first
  153. version of ``pkg_resources``, and supplied the OS X operating system version
  154. compatibility algorithm.
  155. * Ian Bicking implemented many early "creature comfort" features of
  156. easy_install, including support for downloading via Sourceforge and
  157. Subversion repositories. Ian's comments on the Web-SIG about WSGI
  158. application deployment also inspired the concept of "entry points" in eggs,
  159. and he has given talks at PyCon and elsewhere to inform and educate the
  160. community about eggs and setuptools.
  161. * Jim Fulton contributed time and effort to build automated tests of various
  162. aspects of ``easy_install``, and supplied the doctests for the command-line
  163. ``.exe`` wrappers on Windows.
  164. * Phillip J. Eby is the seminal author of setuptools, and
  165. first proposed the idea of an importable binary distribution format for
  166. Python application plug-ins.
  167. * Significant parts of the implementation of setuptools were funded by the Open
  168. Source Applications Foundation, to provide a plug-in infrastructure for the
  169. Chandler PIM application. In addition, many OSAF staffers (such as Mike
  170. "Code Bear" Taylor) contributed their time and stress as guinea pigs for the
  171. use of eggs and setuptools, even before eggs were "cool". (Thanks, guys!)
  172. * Tarek Ziadé is the principal author of the Distribute fork, which
  173. re-invigorated the community on the project, encouraged renewed innovation,
  174. and addressed many defects.
  175. * Since the merge with Distribute, Jason R. Coombs is the
  176. maintainer of setuptools. The project is maintained in coordination with
  177. the Python Packaging Authority (PyPA) and the larger Python community.
  178. .. _files:
  179. =======
  180. CHANGES
  181. =======
  182. ---
  183. 3.6
  184. ---
  185. * `Issue #203 <https://bitbucket.org/pypa/setuptools/issue/203>`_: Honor proxy settings for Powershell downloader in the bootstrap
  186. routine.
  187. -----
  188. 3.5.2
  189. -----
  190. * `Issue #168 <https://bitbucket.org/pypa/setuptools/issue/168>`_: More robust handling of replaced zip files and stale caches.
  191. Fixes ZipImportError complaining about a 'bad local header'.
  192. -----
  193. 3.5.1
  194. -----
  195. * `Issue #199 <https://bitbucket.org/pypa/setuptools/issue/199>`_: Restored ``install._install`` for compatibility with earlier
  196. NumPy versions.
  197. ---
  198. 3.5
  199. ---
  200. * `Issue #195 <https://bitbucket.org/pypa/setuptools/issue/195>`_: Follow symbolic links in find_packages (restoring behavior
  201. broken in 3.4).
  202. * `Issue #197 <https://bitbucket.org/pypa/setuptools/issue/197>`_: On Python 3.1, PKG-INFO is now saved in a UTF-8 encoding instead
  203. of ``sys.getpreferredencoding`` to match the behavior on Python 2.6-3.4.
  204. * `Issue #192 <https://bitbucket.org/pypa/setuptools/issue/192>`_: Preferred bootstrap location is now
  205. https://bootstrap.pypa.io/ez_setup.py (mirrored from former location).
  206. -----
  207. 3.4.4
  208. -----
  209. * `Issue #184 <https://bitbucket.org/pypa/setuptools/issue/184>`_: Correct failure where find_package over-matched packages
  210. when directory traversal isn't short-circuited.
  211. -----
  212. 3.4.3
  213. -----
  214. * `Issue #183 <https://bitbucket.org/pypa/setuptools/issue/183>`_: Really fix test command with Python 3.1.
  215. -----
  216. 3.4.2
  217. -----
  218. * `Issue #183 <https://bitbucket.org/pypa/setuptools/issue/183>`_: Fix additional regression in test command on Python 3.1.
  219. -----
  220. 3.4.1
  221. -----
  222. * `Issue #180 <https://bitbucket.org/pypa/setuptools/issue/180>`_: Fix regression in test command not caught by py.test-run tests.
  223. ---
  224. 3.4
  225. ---
  226. * `Issue #176 <https://bitbucket.org/pypa/setuptools/issue/176>`_: Add parameter to the test command to support a custom test
  227. runner: --test-runner or -r.
  228. * `Issue #177 <https://bitbucket.org/pypa/setuptools/issue/177>`_: Now assume most common invocation to install command on
  229. platforms/environments without stack support (issuing a warning). Setuptools
  230. now installs naturally on IronPython. Behavior on CPython should be
  231. unchanged.
  232. ---
  233. 3.3
  234. ---
  235. * Add ``include`` parameter to ``setuptools.find_packages()``.
  236. ---
  237. 3.2
  238. ---
  239. * `Pull Request #39 <https://bitbucket.org/pypa/setuptools/pull-request/39>`_: Add support for C++ targets from Cython ``.pyx`` files.
  240. * `Issue #162 <https://bitbucket.org/pypa/setuptools/issue/162>`_: Update dependency on certifi to 1.0.1.
  241. * `Issue #164 <https://bitbucket.org/pypa/setuptools/issue/164>`_: Update dependency on wincertstore to 0.2.
  242. ---
  243. 3.1
  244. ---
  245. * `Issue #161 <https://bitbucket.org/pypa/setuptools/issue/161>`_: Restore Features functionality to allow backward compatibility
  246. (for Features) until the uses of that functionality is sufficiently removed.
  247. -----
  248. 3.0.2
  249. -----
  250. * Correct typo in previous bugfix.
  251. -----
  252. 3.0.1
  253. -----
  254. * `Issue #157 <https://bitbucket.org/pypa/setuptools/issue/157>`_: Restore support for Python 2.6 in bootstrap script where
  255. ``zipfile.ZipFile`` does not yet have support for context managers.
  256. ---
  257. 3.0
  258. ---
  259. * `Issue #125 <https://bitbucket.org/pypa/setuptools/issue/125>`_: Prevent Subversion support from creating a ~/.subversion
  260. directory just for checking the presence of a Subversion repository.
  261. * `Issue #12 <https://bitbucket.org/pypa/setuptools/issue/12>`_: Namespace packages are now imported lazily. That is, the mere
  262. declaration of a namespace package in an egg on ``sys.path`` no longer
  263. causes it to be imported when ``pkg_resources`` is imported. Note that this
  264. change means that all of a namespace package's ``__init__.py`` files must
  265. include a ``declare_namespace()`` call in order to ensure that they will be
  266. handled properly at runtime. In 2.x it was possible to get away without
  267. including the declaration, but only at the cost of forcing namespace
  268. packages to be imported early, which 3.0 no longer does.
  269. * `Issue #148 <https://bitbucket.org/pypa/setuptools/issue/148>`_: When building (bdist_egg), setuptools no longer adds
  270. ``__init__.py`` files to namespace packages. Any packages that rely on this
  271. behavior will need to create ``__init__.py`` files and include the
  272. ``declare_namespace()``.
  273. * `Issue #7 <https://bitbucket.org/pypa/setuptools/issue/7>`_: Setuptools itself is now distributed as a zip archive in addition to
  274. tar archive. ez_setup.py now uses zip archive. This approach avoids the potential
  275. security vulnerabilities presented by use of tar archives in ez_setup.py.
  276. It also leverages the security features added to ZipFile.extract in Python 2.7.4.
  277. * `Issue #65 <https://bitbucket.org/pypa/setuptools/issue/65>`_: Removed deprecated Features functionality.
  278. * `Pull Request #28 <https://bitbucket.org/pypa/setuptools/pull-request/28>`_: Remove backport of ``_bytecode_filenames`` which is
  279. available in Python 2.6 and later, but also has better compatibility with
  280. Python 3 environments.
  281. * `Issue #156 <https://bitbucket.org/pypa/setuptools/issue/156>`_: Fix spelling of __PYVENV_LAUNCHER__ variable.
  282. ---
  283. 2.2
  284. ---
  285. * `Issue #141 <https://bitbucket.org/pypa/setuptools/issue/141>`_: Restored fix for allowing setup_requires dependencies to
  286. override installed dependencies during setup.
  287. * `Issue #128 <https://bitbucket.org/pypa/setuptools/issue/128>`_: Fixed issue where only the first dependency link was honored
  288. in a distribution where multiple dependency links were supplied.
  289. -----
  290. 2.1.2
  291. -----
  292. * `Issue #144 <https://bitbucket.org/pypa/setuptools/issue/144>`_: Read long_description using codecs module to avoid errors
  293. installing on systems where LANG=C.
  294. -----
  295. 2.1.1
  296. -----
  297. * `Issue #139 <https://bitbucket.org/pypa/setuptools/issue/139>`_: Fix regression in re_finder for CVS repos (and maybe Git repos
  298. as well).
  299. ---
  300. 2.1
  301. ---
  302. * `Issue #129 <https://bitbucket.org/pypa/setuptools/issue/129>`_: Suppress inspection of ``*.whl`` files when searching for files
  303. in a zip-imported file.
  304. * `Issue #131 <https://bitbucket.org/pypa/setuptools/issue/131>`_: Fix RuntimeError when constructing an egg fetcher.
  305. -----
  306. 2.0.2
  307. -----
  308. * Fix NameError during installation with Python implementations (e.g. Jython)
  309. not containing parser module.
  310. * Fix NameError in ``sdist:re_finder``.
  311. -----
  312. 2.0.1
  313. -----
  314. * `Issue #124 <https://bitbucket.org/pypa/setuptools/issue/124>`_: Fixed error in list detection in upload_docs.
  315. ---
  316. 2.0
  317. ---
  318. * `Issue #121 <https://bitbucket.org/pypa/setuptools/issue/121>`_: Exempt lib2to3 pickled grammars from DirectorySandbox.
  319. * `Issue #41 <https://bitbucket.org/pypa/setuptools/issue/41>`_: Dropped support for Python 2.4 and Python 2.5. Clients requiring
  320. setuptools for those versions of Python should use setuptools 1.x.
  321. * Removed ``setuptools.command.easy_install.HAS_USER_SITE``. Clients
  322. expecting this boolean variable should use ``site.ENABLE_USER_SITE``
  323. instead.
  324. * Removed ``pkg_resources.ImpWrapper``. Clients that expected this class
  325. should use ``pkgutil.ImpImporter`` instead.
  326. -----
  327. 1.4.2
  328. -----
  329. * `Issue #116 <https://bitbucket.org/pypa/setuptools/issue/116>`_: Correct TypeError when reading a local package index on Python
  330. 3.
  331. -----
  332. 1.4.1
  333. -----
  334. * `Issue #114 <https://bitbucket.org/pypa/setuptools/issue/114>`_: Use ``sys.getfilesystemencoding`` for decoding config in
  335. ``bdist_wininst`` distributions.
  336. * `Issue #105 <https://bitbucket.org/pypa/setuptools/issue/105>`_ and `Issue #113 <https://bitbucket.org/pypa/setuptools/issue/113>`_: Establish a more robust technique for
  337. determining the terminal encoding::
  338. 1. Try ``getpreferredencoding``
  339. 2. If that returns US_ASCII or None, try the encoding from
  340. ``getdefaultlocale``. If that encoding was a "fallback" because Python
  341. could not figure it out from the environment or OS, encoding remains
  342. unresolved.
  343. 3. If the encoding is resolved, then make sure Python actually implements
  344. the encoding.
  345. 4. On the event of an error or unknown codec, revert to fallbacks
  346. (UTF-8 on Darwin, ASCII on everything else).
  347. 5. On the encoding is 'mac-roman' on Darwin, use UTF-8 as 'mac-roman' was
  348. a bug on older Python releases.
  349. On a side note, it would seem that the encoding only matters for when SVN
  350. does not yet support ``--xml`` and when getting repository and svn version
  351. numbers. The ``--xml`` technique should yield UTF-8 according to some
  352. messages on the SVN mailing lists. So if the version numbers are always
  353. 7-bit ASCII clean, it may be best to only support the file parsing methods
  354. for legacy SVN releases and support for SVN without the subprocess command
  355. would simple go away as support for the older SVNs does.
  356. ---
  357. 1.4
  358. ---
  359. * `Issue #27 <https://bitbucket.org/pypa/setuptools/issue/27>`_: ``easy_install`` will now use credentials from .pypirc if
  360. present for connecting to the package index.
  361. * `Pull Request #21 <https://bitbucket.org/pypa/setuptools/pull-request/21>`_: Omit unwanted newlines in ``package_index._encode_auth``
  362. when the username/password pair length indicates wrapping.
  363. -----
  364. 1.3.2
  365. -----
  366. * `Issue #99 <https://bitbucket.org/pypa/setuptools/issue/99>`_: Fix filename encoding issues in SVN support.
  367. -----
  368. 1.3.1
  369. -----
  370. * Remove exuberant warning in SVN support when SVN is not used.
  371. ---
  372. 1.3
  373. ---
  374. * Address security vulnerability in SSL match_hostname check as reported in
  375. `Python #17997 <http://bugs.python.org/issue17997>`_.
  376. * Prefer `backports.ssl_match_hostname
  377. <https://pypi.python.org/pypi/backports.ssl_match_hostname>`_ for backport
  378. implementation if present.
  379. * Correct NameError in ``ssl_support`` module (``socket.error``).
  380. ---
  381. 1.2
  382. ---
  383. * `Issue #26 <https://bitbucket.org/pypa/setuptools/issue/26>`_: Add support for SVN 1.7. Special thanks to Philip Thiem for the
  384. contribution.
  385. * `Issue #93 <https://bitbucket.org/pypa/setuptools/issue/93>`_: Wheels are now distributed with every release. Note that as
  386. reported in `Issue #108 <https://bitbucket.org/pypa/setuptools/issue/108>`_, as of Pip 1.4, scripts aren't installed properly
  387. from wheels. Therefore, if using Pip to install setuptools from a wheel,
  388. the ``easy_install`` command will not be available.
  389. * Setuptools "natural" launcher support, introduced in 1.0, is now officially
  390. supported.
  391. -----
  392. 1.1.7
  393. -----
  394. * Fixed behavior of NameError handling in 'script template (dev).py' (script
  395. launcher for 'develop' installs).
  396. * ``ez_setup.py`` now ensures partial downloads are cleaned up following
  397. a failed download.
  398. * `Distribute #363 <https://bitbucket.org/tarek/distribute/issue/363>`_ and `Issue #55 <https://bitbucket.org/pypa/setuptools/issue/55>`_: Skip an sdist test that fails on locales
  399. other than UTF-8.
  400. -----
  401. 1.1.6
  402. -----
  403. * `Distribute #349 <https://bitbucket.org/tarek/distribute/issue/349>`_: ``sandbox.execfile`` now opens the target file in binary
  404. mode, thus honoring a BOM in the file when compiled.
  405. -----
  406. 1.1.5
  407. -----
  408. * `Issue #69 <https://bitbucket.org/pypa/setuptools/issue/69>`_: Second attempt at fix (logic was reversed).
  409. -----
  410. 1.1.4
  411. -----
  412. * `Issue #77 <https://bitbucket.org/pypa/setuptools/issue/77>`_: Fix error in upload command (Python 2.4).
  413. -----
  414. 1.1.3
  415. -----
  416. * Fix NameError in previous patch.
  417. -----
  418. 1.1.2
  419. -----
  420. * `Issue #69 <https://bitbucket.org/pypa/setuptools/issue/69>`_: Correct issue where 404 errors are returned for URLs with
  421. fragments in them (such as #egg=).
  422. -----
  423. 1.1.1
  424. -----
  425. * `Issue #75 <https://bitbucket.org/pypa/setuptools/issue/75>`_: Add ``--insecure`` option to ez_setup.py to accommodate
  426. environments where a trusted SSL connection cannot be validated.
  427. * `Issue #76 <https://bitbucket.org/pypa/setuptools/issue/76>`_: Fix AttributeError in upload command with Python 2.4.
  428. ---
  429. 1.1
  430. ---
  431. * `Issue #71 <https://bitbucket.org/pypa/setuptools/issue/71>`_ (`Distribute #333 <https://bitbucket.org/tarek/distribute/issue/333>`_): EasyInstall now puts less emphasis on the
  432. condition when a host is blocked via ``--allow-hosts``.
  433. * `Issue #72 <https://bitbucket.org/pypa/setuptools/issue/72>`_: Restored Python 2.4 compatibility in ``ez_setup.py``.
  434. ---
  435. 1.0
  436. ---
  437. * `Issue #60 <https://bitbucket.org/pypa/setuptools/issue/60>`_: On Windows, Setuptools supports deferring to another launcher,
  438. such as Vinay Sajip's `pylauncher <https://bitbucket.org/pypa/pylauncher>`_
  439. (included with Python 3.3) to launch console and GUI scripts and not install
  440. its own launcher executables. This experimental functionality is currently
  441. only enabled if the ``SETUPTOOLS_LAUNCHER`` environment variable is set to
  442. "natural". In the future, this behavior may become default, but only after
  443. it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER``
  444. also accepts "executable" to force the default behavior of creating launcher
  445. executables.
  446. * `Issue #63 <https://bitbucket.org/pypa/setuptools/issue/63>`_: Bootstrap script (ez_setup.py) now prefers Powershell, curl, or
  447. wget for retrieving the Setuptools tarball for improved security of the
  448. install. The script will still fall back to a simple ``urlopen`` on
  449. platforms that do not have these tools.
  450. * `Issue #65 <https://bitbucket.org/pypa/setuptools/issue/65>`_: Deprecated the ``Features`` functionality.
  451. * `Issue #52 <https://bitbucket.org/pypa/setuptools/issue/52>`_: In ``VerifyingHTTPSConn``, handle a tunnelled (proxied)
  452. connection.
  453. Backward-Incompatible Changes
  454. =============================
  455. This release includes a couple of backward-incompatible changes, but most if
  456. not all users will find 1.0 a drop-in replacement for 0.9.
  457. * `Issue #50 <https://bitbucket.org/pypa/setuptools/issue/50>`_: Normalized API of environment marker support. Specifically,
  458. removed line number and filename from SyntaxErrors when returned from
  459. `pkg_resources.invalid_marker`. Any clients depending on the specific
  460. string representation of exceptions returned by that function may need to
  461. be updated to account for this change.
  462. * `Issue #50 <https://bitbucket.org/pypa/setuptools/issue/50>`_: SyntaxErrors generated by `pkg_resources.invalid_marker` are
  463. normalized for cross-implementation consistency.
  464. * Removed ``--ignore-conflicts-at-my-risk`` and ``--delete-conflicting``
  465. options to easy_install. These options have been deprecated since 0.6a11.
  466. -----
  467. 0.9.8
  468. -----
  469. * `Issue #53 <https://bitbucket.org/pypa/setuptools/issue/53>`_: Fix NameErrors in `_vcs_split_rev_from_url`.
  470. -----
  471. 0.9.7
  472. -----
  473. * `Issue #49 <https://bitbucket.org/pypa/setuptools/issue/49>`_: Correct AttributeError on PyPy where a hashlib.HASH object does
  474. not have a `.name` attribute.
  475. * `Issue #34 <https://bitbucket.org/pypa/setuptools/issue/34>`_: Documentation now refers to bootstrap script in code repository
  476. referenced by bookmark.
  477. * Add underscore-separated keys to environment markers (markerlib).
  478. -----
  479. 0.9.6
  480. -----
  481. * `Issue #44 <https://bitbucket.org/pypa/setuptools/issue/44>`_: Test failure on Python 2.4 when MD5 hash doesn't have a `.name`
  482. attribute.
  483. -----
  484. 0.9.5
  485. -----
  486. * `Python #17980 <http://bugs.python.org/issue17980>`_: Fix security vulnerability in SSL certificate validation.
  487. -----
  488. 0.9.4
  489. -----
  490. * `Issue #43 <https://bitbucket.org/pypa/setuptools/issue/43>`_: Fix issue (introduced in 0.9.1) with version resolution when
  491. upgrading over other releases of Setuptools.
  492. -----
  493. 0.9.3
  494. -----
  495. * `Issue #42 <https://bitbucket.org/pypa/setuptools/issue/42>`_: Fix new ``AttributeError`` introduced in last fix.
  496. -----
  497. 0.9.2
  498. -----
  499. * `Issue #42 <https://bitbucket.org/pypa/setuptools/issue/42>`_: Fix regression where blank checksums would trigger an
  500. ``AttributeError``.
  501. -----
  502. 0.9.1
  503. -----
  504. * `Distribute #386 <https://bitbucket.org/tarek/distribute/issue/386>`_: Allow other positional and keyword arguments to os.open.
  505. * Corrected dependency on certifi mis-referenced in 0.9.
  506. ---
  507. 0.9
  508. ---
  509. * `package_index` now validates hashes other than MD5 in download links.
  510. ---
  511. 0.8
  512. ---
  513. * Code base now runs on Python 2.4 - Python 3.3 without Python 2to3
  514. conversion.
  515. -----
  516. 0.7.8
  517. -----
  518. * `Distribute #375 <https://bitbucket.org/tarek/distribute/issue/375>`_: Yet another fix for yet another regression.
  519. -----
  520. 0.7.7
  521. -----
  522. * `Distribute #375 <https://bitbucket.org/tarek/distribute/issue/375>`_: Repair AttributeError created in last release (redo).
  523. * `Issue #30 <https://bitbucket.org/pypa/setuptools/issue/30>`_: Added test for get_cache_path.
  524. -----
  525. 0.7.6
  526. -----
  527. * `Distribute #375 <https://bitbucket.org/tarek/distribute/issue/375>`_: Repair AttributeError created in last release.
  528. -----
  529. 0.7.5
  530. -----
  531. * `Issue #21 <https://bitbucket.org/pypa/setuptools/issue/21>`_: Restore Python 2.4 compatibility in ``test_easy_install``.
  532. * `Distribute #375 <https://bitbucket.org/tarek/distribute/issue/375>`_: Merged additional warning from Distribute 0.6.46.
  533. * Now honor the environment variable
  534. ``SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT`` in addition to the now
  535. deprecated ``DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT``.
  536. -----
  537. 0.7.4
  538. -----
  539. * `Issue #20 <https://bitbucket.org/pypa/setuptools/issue/20>`_: Fix comparison of parsed SVN version on Python 3.
  540. -----
  541. 0.7.3
  542. -----
  543. * `Issue #1 <https://bitbucket.org/pypa/setuptools/issue/1>`_: Disable installation of Windows-specific files on non-Windows systems.
  544. * Use new sysconfig module with Python 2.7 or >=3.2.
  545. -----
  546. 0.7.2
  547. -----
  548. * `Issue #14 <https://bitbucket.org/pypa/setuptools/issue/14>`_: Use markerlib when the `parser` module is not available.
  549. * `Issue #10 <https://bitbucket.org/pypa/setuptools/issue/10>`_: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI.
  550. -----
  551. 0.7.1
  552. -----
  553. * Fix NameError (`Issue #3 <https://bitbucket.org/pypa/setuptools/issue/3>`_) again - broken in bad merge.
  554. ---
  555. 0.7
  556. ---
  557. * Merged Setuptools and Distribute. See docs/merge.txt for details.
  558. Added several features that were slated for setuptools 0.6c12:
  559. * Index URL now defaults to HTTPS.
  560. * Added experimental environment marker support. Now clients may designate a
  561. PEP-426 environment marker for "extra" dependencies. Setuptools uses this
  562. feature in ``setup.py`` for optional SSL and certificate validation support
  563. on older platforms. Based on Distutils-SIG discussions, the syntax is
  564. somewhat tentative. There should probably be a PEP with a firmer spec before
  565. the feature should be considered suitable for use.
  566. * Added support for SSL certificate validation when installing packages from
  567. an HTTPS service.
  568. -----
  569. 0.7b4
  570. -----
  571. * `Issue #3 <https://bitbucket.org/pypa/setuptools/issue/3>`_: Fixed NameError in SSL support.
  572. ------
  573. 0.6.49
  574. ------
  575. * Move warning check in ``get_cache_path`` to follow the directory creation
  576. to avoid errors when the cache path does not yet exist. Fixes the error
  577. reported in `Distribute #375 <https://bitbucket.org/tarek/distribute/issue/375>`_.
  578. ------
  579. 0.6.48
  580. ------
  581. * Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in
  582. 0.6.46 (redo).
  583. ------
  584. 0.6.47
  585. ------
  586. * Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in
  587. 0.6.46.
  588. ------
  589. 0.6.46
  590. ------
  591. * `Distribute #375 <https://bitbucket.org/tarek/distribute/issue/375>`_: Issue a warning if the PYTHON_EGG_CACHE or otherwise
  592. customized egg cache location specifies a directory that's group- or
  593. world-writable.
  594. ------
  595. 0.6.45
  596. ------
  597. * `Distribute #379 <https://bitbucket.org/tarek/distribute/issue/379>`_: ``distribute_setup.py`` now traps VersionConflict as well,
  598. restoring ability to upgrade from an older setuptools version.
  599. ------
  600. 0.6.44
  601. ------
  602. * ``distribute_setup.py`` has been updated to allow Setuptools 0.7 to
  603. satisfy use_setuptools.
  604. ------
  605. 0.6.43
  606. ------
  607. * `Distribute #378 <https://bitbucket.org/tarek/distribute/issue/378>`_: Restore support for Python 2.4 Syntax (regression in 0.6.42).
  608. ------
  609. 0.6.42
  610. ------
  611. * External links finder no longer yields duplicate links.
  612. * `Distribute #337 <https://bitbucket.org/tarek/distribute/issue/337>`_: Moved site.py to setuptools/site-patch.py (graft of very old
  613. patch from setuptools trunk which inspired PR `#31 <https://bitbucket.org/pypa/setuptools/issue/31>`_).
  614. ------
  615. 0.6.41
  616. ------
  617. * `Distribute #27 <https://bitbucket.org/tarek/distribute/issue/27>`_: Use public api for loading resources from zip files rather than
  618. the private method `_zip_directory_cache`.
  619. * Added a new function ``easy_install.get_win_launcher`` which may be used by
  620. third-party libraries such as buildout to get a suitable script launcher.
  621. ------
  622. 0.6.40
  623. ------
  624. * `Distribute #376 <https://bitbucket.org/tarek/distribute/issue/376>`_: brought back cli.exe and gui.exe that were deleted in the
  625. previous release.
  626. ------
  627. 0.6.39
  628. ------
  629. * Add support for console launchers on ARM platforms.
  630. * Fix possible issue in GUI launchers where the subsystem was not supplied to
  631. the linker.
  632. * Launcher build script now refactored for robustness.
  633. * `Distribute #375 <https://bitbucket.org/tarek/distribute/issue/375>`_: Resources extracted from a zip egg to the file system now also
  634. check the contents of the file against the zip contents during each
  635. invocation of get_resource_filename.
  636. ------
  637. 0.6.38
  638. ------
  639. * `Distribute #371 <https://bitbucket.org/tarek/distribute/issue/371>`_: The launcher manifest file is now installed properly.
  640. ------
  641. 0.6.37
  642. ------
  643. * `Distribute #143 <https://bitbucket.org/tarek/distribute/issue/143>`_: Launcher scripts, including easy_install itself, are now
  644. accompanied by a manifest on 32-bit Windows environments to avoid the
  645. Installer Detection Technology and thus undesirable UAC elevation described
  646. in `this Microsoft article
  647. <http://technet.microsoft.com/en-us/library/cc709628%28WS.10%29.aspx>`_.
  648. ------
  649. 0.6.36
  650. ------
  651. * `Pull Request #35 <https://bitbucket.org/pypa/setuptools/pull-request/35>`_: In `Buildout #64 <https://github.com/buildout/buildout/issues/64>`_, it was reported that
  652. under Python 3, installation of distutils scripts could attempt to copy
  653. the ``__pycache__`` directory as a file, causing an error, apparently only
  654. under Windows. Easy_install now skips all directories when processing
  655. metadata scripts.
  656. ------
  657. 0.6.35
  658. ------
  659. Note this release is backward-incompatible with distribute 0.6.23-0.6.34 in
  660. how it parses version numbers.
  661. * `Distribute #278 <https://bitbucket.org/tarek/distribute/issue/278>`_: Restored compatibility with distribute 0.6.22 and setuptools
  662. 0.6. Updated the documentation to match more closely with the version
  663. parsing as intended in setuptools 0.6.
  664. ------
  665. 0.6.34
  666. ------
  667. * `Distribute #341 <https://bitbucket.org/tarek/distribute/issue/341>`_: 0.6.33 fails to build under Python 2.4.
  668. ------
  669. 0.6.33
  670. ------
  671. * Fix 2 errors with Jython 2.5.
  672. * Fix 1 failure with Jython 2.5 and 2.7.
  673. * Disable workaround for Jython scripts on Linux systems.
  674. * `Distribute #336 <https://bitbucket.org/tarek/distribute/issue/336>`_: `setup.py` no longer masks failure exit code when tests fail.
  675. * Fix issue in pkg_resources where try/except around a platform-dependent
  676. import would trigger hook load failures on Mercurial. See pull request 32
  677. for details.
  678. * `Distribute #341 <https://bitbucket.org/tarek/distribute/issue/341>`_: Fix a ResourceWarning.
  679. ------
  680. 0.6.32
  681. ------
  682. * Fix test suite with Python 2.6.
  683. * Fix some DeprecationWarnings and ResourceWarnings.
  684. * `Distribute #335 <https://bitbucket.org/tarek/distribute/issue/335>`_: Backed out `setup_requires` superceding installed requirements
  685. until regression can be addressed.
  686. ------
  687. 0.6.31
  688. ------
  689. * `Distribute #303 <https://bitbucket.org/tarek/distribute/issue/303>`_: Make sure the manifest only ever contains UTF-8 in Python 3.
  690. * `Distribute #329 <https://bitbucket.org/tarek/distribute/issue/329>`_: Properly close files created by tests for compatibility with
  691. Jython.
  692. * Work around `Jython #1980 <http://bugs.jython.org/issue1980>`_ and `Jython #1981 <http://bugs.jython.org/issue1981>`_.
  693. * `Distribute #334 <https://bitbucket.org/tarek/distribute/issue/334>`_: Provide workaround for packages that reference `sys.__stdout__`
  694. such as numpy does. This change should address
  695. `virtualenv `#359 <https://bitbucket.org/pypa/setuptools/issue/359>`_ <https://github.com/pypa/virtualenv/issues/359>`_ as long
  696. as the system encoding is UTF-8 or the IO encoding is specified in the
  697. environment, i.e.::
  698. PYTHONIOENCODING=utf8 pip install numpy
  699. * Fix for encoding issue when installing from Windows executable on Python 3.
  700. * `Distribute #323 <https://bitbucket.org/tarek/distribute/issue/323>`_: Allow `setup_requires` requirements to supercede installed
  701. requirements. Added some new keyword arguments to existing pkg_resources
  702. methods. Also had to updated how __path__ is handled for namespace packages
  703. to ensure that when a new egg distribution containing a namespace package is
  704. placed on sys.path, the entries in __path__ are found in the same order they
  705. would have been in had that egg been on the path when pkg_resources was
  706. first imported.
  707. ------
  708. 0.6.30
  709. ------
  710. * `Distribute #328 <https://bitbucket.org/tarek/distribute/issue/328>`_: Clean up temporary directories in distribute_setup.py.
  711. * Fix fatal bug in distribute_setup.py.
  712. ------
  713. 0.6.29
  714. ------
  715. * `Pull Request #14 <https://bitbucket.org/pypa/setuptools/pull-request/14>`_: Honor file permissions in zip files.
  716. * `Distribute #327 <https://bitbucket.org/tarek/distribute/issue/327>`_: Merged pull request `#24 <https://bitbucket.org/pypa/setuptools/issue/24>`_ to fix a dependency problem with pip.
  717. * Merged pull request `#23 <https://bitbucket.org/pypa/setuptools/issue/23>`_ to fix https://github.com/pypa/virtualenv/issues/301.
  718. * If Sphinx is installed, the `upload_docs` command now runs `build_sphinx`
  719. to produce uploadable documentation.
  720. * `Distribute #326 <https://bitbucket.org/tarek/distribute/issue/326>`_: `upload_docs` provided mangled auth credentials under Python 3.
  721. * `Distribute #320 <https://bitbucket.org/tarek/distribute/issue/320>`_: Fix check for "createable" in distribute_setup.py.
  722. * `Distribute #305 <https://bitbucket.org/tarek/distribute/issue/305>`_: Remove a warning that was triggered during normal operations.
  723. * `Distribute #311 <https://bitbucket.org/tarek/distribute/issue/311>`_: Print metadata in UTF-8 independent of platform.
  724. * `Distribute #303 <https://bitbucket.org/tarek/distribute/issue/303>`_: Read manifest file with UTF-8 encoding under Python 3.
  725. * `Distribute #301 <https://bitbucket.org/tarek/distribute/issue/301>`_: Allow to run tests of namespace packages when using 2to3.
  726. * `Distribute #304 <https://bitbucket.org/tarek/distribute/issue/304>`_: Prevent import loop in site.py under Python 3.3.
  727. * `Distribute #283 <https://bitbucket.org/tarek/distribute/issue/283>`_: Reenable scanning of `*.pyc` / `*.pyo` files on Python 3.3.
  728. * `Distribute #299 <https://bitbucket.org/tarek/distribute/issue/299>`_: The develop command didn't work on Python 3, when using 2to3,
  729. as the egg link would go to the Python 2 source. Linking to the 2to3'd code
  730. in build/lib makes it work, although you will have to rebuild the module
  731. before testing it.
  732. * `Distribute #306 <https://bitbucket.org/tarek/distribute/issue/306>`_: Even if 2to3 is used, we build in-place under Python 2.
  733. * `Distribute #307 <https://bitbucket.org/tarek/distribute/issue/307>`_: Prints the full path when .svn/entries is broken.
  734. * `Distribute #313 <https://bitbucket.org/tarek/distribute/issue/313>`_: Support for sdist subcommands (Python 2.7)
  735. * `Distribute #314 <https://bitbucket.org/tarek/distribute/issue/314>`_: test_local_index() would fail an OS X.
  736. * `Distribute #310 <https://bitbucket.org/tarek/distribute/issue/310>`_: Non-ascii characters in a namespace __init__.py causes errors.
  737. * `Distribute #218 <https://bitbucket.org/tarek/distribute/issue/218>`_: Improved documentation on behavior of `package_data` and
  738. `include_package_data`. Files indicated by `package_data` are now included
  739. in the manifest.
  740. * `distribute_setup.py` now allows a `--download-base` argument for retrieving
  741. distribute from a specified location.
  742. ------
  743. 0.6.28
  744. ------
  745. * `Distribute #294 <https://bitbucket.org/tarek/distribute/issue/294>`_: setup.py can now be invoked from any directory.
  746. * Scripts are now installed honoring the umask.
  747. * Added support for .dist-info directories.
  748. * `Distribute #283 <https://bitbucket.org/tarek/distribute/issue/283>`_: Fix and disable scanning of `*.pyc` / `*.pyo` files on
  749. Python 3.3.
  750. ------
  751. 0.6.27
  752. ------
  753. * Support current snapshots of CPython 3.3.
  754. * Distribute now recognizes README.rst as a standard, default readme file.
  755. * Exclude 'encodings' modules when removing modules from sys.modules.
  756. Workaround for `#285 <https://bitbucket.org/pypa/setuptools/issue/285>`_.
  757. * `Distribute #231 <https://bitbucket.org/tarek/distribute/issue/231>`_: Don't fiddle with system python when used with buildout
  758. (bootstrap.py)
  759. ------
  760. 0.6.26
  761. ------
  762. * `Distribute #183 <https://bitbucket.org/tarek/distribute/issue/183>`_: Symlinked files are now extracted from source distributions.
  763. * `Distribute #227 <https://bitbucket.org/tarek/distribute/issue/227>`_: Easy_install fetch parameters are now passed during the
  764. installation of a source distribution; now fulfillment of setup_requires
  765. dependencies will honor the parameters passed to easy_install.
  766. ------
  767. 0.6.25
  768. ------
  769. * `Distribute #258 <https://bitbucket.org/tarek/distribute/issue/258>`_: Workaround a cache issue
  770. * `Distribute #260 <https://bitbucket.org/tarek/distribute/issue/260>`_: distribute_setup.py now accepts the --user parameter for
  771. Python 2.6 and later.
  772. * `Distribute #262 <https://bitbucket.org/tarek/distribute/issue/262>`_: package_index.open_with_auth no longer throws LookupError
  773. on Python 3.
  774. * `Distribute #269 <https://bitbucket.org/tarek/distribute/issue/269>`_: AttributeError when an exception occurs reading Manifest.in
  775. on late releases of Python.
  776. * `Distribute #272 <https://bitbucket.org/tarek/distribute/issue/272>`_: Prevent TypeError when namespace package names are unicode
  777. and single-install-externally-managed is used. Also fixes PIP issue
  778. 449.
  779. * `Distribute #273 <https://bitbucket.org/tarek/distribute/issue/273>`_: Legacy script launchers now install with Python2/3 support.
  780. ------
  781. 0.6.24
  782. ------
  783. * `Distribute #249 <https://bitbucket.org/tarek/distribute/issue/249>`_: Added options to exclude 2to3 fixers
  784. ------
  785. 0.6.23
  786. ------
  787. * `Distribute #244 <https://bitbucket.org/tarek/distribute/issue/244>`_: Fixed a test
  788. * `Distribute #243 <https://bitbucket.org/tarek/distribute/issue/243>`_: Fixed a test
  789. * `Distribute #239 <https://bitbucket.org/tarek/distribute/issue/239>`_: Fixed a test
  790. * `Distribute #240 <https://bitbucket.org/tarek/distribute/issue/240>`_: Fixed a test
  791. * `Distribute #241 <https://bitbucket.org/tarek/distribute/issue/241>`_: Fixed a test
  792. * `Distribute #237 <https://bitbucket.org/tarek/distribute/issue/237>`_: Fixed a test
  793. * `Distribute #238 <https://bitbucket.org/tarek/distribute/issue/238>`_: easy_install now uses 64bit executable wrappers on 64bit Python
  794. * `Distribute #208 <https://bitbucket.org/tarek/distribute/issue/208>`_: Fixed parsed_versions, it now honors post-releases as noted in the documentation
  795. * `Distribute #207 <https://bitbucket.org/tarek/distribute/issue/207>`_: Windows cli and gui wrappers pass CTRL-C to child python process
  796. * `Distribute #227 <https://bitbucket.org/tarek/distribute/issue/227>`_: easy_install now passes its arguments to setup.py bdist_egg
  797. * `Distribute #225 <https://bitbucket.org/tarek/distribute/issue/225>`_: Fixed a NameError on Python 2.5, 2.4
  798. ------
  799. 0.6.21
  800. ------
  801. * `Distribute #225 <https://bitbucket.org/tarek/distribute/issue/225>`_: FIxed a regression on py2.4
  802. ------
  803. 0.6.20
  804. ------
  805. * `Distribute #135 <https://bitbucket.org/tarek/distribute/issue/135>`_: Include url in warning when processing URLs in package_index.
  806. * `Distribute #212 <https://bitbucket.org/tarek/distribute/issue/212>`_: Fix issue where easy_instal fails on Python 3 on windows installer.
  807. * `Distribute #213 <https://bitbucket.org/tarek/distribute/issue/213>`_: Fix typo in documentation.
  808. ------
  809. 0.6.19
  810. ------
  811. * `Distribute #206 <https://bitbucket.org/tarek/distribute/issue/206>`_: AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
  812. ------
  813. 0.6.18
  814. ------
  815. * `Distribute #210 <https://bitbucket.org/tarek/distribute/issue/210>`_: Fixed a regression introduced by `Distribute #204 <https://bitbucket.org/tarek/distribute/issue/204>`_ fix.
  816. ------
  817. 0.6.17
  818. ------
  819. * Support 'DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT' environment
  820. variable to allow to disable installation of easy_install-${version} script.
  821. * Support Python >=3.1.4 and >=3.2.1.
  822. * `Distribute #204 <https://bitbucket.org/tarek/distribute/issue/204>`_: Don't try to import the parent of a namespace package in
  823. declare_namespace
  824. * `Distribute #196 <https://bitbucket.org/tarek/distribute/issue/196>`_: Tolerate responses with multiple Content-Length headers
  825. * `Distribute #205 <https://bitbucket.org/tarek/distribute/issue/205>`_: Sandboxing doesn't preserve working_set. Leads to setup_requires
  826. problems.
  827. ------
  828. 0.6.16
  829. ------
  830. * Builds sdist gztar even on Windows (avoiding `Distribute #193 <https://bitbucket.org/tarek/distribute/issue/193>`_).
  831. * `Distribute #192 <https://bitbucket.org/tarek/distribute/issue/192>`_: Fixed metadata omitted on Windows when package_dir
  832. specified with forward-slash.
  833. * `Distribute #195 <https://bitbucket.org/tarek/distribute/issue/195>`_: Cython build support.
  834. * `Distribute #200 <https://bitbucket.org/tarek/distribute/issue/200>`_: Issues with recognizing 64-bit packages on Windows.
  835. ------
  836. 0.6.15
  837. ------
  838. * Fixed typo in bdist_egg
  839. * Several issues under Python 3 has been solved.
  840. * `Distribute #146 <https://bitbucket.org/tarek/distribute/issue/146>`_: Fixed missing DLL files after easy_install of windows exe package.
  841. ------
  842. 0.6.14
  843. ------
  844. * `Distribute #170 <https://bitbucket.org/tarek/distribute/issue/170>`_: Fixed unittest failure. Thanks to Toshio.
  845. * `Distribute #171 <https://bitbucket.org/tarek/distribute/issue/171>`_: Fixed race condition in unittests cause deadlocks in test suite.
  846. * `Distribute #143 <https://bitbucket.org/tarek/distribute/issue/143>`_: Fixed a lookup issue with easy_install.
  847. Thanks to David and Zooko.
  848. * `Distribute #174 <https://bitbucket.org/tarek/distribute/issue/174>`_: Fixed the edit mode when its used with setuptools itself
  849. ------
  850. 0.6.13
  851. ------
  852. * `Distribute #160 <https://bitbucket.org/tarek/distribute/issue/160>`_: 2.7 gives ValueError("Invalid IPv6 URL")
  853. * `Distribute #150 <https://bitbucket.org/tarek/distribute/issue/150>`_: Fixed using ~/.local even in a --no-site-packages virtualenv
  854. * `Distribute #163 <https://bitbucket.org/tarek/distribute/issue/163>`_: scan index links before external links, and don't use the md5 when
  855. comparing two distributions
  856. ------
  857. 0.6.12
  858. ------
  859. * `Distribute #149 <https://bitbucket.org/tarek/distribute/issue/149>`_: Fixed various failures on 2.3/2.4
  860. ------
  861. 0.6.11
  862. ------
  863. * Found another case of SandboxViolation - fixed
  864. * `Distribute #15 <https://bitbucket.org/tarek/distribute/issue/15>`_ and `Distribute #48 <https://bitbucket.org/tarek/distribute/issue/48>`_: Introduced a socket timeout of 15 seconds on url openings
  865. * Added indexsidebar.html into MANIFEST.in
  866. * `Distribute #108 <https://bitbucket.org/tarek/distribute/issue/108>`_: Fixed TypeError with Python3.1
  867. * `Distribute #121 <https://bitbucket.org/tarek/distribute/issue/121>`_: Fixed --help install command trying to actually install.
  868. * `Distribute #112 <https://bitbucket.org/tarek/distribute/issue/112>`_: Added an os.makedirs so that Tarek's solution will work.
  869. * `Distribute #133 <https://bitbucket.org/tarek/distribute/issue/133>`_: Added --no-find-links to easy_install
  870. * Added easy_install --user
  871. * `Distribute #100 <https://bitbucket.org/tarek/distribute/issue/100>`_: Fixed develop --user not taking '.' in PYTHONPATH into account
  872. * `Distribute #134 <https://bitbucket.org/tarek/distribute/issue/134>`_: removed spurious UserWarnings. Patch by VanLindberg
  873. * `Distribute #138 <https://bitbucket.org/tarek/distribute/issue/138>`_: cant_write_to_target error when setup_requires is used.
  874. * `Distribute #147 <https://bitbucket.org/tarek/distribute/issue/147>`_: respect the sys.dont_write_bytecode flag
  875. ------
  876. 0.6.10
  877. ------
  878. * Reverted change made for the DistributionNotFound exception because
  879. zc.buildout uses the exception message to get the name of the
  880. distribution.
  881. -----
  882. 0.6.9
  883. -----
  884. * `Distribute #90 <https://bitbucket.org/tarek/distribute/issue/90>`_: unknown setuptools version can be added in the working set
  885. * `Distribute #87 <https://bitbucket.org/tarek/distribute/issue/87>`_: setupt.py doesn't try to convert distribute_setup.py anymore
  886. Initial Patch by arfrever.
  887. * `Distribute #89 <https://bitbucket.org/tarek/distribute/issue/89>`_: added a side bar with a download link to the doc.
  888. * `Distribute #86 <https://bitbucket.org/tarek/distribute/issue/86>`_: fixed missing sentence in pkg_resources doc.
  889. * Added a nicer error message when a DistributionNotFound is raised.
  890. * `Distribute #80 <https://bitbucket.org/tarek/distribute/issue/80>`_: test_develop now works with Python 3.1
  891. * `Distribute #93 <https://bitbucket.org/tarek/distribute/issue/93>`_: upload_docs now works if there is an empty sub-directory.
  892. * `Distribute #70 <https://bitbucket.org/tarek/distribute/issue/70>`_: exec bit on non-exec files
  893. * `Distribute #99 <https://bitbucket.org/tarek/distribute/issue/99>`_: now the standalone easy_install command doesn't uses a
  894. "setup.cfg" if any exists in the working directory. It will use it
  895. only if triggered by ``install_requires`` from a setup.py call
  896. (install, develop, etc).
  897. * `Distribute #101 <https://bitbucket.org/tarek/distribute/issue/101>`_: Allowing ``os.devnull`` in Sandbox
  898. * `Distribute #92 <https://bitbucket.org/tarek/distribute/issue/92>`_: Fixed the "no eggs" found error with MacPort
  899. (platform.mac_ver() fails)
  900. * `Distribute #103 <https://bitbucket.org/tarek/distribute/issue/103>`_: test_get_script_header_jython_workaround not run
  901. anymore under py3 with C or POSIX local. Contributed by Arfrever.
  902. * `Distribute #104 <https://bitbucket.org/tarek/distribute/issue/104>`_: remvoved the assertion when the installation fails,
  903. with a nicer message for the end user.
  904. * `Distribute #100 <https://bitbucket.org/tarek/distribute/issue/100>`_: making sure there's no SandboxViolation when
  905. the setup script patches setuptools.
  906. -----
  907. 0.6.8
  908. -----
  909. * Added "check_packages" in dist. (added in Setuptools 0.6c11)
  910. * Fixed the DONT_PATCH_SETUPTOOLS state.
  911. -----
  912. 0.6.7
  913. -----
  914. * `Distribute #58 <https://bitbucket.org/tarek/distribute/issue/58>`_: Added --user support to the develop command
  915. * `Distribute #11 <https://bitbucket.org/tarek/distribute/issue/11>`_: Generated scripts now wrap their call to the script entry point
  916. in the standard "if name == 'main'"
  917. * Added the 'DONT_PATCH_SETUPTOOLS' environment variable, so virtualenv
  918. can drive an installation that doesn't patch a global setuptools.
  919. * Reviewed unladen-swallow specific change from
  920. http://code.google.com/p/unladen-swallow/source/detail?spec=svn875&r=719
  921. and determined that it no longer applies. Distribute should work fine with
  922. Unladen Swallow 2009Q3.
  923. * `Distribute #21 <https://bitbucket.org/tarek/distribute/issue/21>`_: Allow PackageIndex.open_url to gracefully handle all cases of a
  924. httplib.HTTPException instead of just InvalidURL and BadStatusLine.
  925. * Removed virtual-python.py from this distribution and updated documentation
  926. to point to the actively maintained virtualenv instead.
  927. * `Distribute #64 <https://bitbucket.org/tarek/distribute/issue/64>`_: use_setuptools no longer rebuilds the distribute egg every
  928. time it is run
  929. * use_setuptools now properly respects the requested version
  930. * use_setuptools will no longer try to import a distribute egg for the
  931. wrong Python version
  932. * `Distribute #74 <https://bitbucket.org/tarek/distribute/issue/74>`_: no_fake should be True by default.
  933. * `Distribute #72 <https://bitbucket.org/tarek/distribute/issue/72>`_: avoid a bootstrapping issue with easy_install -U
  934. -----
  935. 0.6.6
  936. -----
  937. * Unified the bootstrap file so it works on both py2.x and py3k without 2to3
  938. (patch by Holger Krekel)
  939. -----
  940. 0.6.5
  941. -----
  942. * `Distribute #65 <https://bitbucket.org/tarek/distribute/issue/65>`_: cli.exe and gui.exe are now generated at build time,
  943. depending on the platform in use.
  944. * `Distribute #67 <https://bitbucket.org/tarek/distribute/issue/67>`_: Fixed doc typo (PEP 381/382)
  945. * Distribute no longer shadows setuptools if we require a 0.7-series
  946. setuptools. And an error is raised when installing a 0.7 setuptools with
  947. distribute.
  948. * When run from within buildout, no attempt is made to modify an existing
  949. setuptools egg, whether in a shared egg directory or a system setuptools.
  950. * Fixed a hole in sandboxing allowing builtin file to write outside of
  951. the sandbox.
  952. -----
  953. 0.6.4
  954. -----
  955. * Added the generation of `distribute_setup_3k.py` during the release.
  956. This closes `Distribute #52 <https://bitbucket.org/tarek/distribute/issue/52>`_.
  957. * Added an upload_docs command to easily upload project documentation to
  958. PyPI's https://pythonhosted.org. This close issue `Distribute #56 <https://bitbucket.org/tarek/distribute/issue/56>`_.
  959. * Fixed a bootstrap bug on the use_setuptools() API.
  960. -----
  961. 0.6.3
  962. -----
  963. setuptools
  964. ==========
  965. * Fixed a bunch of calls to file() that caused crashes on Python 3.
  966. bootstrapping
  967. =============
  968. * Fixed a bug in sorting that caused bootstrap to fail on Python 3.
  969. -----
  970. 0.6.2
  971. -----
  972. setuptools
  973. ==========
  974. * Added Python 3 support; see docs/python3.txt.
  975. This closes `Old Setuptools #39 <http://bugs.python.org/setuptools/issue39>`_.
  976. * Added option to run 2to3 automatically when installing on Python 3.
  977. This closes issue `Distribute #31 <https://bitbucket.org/tarek/distribute/issue/31>`_.
  978. * Fixed invalid usage of requirement.parse, that broke develop -d.
  979. This closes `Old Setuptools #44 <http://bugs.python.org/setuptools/issue44>`_.
  980. * Fixed script launcher for 64-bit Windows.
  981. This closes `Old Setuptools #2 <http://bugs.python.org/setuptools/issue2>`_.
  982. * KeyError when compiling extensions.
  983. This closes `Old Setuptools #41 <http://bugs.python.org/setuptools/issue41>`_.
  984. bootstrapping
  985. =============
  986. * Fixed bootstrap not working on Windows. This closes issue `Distribute #49 <https://bitbucket.org/tarek/distribute/issue/49>`_.
  987. * Fixed 2.6 dependencies. This closes issue `Distribute #50 <https://bitbucket.org/tarek/distribute/issue/50>`_.
  988. * Make sure setuptools is patched when running through easy_install
  989. This closes `Old Setuptools #40 <http://bugs.python.org/setuptools/issue40>`_.
  990. -----
  991. 0.6.1
  992. -----
  993. setuptools
  994. ==========
  995. * package_index.urlopen now catches BadStatusLine and malformed url errors.
  996. This closes `Distribute #16 <https://bitbucket.org/tarek/distribute/issue/16>`_ and `Distribute #18 <https://bitbucket.org/tarek/distribute/issue/18>`_.
  997. * zip_ok is now False by default. This closes `Old Setuptools #33 <http://bugs.python.org/setuptools/issue33>`_.
  998. * Fixed invalid URL error catching. `Old Setuptools #20 <http://bugs.python.org/setuptools/issue20>`_.
  999. * Fixed invalid bootstraping with easy_install installation (`Distribute #40 <https://bitbucket.org/tarek/distribute/issue/40>`_).
  1000. Thanks to Florian Schulze for the help.
  1001. * Removed buildout/bootstrap.py. A new repository will create a specific
  1002. bootstrap.py script.
  1003. bootstrapping
  1004. =============
  1005. * The boostrap process leave setuptools alone if detected in the system
  1006. and --root or --prefix is provided, but is not in the same location.
  1007. This closes `Distribute #10 <https://bitbucket.org/tarek/distribute/issue/10>`_.
  1008. ---
  1009. 0.6
  1010. ---
  1011. setuptools
  1012. ==========
  1013. * Packages required at build time where not fully present at install time.
  1014. This closes `Distribute #12 <https://bitbucket.org/tarek/distribute/issue/12>`_.
  1015. * Protected against failures in tarfile extraction. This closes `Distribute #10 <https://bitbucket.org/tarek/distribute/issue/10>`_.
  1016. * Made Jython api_tests.txt doctest compatible. This closes `Distribute #7 <https://bitbucket.org/tarek/distribute/issue/7>`_.
  1017. * sandbox.py replaced builtin type file with builtin function open. This
  1018. closes `Distribute #6 <https://bitbucket.org/tarek/distribute/issue/6>`_.
  1019. * Immediately close all file handles. This closes `Distribute #3 <https://bitbucket.org/tarek/distribute/issue/3>`_.
  1020. * Added compatibility with Subversion 1.6. This references `Distribute #1 <https://bitbucket.org/tarek/distribute/issue/1>`_.
  1021. pkg_resources
  1022. =============
  1023. * Avoid a call to /usr/bin/sw_vers on OSX and use the official platform API
  1024. instead. Based on a patch from ronaldoussoren. This closes issue `#5 <https://bitbucket.org/pypa/setuptools/issue/5>`_.
  1025. * Fixed a SandboxViolation for mkdir that could occur in certain cases.
  1026. This closes `Distribute #13 <https://bitbucket.org/tarek/distribute/issue/13>`_.
  1027. * Allow to find_on_path on systems with tight permissions to fail gracefully.
  1028. This closes `Distribute #9 <https://bitbucket.org/tarek/distribute/issue/9>`_.
  1029. * Corrected inconsistency between documentation and code of add_entry.
  1030. This closes `Distribute #8 <https://bitbucket.org/tarek/distribute/issue/8>`_.
  1031. * Immediately close all file handles. This closes `Distribute #3 <https://bitbucket.org/tarek/distribute/issue/3>`_.
  1032. easy_install
  1033. ============
  1034. * Immediately close all file handles. This closes `Distribute #3 <https://bitbucket.org/tarek/distribute/issue/3>`_.
  1035. -----
  1036. 0.6c9
  1037. -----
  1038. * Fixed a missing files problem when using Windows source distributions on
  1039. non-Windows platforms, due to distutils not handling manifest file line
  1040. endings correctly.
  1041. * Updated Pyrex support to work with Pyrex 0.9.6 and higher.
  1042. * Minor changes for Jython compatibility, including skipping tests that can't
  1043. work on Jython.
  1044. * Fixed not installing eggs in ``install_requires`` if they were also used for
  1045. ``setup_requires`` or ``tests_require``.
  1046. * Fixed not fetching eggs in ``install_requires`` when running tests.
  1047. * Allow ``ez_setup.use_setuptools()`` to upgrade existing setuptools
  1048. installations when called from a standalone ``setup.py``.
  1049. * Added a warning if a namespace package is declared, but its parent package
  1050. is not also declared as a namespace.
  1051. * Support Subversion 1.5
  1052. * Removed use of deprecated ``md5`` module if ``hashlib`` is available
  1053. * Fixed ``bdist_wininst upload`` trying to upload the ``.exe`` twice
  1054. * Fixed ``bdist_egg`` putting a ``native_libs.txt`` in the source package's
  1055. ``.egg-info``, when it should only be in the built egg's ``EGG-INFO``.
  1056. * Ensure that _full_name is set on all shared libs before extensions are
  1057. checked for shared lib usage. (Fixes a bug in the experimental shared
  1058. library build support.)
  1059. * Fix to allow unpacked eggs containing native libraries to fail more
  1060. gracefully under Google App Engine (with an ``ImportError`` loading the
  1061. C-based module, instead of getting a ``NameError``).
  1062. -----
  1063. 0.6c7
  1064. -----
  1065. * Fixed ``distutils.filelist.findall()`` crashing on broken symlinks, and
  1066. ``egg_info`` command failing on new, uncommitted SVN directories.
  1067. * Fix import problems with nested namespace packages installed via
  1068. ``--root`` or ``--single-version-externally-managed``, due to the
  1069. parent package not having the child package as an attribute.
  1070. -----
  1071. 0.6c6
  1072. -----
  1073. * Added ``--egg-path`` option to ``develop`` command, allowing you to force
  1074. ``.egg-link`` files to use relative paths (allowing them to be shared across
  1075. platforms on a networked drive).
  1076. * Fix not building binary RPMs correctly.
  1077. * Fix "eggsecutables" (such as setuptools' own egg) only being runnable with
  1078. bash-compatible shells.
  1079. * Fix ``#!`` parsing problems in Windows ``.exe`` script wrappers, when there
  1080. was whitespace inside a quoted argument or at the end of the ``#!`` line
  1081. (a regression introduced in 0.6c4).
  1082. * Fix ``test`` command possibly failing if an older version of the project
  1083. being tested was installed on ``sys.path`` ahead of the test source
  1084. directory.
  1085. * Fix ``find_packages()`` treating ``ez_setup`` and directories with ``.`` in
  1086. their names as packages.
  1087. -----
  1088. 0.6c5
  1089. -----
  1090. * Fix uploaded ``bdist_rpm`` packages being described as ``bdist_egg``
  1091. packages under Python versions less than 2.5.
  1092. * Fix uploaded ``bdist_wininst`` packages being described as suitable for
  1093. "any" version by Python 2.5, even if a ``--target-version`` was specified.
  1094. -----
  1095. 0.6c4
  1096. -----
  1097. * Overhauled Windows script wrapping to support ``bdist_wininst`` better.
  1098. Scripts installed with ``bdist_wininst`` will always use ``#!python.exe`` or
  1099. ``#!pythonw.exe`` as the executable name (even when built on non-Windows
  1100. platforms!), and the wrappers will look for the executable in the script's
  1101. parent directory (which should find the right version of Python).
  1102. * Fix ``upload`` command not uploading files built by ``bdist_rpm`` or
  1103. ``bdist_wininst`` under Python 2.3 and 2.4.
  1104. * Add support for "eggsecutable" headers: a ``#!/bin/sh`` script that is
  1105. prepended to an ``.egg`` file to allow it to be run as a script on Unix-ish
  1106. platforms. (This is mainly so that setuptools itself can have a single-file
  1107. installer on Unix, without doing multiple downloads, dealing with firewalls,
  1108. etc.)
  1109. * Fix problem with empty revision numbers in Subversion 1.4 ``entries`` files
  1110. * Use cross-platform relative paths in ``easy-install.pth`` when doing
  1111. ``develop`` and the source directory is a subdirectory of the installation
  1112. target directory.
  1113. * Fix a problem installing eggs with a system packaging tool if the project
  1114. contained an implicit namespace package; for example if the ``setup()``
  1115. listed a namespace package ``foo.bar`` without explicitly listing ``foo``
  1116. as a namespace package.
  1117. -----
  1118. 0.6c3
  1119. -----
  1120. * Fixed breakages caused by Subversion 1.4's new "working copy" format
  1121. -----
  1122. 0.6c2
  1123. -----
  1124. * The ``ez_setup`` module displays the conflicting version of setuptools (and
  1125. its installation location) when a script requests a version that's not
  1126. available.
  1127. * Running ``setup.py develop`` on a setuptools-using project will now install
  1128. setuptools if needed, instead of only downloading the egg.
  1129. -----
  1130. 0.6c1
  1131. -----
  1132. * Fixed ``AttributeError`` when trying to download a ``setup_requires``
  1133. dependency when a distribution lacks a ``dependency_links`` setting.
  1134. * Made ``zip-safe`` and ``not-zip-safe`` flag files contain a single byte, so
  1135. as to play better with packaging tools that complain about zero-length
  1136. files.
  1137. * Made ``setup.py develop`` respect the ``--no-deps`` option, which it
  1138. previously was ignoring.
  1139. * Support ``extra_path`` option to ``setup()`` when ``install`` is run in
  1140. backward-compatibility mode.
  1141. * Source distributions now always include a ``setup.cfg`` file that explicitly
  1142. sets ``egg_info`` options such that they produce an identical version number
  1143. to the source distribution's version number. (Previously, the default
  1144. version number could be different due to the use of ``--tag-date``, or if
  1145. the version was overridden on the command line that built the source
  1146. distribution.)
  1147. -----
  1148. 0.6b4
  1149. -----
  1150. * Fix ``register`` not obeying name/version set by ``egg_info`` command, if
  1151. ``egg_info`` wasn't explicitly run first on the same command line.
  1152. * Added ``--no-date`` and ``--no-svn-revision`` options to ``egg_info``
  1153. command, to allow suppressing tags configured in ``setup.cfg``.
  1154. * Fixed redundant warnings about missing ``README`` file(s); it should now
  1155. appear only if you are actually a source distribution.
  1156. -----
  1157. 0.6b3
  1158. -----
  1159. * Fix ``bdist_egg`` not including files in subdirectories of ``.egg-info``.
  1160. * Allow ``.py`` files found by the ``include_package_data`` option to be
  1161. automatically included. Remove duplicate data file matches if both
  1162. ``include_package_data`` and ``package_data`` are used to refer to the same
  1163. files.
  1164. -----
  1165. 0.6b1
  1166. -----
  1167. * Strip ``module`` from the end of compiled extension modules when computing
  1168. the name of a ``.py`` loader/wrapper. (Python's import machinery ignores
  1169. this suffix when searching for an extension module.)
  1170. ------
  1171. 0.6a11
  1172. ------
  1173. * Added ``test_loader`` keyword to support custom test loaders
  1174. * Added ``setuptools.file_finders`` entry point group to allow implementing
  1175. revision control plugins.
  1176. * Added ``--identity`` option to ``upload`` command.
  1177. * Added ``dependency_links`` to allow specifying URLs for ``--find-links``.
  1178. * Enhanced test loader to scan packages as well as modules, and call
  1179. ``additional_tests()`` if present to get non-unittest tests.
  1180. * Support namespace packages in conjunction with system packagers, by omitting
  1181. the installation of any ``__init__.py`` files for namespace packages, and
  1182. adding a special ``.pth`` file to create a working package in
  1183. ``sys.modules``.
  1184. * Made ``--single-version-externally-managed`` automatic when ``--root`` is
  1185. used, so that most system packagers won't require special support for
  1186. setuptools.
  1187. * Fixed ``setup_requires``, ``tests_require``, etc. not using ``setup.cfg`` or
  1188. other configuration files for their option defaults when installing, and
  1189. also made the install use ``--multi-version`` mode so that the project
  1190. directory doesn't need to support .pth files.
  1191. * ``MANIFEST.in`` is now forcibly closed when any errors occur while reading
  1192. it. Previously, the file could be left open and the actual error would be
  1193. masked by problems trying to remove the open file on Windows systems.
  1194. ------
  1195. 0.6a10
  1196. ------
  1197. * Fixed the ``develop`` command ignoring ``--find-links``.
  1198. -----
  1199. 0.6a9
  1200. -----
  1201. * The ``sdist`` command no longer uses the traditional ``MANIFEST`` file to
  1202. create source distributions. ``MANIFEST.in`` is still read and processed,
  1203. as are the standard defaults and pruning. But the manifest is built inside
  1204. the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt
  1205. every time the ``egg_info`` command is run.
  1206. * Added the ``include_package_data`` keyword to ``setup()``, allowing you to
  1207. automatically include any package data listed in revision control or
  1208. ``MANIFEST.in``
  1209. * Added the ``exclude_package_data`` keyword to ``setup()``, allowing you to
  1210. trim back files included via the ``package_data`` and
  1211. ``include_package_data`` options.
  1212. * Fixed ``--tag-svn-revision`` not working when run from a source
  1213. distribution.
  1214. * Added warning for namespace packages with missing ``declare_namespace()``
  1215. * Added ``tests_require`` keyword to ``setup()``, so that e.g. packages
  1216. requiring ``nose`` to run unit tests can make this dependency optional
  1217. unless the ``test`` command is run.
  1218. * Made all commands that use ``easy_install`` respect its configuration
  1219. options, as this was causing some problems with ``setup.py install``.
  1220. * Added an ``unpack_directory()`` driver to ``setuptools.archive_util``, so
  1221. that you can process a directory tree through a processing filter as if it
  1222. were a zipfile or tarfile.
  1223. * Added an internal ``install_egg_info`` command to use as part of old-style
  1224. ``install`` operations, that installs an ``.egg-info`` directory with the
  1225. package.
  1226. * Added a ``--single-version-externally-managed`` option to the ``install``
  1227. command so that you can more easily wrap a "flat" egg in a system package.
  1228. * Enhanced ``bdist_rpm`` so that it installs single-version eggs that
  1229. don't rely on a ``.pth`` file. The ``--no-egg`` option has been removed,
  1230. since all RPMs are now built in a more backwards-compatible format.
  1231. * Support full roundtrip translation of eggs to and from ``bdist_wininst``
  1232. format. Running ``bdist_wininst`` on a setuptools-based package wraps the
  1233. egg in an .exe that will safely install it as an egg (i.e., with metadata
  1234. and entry-point wrapper scripts), and ``easy_install`` can turn the .exe
  1235. back into an ``.egg`` file or directory and install it as such.
  1236. -----
  1237. 0.6a8
  1238. -----
  1239. * Fixed some problems building extensions when Pyrex was installed, especially
  1240. with Python 2.4 and/or packages using SWIG.
  1241. * Made ``develop`` command accept all the same options as ``easy_install``,
  1242. and use the ``easy_install`` command's configuration settings as defaults.
  1243. * Made ``egg_info --tag-svn-revision`` fall back to extracting the revision
  1244. number from ``PKG-INFO`` in case it is being run on a source distribution of
  1245. a snapshot taken from a Subversion-based project.
  1246. * Automatically detect ``.dll``, ``.so`` and ``.dylib`` files that are being
  1247. installed as data, adding them to ``native_libs.txt`` automatically.
  1248. * Fixed some problems with fresh checkouts of projects that don't include
  1249. ``.egg-info/PKG-INFO`` under revision control and put the project's source
  1250. code directly in the project directory. If such a package had any
  1251. requirements that get processed before the ``egg_info`` command can be run,
  1252. the setup scripts would fail with a "Missing 'Version:' header and/or
  1253. PKG-INFO file" error, because the egg runtime interpreted the unbuilt
  1254. metadata in a directory on ``sys.path`` (i.e. the current directory) as
  1255. being a corrupted egg. Setuptools now monkeypatches the distribution
  1256. metadata cache to pretend that the egg has valid version information, until
  1257. it has a chance to make it actually be so (via the ``egg_info`` command).
  1258. -----
  1259. 0.6a5
  1260. -----
  1261. * Fixed missing gui/cli .exe files in distribution. Fixed bugs in tests.
  1262. -----
  1263. 0.6a3
  1264. -----
  1265. * Added ``gui_scripts`` entry point group to allow installing GUI scripts
  1266. on Windows and other platforms. (The special handling is only for Windows;
  1267. other platforms are treated the same as for ``console_scripts``.)
  1268. -----
  1269. 0.6a2
  1270. -----
  1271. * Added ``console_scripts`` entry point group to allow installing scripts
  1272. without the need to create separate script files. On Windows, console
  1273. scripts get an ``.exe`` wrapper so you can just type their name. On other
  1274. platforms, the scripts are written without a file extension.
  1275. -----
  1276. 0.6a1
  1277. -----
  1278. * Added support for building "old-style" RPMs that don't install an egg for
  1279. the target package, using a ``--no-egg`` option.
  1280. * The ``build_ext`` command now works better when using the ``--inplace``
  1281. option and multiple Python versions. It now makes sure that all extensions
  1282. match the current Python version, even if newer copies were built for a
  1283. different Python version.
  1284. * The ``upload`` command no longer attaches an extra ``.zip`` when uploading
  1285. eggs, as PyPI now supports egg uploads without trickery.
  1286. * The ``ez_setup`` script/module now displays a warning before downloading
  1287. the setuptools egg, and attempts to check the downloaded egg against an
  1288. internal MD5 checksum table.
  1289. * Fixed the ``--tag-svn-revision`` option of ``egg_info`` not finding the
  1290. latest revision number; it was using the revision number of the directory
  1291. containing ``setup.py``, not the highest revision number in the project.
  1292. * Added ``eager_resources`` setup argument
  1293. * The ``sdist`` command now recognizes Subversion "deleted file" entries and
  1294. does not include them in source distributions.
  1295. * ``setuptools`` now embeds itself more thoroughly into the distutils, so that
  1296. other distutils extensions (e.g. py2exe, py2app) will subclass setuptools'
  1297. versions of things, rather than the native distutils ones.
  1298. * Added ``entry_points`` and ``setup_requires`` arguments to ``setup()``;
  1299. ``setup_requires`` allows you to automatically find and download packages
  1300. that are needed in order to *build* your project (as opposed to running it).
  1301. * ``setuptools`` now finds its commands, ``setup()`` argument validators, and
  1302. metadata writers using entry points, so that they can be extended by
  1303. third-party packages. See `Creating distutils Extensions
  1304. <http://pythonhosted.org/setuptools/setuptools.html#creating-distutils-extensions>`_
  1305. for more details.
  1306. * The vestigial ``depends`` command has been removed. It was never finished
  1307. or documented, and never would have worked without EasyInstall - which it
  1308. pre-dated and was never compatible with.
  1309. ------
  1310. 0.5a12
  1311. ------
  1312. * The zip-safety scanner now checks for modules that might be used with
  1313. ``python -m``, and marks them as unsafe for zipping, since Python 2.4 can't
  1314. handle ``-m`` on zipped modules.
  1315. ------
  1316. 0.5a11
  1317. ------
  1318. * Fix breakage of the "develop" command that was caused by the addition of
  1319. ``--always-unzip`` to the ``easy_install`` command.
  1320. -----
  1321. 0.5a9
  1322. -----
  1323. * Include ``svn:externals`` directories in source distributions as well as
  1324. normal subversion-controlled files and directories.
  1325. * Added ``exclude=patternlist`` option to ``setuptools.find_packages()``
  1326. * Changed --tag-svn-revision to include an "r" in front of the revision number
  1327. for better readability.
  1328. * Added ability to build eggs without including source files (except for any
  1329. scripts, of course), using the ``--exclude-source-files`` option to
  1330. ``bdist_egg``.
  1331. * ``setup.py install`` now automatically detects when an "unmanaged" package
  1332. or module is going to be on ``sys.path`` ahead of a package being installed,
  1333. thereby preventing the newer version from being imported. If this occurs,
  1334. a warning message is output to ``sys.stderr``, but installation proceeds
  1335. anyway. The warning message informs the user what files or directories
  1336. need deleting, and advises them they can also use EasyInstall (with the
  1337. ``--delete-conflicting`` option) to do it automatically.
  1338. * The ``egg_info`` command now adds a ``top_level.txt`` file to the metadata
  1339. directory that lists all top-level modules and packages in the distribution.
  1340. This is used by the ``easy_install`` command to find possibly-conflicting
  1341. "unmanaged" packages when installing the distribution.
  1342. * Added ``zip_safe`` and ``namespace_packages`` arguments to ``setup()``.
  1343. Added package analysis to determine zip-safety if the ``zip_safe`` flag
  1344. is not given, and advise the author regarding what code might need changing.
  1345. * Fixed the swapped ``-d`` and ``-b`` options of ``bdist_egg``.
  1346. -----
  1347. 0.5a8
  1348. -----
  1349. * The "egg_info" command now always sets the distribution metadata to "safe"
  1350. forms of the distribution name and version, so that distribution files will
  1351. be generated with parseable names (i.e., ones that don't include '-' in the
  1352. name or version). Also, this means that if you use the various ``--tag``
  1353. options of "egg_info", any distributions generated will use the tags in the
  1354. version, not just egg distributions.
  1355. * Added support for defining command aliases in distutils configuration files,
  1356. under the "[aliases]" section. To prevent recursion and to allow aliases to
  1357. call the command of the same name, a given alias can be expanded only once
  1358. per command-line invocation. You can define new aliases with the "alias"
  1359. command, either for the local, global, or per-user configuration.
  1360. * Added "rotate" command to delete old distribution files, given a set of
  1361. patterns to match and the number of files to keep. (Keeps the most
  1362. recently-modified distribution files matching each pattern.)
  1363. * Added "saveopts" command that saves all command-line options for the current
  1364. invocation to the local, global, or per-user configuration file. Useful for
  1365. setting defaults without having to hand-edit a configuration file.
  1366. * Added a "setopt" command that sets a single option in a specified distutils
  1367. configuration file.
  1368. -----
  1369. 0.5a7
  1370. -----
  1371. * Added "upload" support for egg and source distributions, including a bug
  1372. fix for "upload" and a temporary workaround for lack of .egg support in
  1373. PyPI.
  1374. -----
  1375. 0.5a6
  1376. -----
  1377. * Beefed up the "sdist" command so that if you don't have a MANIFEST.in, it
  1378. will include all files under revision control (CVS or Subversion) in the
  1379. current directory, and it will regenerate the list every time you create a
  1380. source distribution, not just when you tell it to. This should make the
  1381. default "do what you mean" more often than the distutils' default behavior
  1382. did, while still retaining the old behavior in the presence of MANIFEST.in.
  1383. * Fixed the "develop" command always updating .pth files, even if you
  1384. specified ``-n`` or ``--dry-run``.
  1385. * Slightly changed the format of the generated version when you use
  1386. ``--tag-build`` on the "egg_info" command, so that you can make tagged
  1387. revisions compare *lower* than the version specified in setup.py (e.g. by
  1388. using ``--tag-build=dev``).
  1389. -----
  1390. 0.5a5
  1391. -----
  1392. * Added ``develop`` command to ``setuptools``-based packages. This command
  1393. installs an ``.egg-link`` pointing to the package's source directory, and
  1394. script wrappers that ``execfile()`` the source versions of the package's
  1395. scripts. This lets you put your development checkout(s) on sys.path without
  1396. having to actually install them. (To uninstall the link, use
  1397. use ``setup.py develop --uninstall``.)
  1398. * Added ``egg_info`` command to ``setuptools``-based packages. This command
  1399. just creates or updates the "projectname.egg-info" directory, without
  1400. building an egg. (It's used by the ``bdist_egg``, ``test``, and ``develop``
  1401. commands.)
  1402. * Enhanced the ``test`` command so that it doesn't install the package, but
  1403. instead builds any C extensions in-place, updates the ``.egg-info``
  1404. metadata, adds the source directory to ``sys.path``, and runs the tests
  1405. directly on the source. This avoids an "unmanaged" installation of the
  1406. package to ``site-packages`` or elsewhere.
  1407. * Made ``easy_install`` a standard ``setuptools`` command, moving it from
  1408. the ``easy_install`` module to ``setuptools.command.easy_install``. Note
  1409. that if you were importing or extending it, you must now change your imports
  1410. accordingly. ``easy_install.py`` is still installed as a script, but not as
  1411. a module.
  1412. -----
  1413. 0.5a4
  1414. -----
  1415. * Setup scripts using setuptools can now list their dependencies directly in
  1416. the setup.py file, without having to manually create a ``depends.txt`` file.
  1417. The ``install_requires`` and ``extras_require`` arguments to ``setup()``
  1418. are used to create a dependencies file automatically. If you are manually
  1419. creating ``depends.txt`` right now, please switch to using these setup
  1420. arguments as soon as practical, because ``depends.txt`` support will be
  1421. removed in the 0.6 release cycle. For documentation on the new arguments,
  1422. see the ``setuptools.dist.Distribution`` class.
  1423. * Setup scripts using setuptools now always install using ``easy_install``
  1424. internally, for ease of uninstallation and upgrading.
  1425. -----
  1426. 0.5a1
  1427. -----
  1428. * Added support for "self-installation" bootstrapping. Packages can now
  1429. include ``ez_setup.py`` in their source distribution, and add the following
  1430. to their ``setup.py``, in order to automatically bootstrap installation of
  1431. setuptools as part of their setup process::
  1432. from ez_setup import use_setuptools
  1433. use_setuptools()
  1434. from setuptools import setup
  1435. # etc...
  1436. -----
  1437. 0.4a2
  1438. -----
  1439. * Added ``ez_setup.py`` installer/bootstrap script to make initial setuptools
  1440. installation easier, and to allow distributions using setuptools to avoid
  1441. having to include setuptools in their source distribution.
  1442. * All downloads are now managed by the ``PackageIndex`` class (which is now
  1443. subclassable and replaceable), so that embedders can more easily override
  1444. download logic, give download progress reports, etc. The class has also
  1445. been moved to the new ``setuptools.package_index`` module.
  1446. * The ``Installer`` class no longer handles downloading, manages a temporary
  1447. directory, or tracks the ``zip_ok`` option. Downloading is now handled
  1448. by ``PackageIndex``, and ``Installer`` has become an ``easy_install``
  1449. command class based on ``setuptools.Command``.
  1450. * There is a new ``setuptools.sandbox.run_setup()`` API to invoke a setup
  1451. script in a directory sandbox, and a new ``setuptools.archive_util`` module
  1452. with an ``unpack_archive()`` API. These were split out of EasyInstall to
  1453. allow reuse by other tools and applications.
  1454. * ``setuptools.Command`` now supports reinitializing commands using keyword
  1455. arguments to set/reset options. Also, ``Command`` subclasses can now set
  1456. their ``command_consumes_arguments`` attribute to ``True`` in order to
  1457. receive an ``args`` option containing the rest of the command line.
  1458. -----
  1459. 0.3a2
  1460. -----
  1461. * Added new options to ``bdist_egg`` to allow tagging the egg's version number
  1462. with a subversion revision number, the current date, or an explicit tag
  1463. value. Run ``setup.py bdist_egg --help`` to get more information.
  1464. * Misc. bug fixes
  1465. -----
  1466. 0.3a1
  1467. -----
  1468. * Initial release.