summaryrefslogtreecommitdiff
path: root/setuptools/command/install_lib.py
Commit message (Collapse)AuthorAgeFilesLines
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-1/+2
|
* Fix some usage of deprecated `imp` moduleAnthony Sottile2019-08-171-3/+3
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+1
|
* Fix package list inconsistency caused by namespace package on Python 3.5sunpoet2015-11-201-0/+2
| | | | | | namespace package will be skipped during installation. Since Python 3.5, .pyo files are removed and new .opt-1.pyc (and .opt-2.pyc) files are introduced [1]. However setuptools does not understand that new naming therefore the corresponding foo.opt-1.pyc is still added into package list (via --record). The inconsistency leads to a packaging error. [1] https://www.python.org/dev/peps/pep-0488/
* Use rpartition here, essential to the algorithm. Fixes #259.Jason R. Coombs2014-09-271-1/+1
| | | | | --HG-- extra : amend_source : d7b3c001b4db616a67793dcc57d5c13e3828ad3a
* Move inline function into an instance method and rename for clarity.Jason R. Coombs2014-09-261-11/+11
|
* Return the exclusions directlyJason R. Coombs2014-09-261-6/+8
|
* Incorporate the exclusion path in the _exclude function.Jason R. Coombs2014-09-261-2/+6
|
* Reorganize importsJason R. Coombs2014-09-261-2/+3
|
* Use itertools.product for a cross-product of two iterablesJason R. Coombs2014-09-261-3/+3
|
* ReindentJason R. Coombs2014-09-261-2/+2
|
* Rewrite package traversal as a generator expressionJason R. Coombs2014-09-261-2/+6
|
* Extract path calculation for pathsJason R. Coombs2014-09-261-3/+2
|
* Extract method for computing parent packages of a packageJason R. Coombs2014-09-261-4/+13
|
* Extract method for calculating namespace packages for ↵Jason R. Coombs2014-09-261-11/+23
| | | | single_version_externally_managed
* Add docstring for get_exclusions. Just return the set as it is a sized ↵Jason R. Coombs2014-09-261-1/+5
| | | | container.
* Construct exclusions as a setJason R. Coombs2014-09-261-3/+3
|
* Add commentJason R. Coombs2014-09-261-0/+2
|
* Extract calculation of base pathJason R. Coombs2014-09-261-2/+3
|
* Generate the filenames more directly.Jason R. Coombs2014-09-261-15/+11
|
* Extract method for generating exclude namesJason R. Coombs2014-09-261-9/+17
|
* Normalize syntaxJason R. Coombs2014-09-261-2/+2
|
* Commit the fix we did when testing python3Melvyn Sopacua2014-07-051-2/+2
| | | | | | I shall `hg status` before submitting PRs. I shall `hg status` before submitting PRs. I shall `hg status` before submitting PRs.
* Fix exclude list on python 3.2+Melvyn Sopacua2014-07-051-3/+14
| | | | | | | | imp.get_tag() is only available on 3.2+. Since 2<x<3.2 are EOL we shall not worry. We could implement a local get_tag(), but the point is moot: this compilation tactic with __pycache__ subdirs and versioned import files is new to python 3.x, so hasattr() is sufficient.
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-5/+7
|
* Correct indentation and clarify meaning by using namespacingJason R. Coombs2014-04-301-4/+4
| | | | | --HG-- extra : amend_source : 20ab7547c8478eb084767fe701e627bdd462ba16
* Reindent and remove excess whitespaceJason R. Coombs2014-03-131-10/+3
|
* Do not override _bytecode_filenamesWilliam Grzybowski2013-12-161-12/+0
| | | | | | | | The overridden version cannot handle Python 3.x while distutils verion can handle it just fine. --HG-- extra : rebase_source : 86fa56285849e97780e91eff405881bfb72184d5
* Support namespace packages in conjunction with system packagers, by omittingPJ Eby2006-03-171-2/+59
| | | | | | | | | the installation of any ``__init__.py`` files for namespace packages, and adding a special ``.pth`` file to create a working package in ``sys.modules``. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043119
* Ensure installed stubs get compiled, even if there are no "pure" modulesPJ Eby2006-01-131-0/+9
| | | | | | | | present. Also, don't bother compiling the stub prior to installation. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042037
* remove trailing blank lineFred Drake2004-04-051-1/+0
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040894
* Initial checkin of setuptools 0.0.1.PJ Eby2004-03-191-0/+17
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869