summaryrefslogtreecommitdiff
path: root/setuptools/command/sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-38/+8
|
* Fix for Python 4: replace unsafe six.PY3 with PY2Hugo2020-01-081-1/+1
|
* Merge branch 'master' into feature/include-pyproject.tomlJason R. Coombs2019-12-291-9/+53
|\
| * Extract methods to separate _safe_data_files behavior and _add_data_files.Jason R. Coombs2019-12-211-8/+21
| |
| * Filter out missing files and use extend()Mick Koch2019-10-281-2/+2
| |
| * Use an OrderedSet for accumulating license filesMick Koch2019-10-281-2/+2
| |
| * Add support for `license_files` option in metadataMick Koch2019-10-281-8/+18
| |
| * Address review commentsDeniz Taneli2018-11-101-6/+6
| |
| * `check_license` no longer needs to parse `setup.cfg`Deniz Taneli2018-10-281-17/+13
| |
| * Setuptools will install licenses if included in setup.cfgDeniz Taneli2018-10-271-0/+25
| | | | | | | | | | | | | | | | | | Addressing #357 `python setup.py sdist` now includes the license file if `license_file` is included in `setup.cfg` unless it is explicitly excluded in `MANIFEST.in`. Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.com>
* | do not change py36compat, put changes into sdist commandAlexander Duryagin2019-01-111-0/+8
|/
* Remove spurious executable permissionsMiro Hrončok2018-07-271-0/+0
|
* Merge branch 'master' into drop-py26Jason R. Coombs2017-09-031-1/+2
|\
| * Fix Python 2.6 supportBenoit Pierre2017-09-031-1/+1
| |
| * Improve README file list handling and add Markdown to the current listSamuel Gaist2017-09-011-1/+2
| | | | | | | | | | | | Markdown is a widely used format to write README files and documentation. This patch aims to simplify adding new formats and at the same time adds that one to the list.
| * Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| | | | | | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
| * Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
| |
* | Drop support for Python 2.6, removing lots of compatibility code for a ↵Jason R. Coombs2016-12-091-7/+0
|/ | | | leaner, cleaner codebase. Fixes #878.
* Use super to resolve the superclass, but fall back to direct access on ↵Jason R. Coombs2016-12-011-1/+4
| | | | Python 2 where old style classes are used. Ref #843.
* Change _add_defaults_data_files override and add unittestThiebaud Weksteen2016-11-211-3/+4
|
* Backed out changeset e12256c4d32e. Fixes #833. Reopens #274 and reopens #521.Jason R. Coombs2016-10-291-0/+5
|
* Remove _add_defaults_data_files overrideThiebaud Weksteen2016-10-261-5/+0
|
* Fix quantity of blank lines.stepshal2016-10-181-0/+2
|
* Update sdist to use sdist_add_defaults forward compatibility.Jason R. Coombs2016-10-141-43/+8
|
* Move READMES definition into class attribute.Jason R. Coombs2016-10-141-5/+5
|
* Always use iterator-based filterJason R. Coombs2016-10-141-0/+1
|
* Rely on degenerate behavior in list.extend, as found in distutils.Jason R. Coombs2016-10-141-3/+2
|
* Default to gztar for sdists on all platforms. Ref #748.Jason R. Coombs2016-08-201-0/+11
|
* Use 'except Exception:' instead of 'except:'.stepshal2016-07-221-1/+1
|
* Disable os.link during make_distribution. Fixes #516.Jason R. Coombs2016-07-211-0/+27
| | | | Note that better would be if sdist provided some sort of hooks to better control the file copying, but since it does not, this technique will suffice for now.
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+1
|
* Don't use deprecated 'U' flag to read manifestVictor Stinner2016-06-291-1/+1
| | | | | | | | The universal newlines mode ('U' flag) is deprecated since Python 3.4. It only replaces "\r\n" with "\n", but it doesn't split lines at "\r" (Mac newline). In practice, the flag was useless, the sdist.read_manifest() method already uses line.strip() and so removes newline characters.
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-6/+1
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-1/+6
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-5/+4
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Use io.open for future compatibility and consistencyJason R. Coombs2015-12-091-4/+2
| |
| * Use except/as, now supported by Python 2.6Jason R. Coombs2015-01-041-1/+2
| |
* | Merge with 10.2.1Jason R. Coombs2015-01-021-58/+2
|\ \ | |/ | | | | | | --HG-- branch : feature/issue-229
| * Remove superfluous parenthesesJason R. Coombs2014-12-311-1/+1
| |
| * Restore _default_revctrl implementation (stubbed). Fixes #320.Jason R. Coombs2014-12-311-0/+1
| |
| * Removed svn support from setuptools. Ref #313.Jason R. Coombs2014-12-241-57/+0
| |
* | Merge with 6.0.2Jason R. Coombs2014-09-291-3/+5
|\ \ | |/ | | | | | | --HG-- branch : feature/issue-229
| * remove unneeded code from last commitRandy Syring2014-09-201-2/+1
| |
| * sdist command: fix case insensitivity when adding some files to filelistRandy Syring2014-09-201-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix the problem in Bitbucket issue #100. It gives the same behavior for inclusion of default files (README*, etc.) on Windows as Linux. BACKWARDS INCOMPATABILITY: This may result in a backwards incompatible change for users on a case insensitive file system. If they were relying on some files getting included in their distribution due to setuptools defaults, and their files do not have the same case as the files being looked for in setuptools, those files will no longer be included in the package. For example, if a package had a file: readme.rst Previous to this commit, that file would have been included in the distribution as: README.rst But it will now no longer be included at all. To get the file included in the package, it can be added to the package's MANIFEST.in file: include readme.rst Files affected by this change will have a case variant of the files or patterns listed below: README README.txt README.rst setup.py (or whatever your setuptools script is named) setup.cfg test/test*.py
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-2/+3
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-17/+22
|
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-1/+2
|
* Correct indentation and clarify meaning by using namespacingJason R. Coombs2014-04-301-4/+4
| | | | | --HG-- extra : amend_source : 20ab7547c8478eb084767fe701e627bdd462ba16
* Rename the path attribute to entries_path for clarity. Added a docstring. ↵Jason R. Coombs2014-02-051-11/+17
| | | | | | | Refactored 'find' method for flatness. --HG-- extra : source : 686317ef97be5076001b23e61f552dc1e85e29c8
* Merge fix with masterJason R. Coombs2014-02-051-1/+2
|\