aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * Implement self.find. Fixes #139.Jason R. Coombs2014-02-051-1/+2
| | | | | | | | | | --HG-- extra : amend_source : 98be824b4f846eb5fa8a8b046c3ef52a9fc2af4d
* | Use a default that generates to the default behavior; no need to employ None ↵Jason R. Coombs2014-02-051-5/+4
| | | | | | | | | | | | | | as a sentry value. --HG-- extra : source : 2c7c7486ddc40ee4272b23e1fafd51ab1611dc28
* | Normalize whitespaceJason R. Coombs2014-02-051-1/+1
| | | | | | | | | | --HG-- extra : source : e4abff0dc46f1c089d8a61bac2406a57df406dcc
* | Fix postproc referenceWilliam Grzybowski2013-12-251-2/+2
| | | | | | | | | | --HG-- branch : postproc
* | Merge with defaultPhilip Thiem2013-09-281-27/+12
|\ \ | |/ |/| | | | | --HG-- extra : rebase_source : d9c70d5bebd4290f568c828c5bc3a9b93a817ff2
| * Remove excess whitespace. Delint one if statement.Jason R. Coombs2013-09-091-31/+6
| |
| * Reorganize importsJason R. Coombs2013-09-091-5/+8
| |
* | Additional Tests, Various fixes, and encoding dealingsPhilip Thiem2013-07-201-49/+35
| | | | | | | | | | --HG-- extra : rebase_source : 2734e79e08e194923eab8c70f92cb77bce7daccf
* | consolidated externals and enteries because enteries need to file toPhilip Thiem2013-07-041-9/+7
| | | | | | | | | | | | | | | | interate over and both get called by the same callback. pep8 on svn_utils --HG-- extra : rebase_source : fa65ebfc167041b5c2e1b2bd901e9354cfaea57e
* | removed the objectsPhilip Thiem2013-07-041-1/+0
| | | | | | | | | | --HG-- extra : rebase_source : 19c8be226a698813103dc2393b3b154060d90669
* | got some global version done, SVN 1.3.x or later now requiredPhilip Thiem2013-07-041-1/+1
| | | | | | | | | | --HG-- extra : rebase_source : def9ab923ee6455791c92334ee79c09d9164c43e
* | cannot use list since that requires repo access, initial recurse parsingPhilip Thiem2013-07-041-1/+1
| | | | | | | | | | --HG-- extra : rebase_source : 23fbf9ca969a6a0205247ec69e5b674452839f2e
* | cannot use list since that requires repo access, initial recurse parsingPhilip Thiem2013-07-041-1/+1
| | | | | | | | | | --HG-- extra : rebase_source : 87deb8066a0cb067e7bccc63cc156b7fed30ea29
* | get_svn_method now direectly called svn_utils.parse_revisionPhilip Thiem2013-07-041-1/+2
| | | | | | | | | | --HG-- extra : rebase_source : c902dd83f2c3df73f3a6f84e08bd8a77b201cc21
* | minor naming issues sdistPhilip Thiem2013-06-301-2/+2
| | | | | | | | | | --HG-- extra : rebase_source : e7def1d2445a55291163753761d52922d1252dcb
* | Added SVNTextEntries for the moment as a fallback for no SVN/Rev8-10Philip Thiem2013-06-301-40/+5
|/ | | | | | | | Added Externals processing for all formats Will use dir-prop[-base] as a fallback otherwise CMD. --HG-- extra : rebase_source : dc27f779f22d5f9795c425b92d34db29d62b495d
* Merge Python 3 native support from distributeJason R. Coombs2013-06-181-1/+1
|\ | | | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
| * Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-1/+6
| |\ | | | | | | | | | | | | --HG-- branch : distribute