Closed
Description
We should have a way of installing typing
on Python 2. There are at least two alternatives:
- Add something like
setup_typing_py2.py
that installstyping
(only on Python 2). Not sure what the script should be called, but we should probably have a fairly descriptive name to make clear that this doesn't actually install mypy. Maybe this should be available viapip install mypy-typing
or something. Alternatively, make this work on Python 3 as well. - Use a separate repo for
typing
and install it usingpip install typing
or so (at least for Python 2, but maybe also for pre-3.5 Python 3). This makes it more difficult to changetyping
, so we may want to postpone this until the implementation is stable and reasonable complete. We need to figure out who actually owns typing on pip now (I remember that there was a discussion about this a while back but I was then in the middle of moving my family to a different continent and was distracted.)
The long term goal is 2, but we may want to start with 1 until we have a better understanding of how things should work.
See also the original issue from where this came from: #917