Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbrzt committed Mar 5, 2021
1 parent 372b8b7 commit 5112d32
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 17 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
.PHONY: build

install:
python -m pip install -e .
python -m pip install -r requirements-test.txt

clean:
rm -rf dist/ build/

test:
python -m pytest

build:
python setup.py sdist bdist_wheel

check:
twine check dist/*

upload:
twine upload --repository=http-prompt dist/*

release: test clean build check upload
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Links
* Home: https://http-prompt.com
* Documentation: https://docs.http-prompt.com
* Code: https://github.com/httpie/http-prompt
* Chat: https://gitter.im/eliangcs/http-prompt
* Chat: https://httpie.io/chat


.. |PyPI| image:: https://img.shields.io/pypi/v/http-prompt.svg
Expand All @@ -31,10 +31,10 @@ Links
:target: https://coveralls.io/github/eliangcs/http-prompt?branch=master

.. |Gitter| image:: https://badges.gitter.im/eliangcs/http-prompt.svg
:target: https://gitter.im/eliangcs/http-prompt
:target: https://httpie.io/chat

.. |Asciinema| image:: https://asciinema.org/a/96613.png
:target: https://asciinema.org/a/96613?theme=monokai&size=medium&autoplay=1&speed=1.5

.. _HTTPie: https://httpie.org
.. _HTTPie: https://httpie.io
.. _prompt_toolkit: https://github.com/jonathanslenders/python-prompt-toolkit
2 changes: 1 addition & 1 deletion docs/LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Refer to LICENSE in the main repo:

https://github.com/eliangcs/http-prompt
https://github.com/httpie/http-prompt
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

## How to Build

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
html_theme_options = {
'extra_nav_links': OrderedDict([
('Home', 'http://http-prompt.com'),
('Chat on Gitter', 'https://gitter.im/eliangcs/http-prompt'),
('Code on GitHub', 'https://github.com/eliangcs/http-prompt'),
('Discord', 'https://httpie.io/chat'),
('Code on GitHub', 'https://github.com/httpie/http-prompt'),
])
}
6 changes: 2 additions & 4 deletions docs/contributor-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,10 @@ Before you add a new feature, make sure you create an issue making a proposal
first, because you don't want to waste your time on something that the
community don't agree upon.

Python 2 and 3 Compatibility
Python Compatibility
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Documentation
~~~~~~~~~~~~~
Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ Thanks
:target: https://asciinema.org/a/96613?theme=monokai&size=medium&autoplay=1&speed=1.5

.. _Contributors: https://github.com/eliangcs/http-prompt/graphs/contributors
.. _GitHub issues: https://github.com/eliangcs/http-prompt/issues
.. _Gitter chat room: https://gitter.im/eliangcs/http-prompt
.. _HTTPie: https://httpie.org
.. _GitHub issues: https://github.com/httpie/http-prompt/issues
.. _Discord: https://htpie.io/chat
.. _HTTPie: https://httpie.io
.. _Parsimonious: https://github.com/erikrose/parsimonious
.. _pgcli: http://pgcli.com
.. _prompt_toolkit: https://github.com/jonathanslenders/python-prompt-toolkit
2 changes: 1 addition & 1 deletion docs/user-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ only person who can read it is the owner (you).
last context instead of grouping multiple contexts by hostnames and ports like
it did previously. We changed the behavior because the feature can be simply
replaced by ``env``, ``exec`` and ``source`` commands. See the discussion in
`issue #70 <https://github.com/eliangcs/http-prompt/issues/70>`_ for detail.
`issue #70 <https://github.com/httpie/http-prompt/issues/70>`_ for detail.


``ls``, ``cd``, and OpenAPI/Swagger Specification
Expand Down
2 changes: 1 addition & 1 deletion http_prompt/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.0'
__version__ = '2.0.0'
2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ mock>=2.0.0
pexpect>=4.2.1
pytest>=3.0.6
pytest-cov>=2.4.0
wheel
twine
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def read_requirements(filename):
setup(
name='http-prompt',
version=find_version('http_prompt', '__init__.py'),
url='https://github.com/eliangcs/http-prompt',
url='https://github.com/httpie/http-prompt',
description='An interactive HTTP command-line client',
long_description=read_description('README.rst'),
author='Chang-Hung Liang',
Expand Down Expand Up @@ -74,5 +74,6 @@ def read_requirements(filename):
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
)

0 comments on commit 5112d32

Please sign in to comment.