summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for setup.py inclusionShashank Singh2018-11-021-3/+43
| | | | | | This tests that `setup.py` is included by default in the distribution with the egg_info command and when an sdist is built with build_meta.build_sdist
* Mark Py 2/3-only tests as skip instead of xfailNikolaus Waxweiler2018-10-271-1/+1
| | | | | Also reuse pre-defined py2_only and py3_only decorators where appropriate.
* Move filename fixtures to a 'text' module so they can use unicode literals.Jason R. Coombs2017-10-111-15/+8
|
* Expect failure on macOS 10.13 and other operating systems where writing ↵Jason R. Coombs2017-10-111-0/+18
| | | | latin-1 encoded filenames is prohibited. Fixes #1169.
* Feed the hobgoblins (delint).Jason R. Coombs2017-10-111-3/+5
|
* Collapse encoding detectionJason R. Coombs2017-10-111-4/+3
|
* Use natural byte literals in test_sdistJason R. Coombs2017-10-111-17/+11
|
* Remove meaningless commendJason R. Coombs2017-10-111-1/+0
|
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-2/+2
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-2/+2
|
* Change _add_defaults_data_files override and add unittestThiebaud Weksteen2016-11-211-2/+7
|
* Fix quantity of blank lines.stepshal2016-10-181-5/+0
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-1/+0
|
* Always use Python 3 version of mapJason R. Coombs2016-01-161-0/+1
|
* 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/+7
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-128/+114
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Use io.open for future compatibility and consistencyJason R. Coombs2015-12-091-9/+9
| |
| * Expect fail when LC_ALL=CJason R. Coombs2015-12-011-0/+1
| |
| * Expect failure running Python 3 only tests on Python 2Jason R. Coombs2015-12-011-104/+106
| |
| * Try setting LC_CTYPE alsoJason R. Coombs2015-12-011-6/+2
| |
| * WTFJason R. Coombs2015-12-011-0/+1
| |
| * Try inlining the xfail marker.Jason R. Coombs2015-12-011-2/+2
| |
| * Expect failures on these tests due to ASCIIJason R. Coombs2015-12-011-3/+5
| |
| * Add EntryPoint.resolve and deprecate most usage of EntryPoint.load. Removed ↵11.3Jason R. Coombs2015-01-051-1/+1
| | | | | | | | EntryPoint._load.
| * Remove try/except/fail - Exceptions are failures by default.Jason R. Coombs2015-01-041-16/+4
| |
| * Use except/as, now supported by Python 2.6Jason R. Coombs2015-01-041-8/+4
| |
* | Merge with 10.2.1Jason R. Coombs2015-01-021-166/+48
|\ \ | |/ | | | | | | --HG-- branch : feature/issue-229
| * Converted sdist tests to pytestJason R. Coombs2015-01-021-30/+25
| |
| * Use pytest for skipsJason R. Coombs2015-01-011-3/+5
| |
| * Use underlying invocation of ._load directlyJason R. Coombs2014-12-311-1/+1
| |
| * Add test capturing requirement. Ref #320.Jason R. Coombs2014-12-311-0/+18
| |
| * Removed svn support from setuptools. Ref #313.Jason R. Coombs2014-12-241-133/+1
| |
* | Merge with 6.0.2Jason R. Coombs2014-09-291-0/+28
|\ \ | |/ | | | | | | --HG-- branch : feature/issue-229
| * sdist command: fix case insensitivity when adding some files to filelistRandy Syring2014-09-201-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-14/+15
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Add whitespace for readability.Jason R. Coombs2014-05-171-1/+1
|
* Must create files for tests, else they are remoed from manifestsJason R. Coombs2014-05-171-0/+3
|
* Must create files for tests, else they are remoed from manifestsPhilip Thiem2014-05-171-6/+9
| | | | | --HG-- extra : rebase_source : c22b55cde69bbf7fc6a075bcd8797017797c6225
* est_manifest_is_written_with_utf8_encoding should use the filelist's append, ↵Philip Thiem2014-05-171-1/+1
| | | | | | | NOT filelist.files.append --HG-- extra : rebase_source : cdf0df0a11b96a60c29c10483579e6e043a7fcd1
* Remove unused importJason R. Coombs2014-05-171-1/+0
|
* Convert quiet to a context manager, so its comment is no longer complaining ↵Jason R. Coombs2014-05-171-45/+16
| | | | and to simplify the code.
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-12/+12
|
* Merge in test changes from previous tryPhilip Thiem2014-05-171-8/+16
| | | | | --HG-- extra : rebase_source : 0dba3308549833dc7fc5b242e8ae3a4ec9f3c119
* Test should use the same high-level interface for appending filenames as the ↵Jason R. Coombs2014-05-151-1/+1
| | | | object itself will use when building the filelist. Ideally, FileList wouldn't expose this attribute at all.
* Extend docstring for test_write_manifest_skips_non_utf8_filenamesJason R. Coombs2014-05-151-1/+6
|
* Modified setuptools.test.environment.ZipEnvironment to not choke on a bypassedPhilip Thiem2013-12-071-1/+6
| | | | | | | | setUp. test_egg_info, test_sdist, and test_svn all had tests that needed to be bypassed when svn was not present. tests.py26compat contains a SkipIf decorator for skipping. This worked after ironing a few wrinkles. The conditions is evaluated and stored in test_svn._svn_check.
* For .svn legacy fallback, look for the files in the .svn not the directory.Philip Thiem2013-11-111-79/+70
| | | | | | | | | | | | | | | | (Fixed unexpected deprecation warning from prombredanne) Also removed the warning from fallback, only a deprecation warning is issued. Environment.py whitespacing Created a specialized command executor for tests in Environment.py Legacy Test in test_egg_info now supresses the deprecation warning. PythonPath is now explicitly controlled to allow setup.py test on clean python installations. *Fixes Issue #101* Moved some dummy svn tests from test_sdist to test_egg_info since they are egg_info tests. Downgraded a with statement in a test since we haven't offically dropped 2.4 support, however, maybe it is time. Added a test case to ensure no extranuous output on sdist with a simple dummy package without rev ctrl.
* Fixed the various tests that depended on fsencode.Philip Thiem2013-11-071-3/+79
| | | | | Added a test to run egg_info on a dummy SVN package. Added a second similar test that invokes the legacy code.
* Merge with defaultJason R. Coombs2013-10-301-1/+4
|\