Skip to content

Commit

Permalink
A bit of cleanup
Browse files Browse the repository at this point in the history
Removed useless files
Few corrections in README.en.rst
Updated docs/index.rst with a note and the list of contributors
  • Loading branch information
73VW committed Feb 14, 2020
1 parent fd719a0 commit cd27442
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 688 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
os: linux
language: python
cache: pip
python:
Expand All @@ -6,23 +7,23 @@ install: pip install rstcheck
script: rstcheck --recursive .
notifications:
email:
if: branch = master
on_failure: never
on_pull_requests: never
webhooks:
urls:
- https://webhooks.gitter.im/e/960334ca9f9585911bcf
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
deploy:
skip_cleanup: true
cleanup: false
provider: pypi
distributions: sdist bdist_wheel
on:
tags: true
branch:
- master
- /?(\d+\.)?(\d+\.)?(\*|\d+)$/
user: 73VW
username: 73VW
password:
secure: yK1ofmfUJ0FbuAgNVLGc+EfpC851BJmy9VzLtC+yxf19MSIz9v4xw6uqk14AIMDTOaGGrRmR5mvQUle6eSRXf50ZYKy7JIEizHXuGvU3iVBwny+Bo2RmZrW53ItRZ8qGdvz9tpNzfPYg0tvCqwj7EQulP1gyj/6aGGrH/Aa+4vkMwzlG7KB/7yS7Sh46zdVkdZ5OZwcixJAafZYuNriXwcwrUGiFxhtuNC9i2qaur/Evm0lf+yVVj4CvCN/DqEsjqkcetoEOirblYGQUGUzmKFe4QnZcEFzChD1wPxh/5RQ2+RbUiyNDxiO0ZX3xbfR0+RazltjesE7lu72TySnUDe4ccxyRexHdDFnSVnkwa7JHlwmxBAqnrvPea70IQikc9P0C/6E2saegNDU2aUfQIzYCcbr7qGtn3qzbuFt+xgFICO7FOcOzoF/0rThijIig+Z2nE7NiL34OQuEWiCJz1FXZFhNtcs+rSrNjHrkWvX6tL9k4OvZw8C1zMA9cjeSceCCsfN+MJohyQnOL9i9VgFz9C9Y59vq4xpMVfZM/A58MWQc9QmuVCdvt0IH8Np7YLOGihibn+F24tjqIKBbiusHJiMpEl/0/vqi5B/dTL7QcBKZ+qPDS0lXGCByzg35RCLXzmxIoWOjSqZZj8i9/yKlEAe73aB6nEjn9lgUw7uo=
22 changes: 11 additions & 11 deletions README.en.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
`️Automate your publishing to PyPI with PBR and Travis`
`️ Automate your publishing to PyPI with PBR and Travis`
=========================================================

For complete documentation:

Navigate to `ReadTheDocs <https://automate-your-publishing-to-pypi-with-pbr-and-travis.rtfd.io>`_


`️Step 1: write the setup for your python project`
***************************************************
`️ Step 1: write the setup for your python project`
****************************************************

If you want to publish your project to PyPi, you first have to make a setup file.

Expand Down Expand Up @@ -94,8 +94,8 @@ First of all, the metadata section:
🎉 After a few tweaking you are now ready to go! 🎉

`️Step 2: Enable Travis!`
***************************
`️ Step 2: Enable Travis!`
****************************

Two ways of enabling Travis are presented here. One using `Travis CLI`_ and one without.

Expand Down Expand Up @@ -209,8 +209,8 @@ If you have `Travis CLI`_, this one is for you.

🎉 Now your are ready to go! 🎉

`️So what now?!`
******************
`️ So what now?!`
*******************

Well, let's try to push everyhing to the repository to check if everything is alright and if the tests pass!

Expand All @@ -222,8 +222,8 @@ Travis will also tell it:

:code:`Skipping a deployment with the pypi provider because this is not a tagged commit`

`️Let's tag it!`
******************
`️ Let's tag it!`
*******************

Now, create a tag. This is easy with git. Git tag doc can be found `here <https://git-scm.com/book/en/v2/Git-Basics-Tagging>`_.

Expand All @@ -247,8 +247,8 @@ PSA: Don't forget to add :code:`--tags` to your push command otherwise they will

**✔️Deployed!**

`️Global notes`
*****************
`️ Global notes`
******************

✔️ Your project must be public in order to use Travis. Otherwise you have to upgrade to Travis pro.

Expand Down
27 changes: 25 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,33 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Automate your publishing to PyPI with PBR and Travis!
=====================================================
Welcome to my tutorial!
=======================

.. toctree::
:maxdepth: 2

main.rst

.. note::

This project is translated in a few languages by awesome contributors. You will soon be able to select the language in the bottom left corner.

If you see a mistake, feel free to open an issue `here <https://github.com/73VW/Publishing-to-PyPI-with-pbr-and-Travis/issues>`_


`🎃Our great contributors`
***************************

.. hlist::

* 🎃 `@DeKan <https://github.com/DeKan>`_
* 🎃 `@krishnaprasanthg <https://github.com/krishnaprasanthg>`_
* 🎃 `@dafinoer <https://github.com/dafinoer>`_
* 🎃 `@leoassuncao <https://github.com/leoassuncao>`_
* 🎃 `@ehx <https://github.com/ehx>`_
* 🎃 `@cassianofnts <https://github.com/cassianofnts>`_
* 🎃 `@qwerty432 <https://github.com/qwerty432>`_
* 🎃 `@IonTarna <https://github.com/IonTarna>`_
* 🎃 `@Ectalite <https://github.com/Ectalite>`_
* 🎃 `@spitzlei <https://github.com/spitzlei>`_
25 changes: 0 additions & 25 deletions docs/locales/es_AR/LC_MESSAGES/index.po

This file was deleted.

Loading

0 comments on commit cd27442

Please sign in to comment.