Skip to content

Commit 2a637f3

Browse files
committed
v2.0.0
1 parent 94f3cb6 commit 2a637f3

File tree

11 files changed

+32
-15
lines changed

11 files changed

+32
-15
lines changed

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1+
.PHONY: build
2+
13
install:
24
python -m pip install -e .
35
python -m pip install -r requirements-test.txt
46

7+
clean:
8+
rm -rf dist/ build/
9+
510
test:
611
python -m pytest
12+
13+
build:
14+
python setup.py sdist bdist_wheel
15+
16+
check:
17+
twine check dist/*
18+
19+
upload:
20+
twine upload --repository=http-prompt dist/*
21+
22+
release: test clean build check upload

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ Links
3636
.. |Asciinema| image:: https://asciinema.org/a/96613.png
3737
:target: https://asciinema.org/a/96613?theme=monokai&size=medium&autoplay=1&speed=1.5
3838

39-
.. _HTTPie: https://httpie.org
39+
.. _HTTPie: https://httpie.io
4040
.. _prompt_toolkit: https://github.com/jonathanslenders/python-prompt-toolkit

docs/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Refer to LICENSE in the main repo:
22

3-
https://github.com/eliangcs/http-prompt
3+
https://github.com/httpie/http-prompt

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This repo contains the documentation for HTTP Prompt, published on
44
http://docs.http-prompt.com. The source code of HTTP Prompt can be found in the
5-
main repo: https://github.com/eliangcs/http-prompt
5+
main repo: https://github.com/httpie/http-prompt
66

77
## How to Build
88

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
html_theme_options = {
168168
'extra_nav_links': OrderedDict([
169169
('Home', 'http://http-prompt.com'),
170-
('Chat on Gitter', 'https://gitter.im/eliangcs/http-prompt'),
171-
('Code on GitHub', 'https://github.com/eliangcs/http-prompt'),
170+
('Discord', 'https://httpie.io/chat'),
171+
('Code on GitHub', 'https://github.com/httpie/http-prompt'),
172172
])
173173
}

docs/contributor-guide.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,10 @@ Before you add a new feature, make sure you create an issue making a proposal
137137
first, because you don't want to waste your time on something that the
138138
community don't agree upon.
139139

140-
Python 2 and 3 Compatibility
140+
Python Compatibility
141141
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142142

143-
HTTP Prompt is compatible with Python 2 and 3. Keep in mind that you're coding
144-
for Python 2 and 3 at the same time. You can use Tox_ (see below) to make sure
145-
the code is runnable on both Python 2 and 3.
143+
HTTP Prompt is compatible with Python 3.6+.
146144

147145
Documentation
148146
~~~~~~~~~~~~~

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ Thanks
6060
:target: https://asciinema.org/a/96613?theme=monokai&size=medium&autoplay=1&speed=1.5
6161

6262
.. _Contributors: https://github.com/eliangcs/http-prompt/graphs/contributors
63-
.. _GitHub issues: https://github.com/eliangcs/http-prompt/issues
64-
.. _Gitter chat room: https://gitter.im/eliangcs/http-prompt
65-
.. _HTTPie: https://httpie.org
63+
.. _GitHub issues: https://github.com/httpie/http-prompt/issues
64+
.. _Discord: https://htpie.io/chat
65+
.. _HTTPie: https://httpie.io
6666
.. _Parsimonious: https://github.com/erikrose/parsimonious
6767
.. _pgcli: http://pgcli.com
6868
.. _prompt_toolkit: https://github.com/jonathanslenders/python-prompt-toolkit

docs/user-guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ only person who can read it is the owner (you).
362362
last context instead of grouping multiple contexts by hostnames and ports like
363363
it did previously. We changed the behavior because the feature can be simply
364364
replaced by ``env``, ``exec`` and ``source`` commands. See the discussion in
365-
`issue #70 <https://github.com/eliangcs/http-prompt/issues/70>`_ for detail.
365+
`issue #70 <https://github.com/httpie/http-prompt/issues/70>`_ for detail.
366366

367367

368368
``ls``, ``cd``, and OpenAPI/Swagger Specification

http_prompt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.0'
1+
__version__ = '2.0.0'

requirements-test.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ mock>=2.0.0
22
pexpect>=4.2.1
33
pytest>=3.0.6
44
pytest-cov>=2.4.0
5+
wheel
6+
twine

0 commit comments

Comments
 (0)