| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixes #155.
Closes #241.
|
| |
|
| |
|
|
|
|
|
| |
- Add Python 3.8.
- Unpin pypy2.7 and pypy3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d5efa74e2dfde8d4ddba13e127cd85c687e6016b.
The original intention of providing a distutils fallback has not gone
away. These three extra lines will almost never be used, as most people
have setuptools or install with pip anyway, and at the same time it
serves as a very low-maintenance solution for people who *do* want to
bootstrap setuptools.
Bootstrapping setuptools without vendored six (and pyparsing) is a valid
use case. Although setuptools by default ships with vendored
dependencies, it supports removing the contents of the _vendored/
directory and falling back to an installed version of six.py -- and
thirdparty vendors of setuptools, such as Arch Linux and OpenSUSE,
actually make use of this and need to be able to bootstrap the
dependency tree of setuptools itself.
|
|
|
| |
We are obliged to use a very old version that supports Python 3.2.
|
| |
|
| |
|
| |
|
|
|
| |
There was `six.io` if and only if py3, which was error-prone.
|
| |
|
|
|
|
| |
Also, [remove the __sudo__ tag per recommendation of Travis](https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration).
|
|
|
|
| |
Small update to the `ensure_str` function's documentation formatting to
match `ensure_binary` and `ensure_text`'s formatting.
|
|
|
|
|
|
|
|
|
|
|
|
| |
As documented in the Python 2.6 release notes:
https://docs.python.org/2/whatsnew/2.6.html#pep-3112-byte-literals
> For future compatibility, Python 2.6 adds bytes as a synonym for the
> str type ...
To encourage more forward compatible code bases, inform users of this
builtin alias. This addition is similar in spirit to the note for the
b() function.
|
|
|
|
|
|
|
| |
setuptools includes a vendored version of six (and other dependencies).
They are not installed through traditional tools. Therefore, distutils
is not required as a fallback to facilitate setuptools.
https://github.com/pypa/setuptools/blob/v40.6.3/setuptools/_vendor/six.py
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
The docs say that the Python 2 builtin __reload()__ was moved into the __imp__ module (which _used_ to be true) but in all currently supported versions of CPython, __reload()__ is found in the __importlib__ module: https://docs.python.org/3/library/importlib.html#importlib.reload
|
| |
|
|
|
|
| |
Fixes #259.
|
| |
|
| |
|
|
|
|
|
|
|
| |
https://tox.readthedocs.io/en/latest/config.html#confval-indexserver
> DEPRECATED, will be removed in a future version
Unnecessary anyway as all deps come from PyPI through pip.
|
|
|
| |
Avoids the need for users to look this up by experimentation or code inspection.
|
|
|
|
|
| |
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Linux distributions provides py.test script on their own way for
support python2 and python3 both together.
For example py.test with python2 shebang or py.test with python3
one. Or scripts with another names, e.g. py.test - python2 shebang,
py.test3 - python3 shebang. Therefore it is better to import module
instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
|
| |
|
| |
|
|
|
| |
Generated by setup.py when building packages.
|
|
|
|
| |
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|