aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * Skip test when file system encoding is not suitable. Fixes #55 and ↵1.1.7Toshio Kuratomi2013-04-111-1/+4
| | | | | | | | Distribute #363.
* | Additional Tests, Various fixes, and encoding dealingsPhilip Thiem2013-07-201-2/+62
|/ | | | | --HG-- extra : rebase_source : 2734e79e08e194923eab8c70f92cb77bce7daccf
* Use unicode from compat moduleJason R. Coombs2013-06-171-2/+2
| | | | | | | --HG-- branch : distribute extra : rebase_source : c4dd03dba58146eed2f620cd6d6b7ab52ee9d109 extra : histedit_source : 02c194ea1c97e8aea64fd23d77efc1bade185c0a
* Update exceptions for Python 3 compatibilityJason R. Coombs2013-06-171-4/+8
| | | | | | --HG-- branch : distribute extra : rebase_source : 354795c0a0b8a864583f2549ce869e719be265d2
* Remove unused importJason R. Coombs2013-06-181-4/+4
| | | | | --HG-- branch : distribute
* Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-60/+287
|\ | | | | | | | | --HG-- branch : distribute
| * don't decode in python 2.x. that's my oopsPhilip Thiem2013-02-161-4/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4b981d54c6a171d7a6500c6c62838d8c368ae0b1
| * There were some failing tests on windows. I assume this is a NTFS vs FAT orPhilip Thiem2013-02-161-6/+24
| | | | | | | | | | | | | | | | | | NT versus 9x things... Seemed odd. In any case. My filesystem is deifnitely NOT cp1252. --HG-- branch : distribute extra : rebase_source : c4d64aff6b811ba36bbf33cd4cf2a12f563a6880
| * Warn if filenames cannot be added to the filelist.stefan@epy2012-11-051-0/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9fdc3c28b097e191db384cd81319c7a4edccf52b
| * No longer decompose filename for comparison.Stefan H. Holek2012-11-051-2/+0
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 02265fdf50dbe58c41b98e575f1d0d71c95e4bcf
| * Rewrite tests for read_manifest.stefan@epy2012-11-051-20/+38
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 8e52687fae6a06e1421c51ddec62870ef7499676
| * Skip undecodable filenames in read_manifest as well.Stefan H. Holek2012-11-011-2/+6
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 2dda494b1a4758e84dde81cc61170acd0e55d2f2