Skip to content
This repository has been archived by the owner on Dec 29, 2017. It is now read-only.

Commit

Permalink
Publish on PyPI (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovv authored Jul 8, 2017
1 parent 15e9b76 commit 2b19602
Show file tree
Hide file tree
Showing 10 changed files with 76 additions and 32 deletions.
23 changes: 17 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,20 @@ script:
- python setup.py doc

deploy:
provider: script
script: curl -X POST http://readthedocs.org/build/sirbot-slack
on:
repo: pyslackers/sirbot-slack
branch: master
python: "3.6"
- provider: script
script: curl -X POST http://readthedocs.org/build/sirbot-slack
on:
repo: pyslackers/sirbot-slack
branch: master
python: "3.6"
- provider: pypi
distributions: sdist bdist_wheel
skip_upload_docs: true
user: Ovv
password:
secure: v01FiK0Qy62Bf+6p5vqbW6tbA2o5JCdWaUwZWwicmjsqGvK7xZ6rWMluiFIhNGeQVXFcxzV9zTxjGA3aRG2d64LMxxSQOOQJbQ70NTevxrnJKUluomz8ucUnPWh4I2GQ44QYR/VmxjryRP7RY7dGVusvtYl7Fa3cguHzy95kCrTaKitSajwOdIoVP4AVwlnFcCFjCHTJACLaDkyPMSk5A82MVwvX5eCv8NGxmGJcMXQTo0ZU//FpuEgMidB+RLeD3t5PQ+TJ83Zb1uyQs3HhC5NpOd9BH/jc/mmFWFe2+Q4rY30sMtw13WblKoXYwDafwYmdRJDHJ6M9oVwsYUWLS5Enk3HsfoXOtEYzR96hvBvOWFP6e55YdS5JY9LRolyScLAnF/g2jL4cHDDBdvsXYjBUIRVuahAV9Slo+QstCTDX+pJ+dKpgBCdAaT4dGKcgeIVhHT/QWwlC4nu7pNgr/p8Fn/jQQJV16QONOuNYXTCmuPOauRcAXQS/Ub/nCmiYW8alO4LrXgakpFPzUeeuV7b2kQPEwbvTDrrK/Rbiv7j99PR5+kWF1Y5FHeZT6mrYVuTuUF0cluL+4RopTmHlciTmji5ciPy0pDyXTWZpWtbNjtVRBBpthFiaZORwXvexfvSmF0VA9Xgxxx1gaJ6kzIR7epXZOqyxbrjoBGgIVT0=
on:
repo: pyslackers/sirbot-slack
branch: master
python: '3.6'
tags: true
7 changes: 4 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include AUTHORS.rst
include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
include README.md
include requirements.txt
include requirements_dev.txt
include config.yml

recursive-include tests *
recursive-include requirements *
Expand Down
15 changes: 8 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@

|build| |doc|

Sirbot-slack is a slack plugin for `Sir-bot-a-lot`_. It aims to provide full
Sirbot-slack is a slack plugin for `Sir Bot-a-lot`_. It aims to provide full
support for the slack API (Web, Events and RTM).

The uses of bots are nearly endless and come in all shapes and sizes.
They can handle Slack shenanigans, monitor the status of a crypto-currency,
or become your personal assistant. Sir-bot-a-lot can help you get started
writing your own.
The uses of bots are nearly endless and come in all shapes and sizes. They can
handle Slack shenanigans, monitor the status of a crypto-currency, or become
your personal assistant. Sir-bot-a-lot can help you get started writing your
own.

Sir-bot-a-lot and sirbot-slack are projects maintained by the `pyslackers`_
community. Want to join? `Get an invite`_ !


.. _pyslackers: http://pyslackers.com
.. _Get an invite: http://pyslackers.com
.. |build| image:: https://travis-ci.org/pyslackers/sirbot-slack.svg?branch=master
Expand All @@ -25,10 +26,10 @@ community. Want to join? `Get an invite`_ !
:target: http://sirbot-slack.readthedocs.io/en/latest/
.. |icon| image:: icon/icon-500.png
:width: 10%
:alt: Sir-bot-a-lot slack plugin icon
:alt: Sir Bot-a-lot slack plugin icon
:target: http://sirbot-slack.readthedocs.io/en/latest/

.. _sir-bot-a-lot: https://github.com/pyslackers/sir-bot-a-lot
.. _Sir Bot-a-lot: https://github.com/pyslackers/sir-bot-a-lot

Documentation available `here`_.

Expand Down
2 changes: 2 additions & 0 deletions requirements/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sir-bot-a-lot
sirbot.plugins
19 changes: 19 additions & 0 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,22 @@
#
# pip-compile --output-file requirements/requirements.txt requirements/requirements.in
#
aiohttp-xmlrpc==0.4.1 # via sirbot.plugins
aiohttp==2.2.3 # via aiohttp-xmlrpc, sir-bot-a-lot, sirbot.plugins
apscheduler==3.3.1 # via sirbot.plugins
async-timeout==1.2.1 # via aiohttp, sir-bot-a-lot, sirbot.plugins
chardet==3.0.4 # via aiohttp, sir-bot-a-lot, sirbot.plugins
distance==0.1.3 # via sirbot.plugins
lxml==3.8.0 # via aiohttp-xmlrpc, sirbot.plugins
mako==1.0.6 # via sir-bot-a-lot, sirbot.plugins
markupsafe==1.0 # via mako, sir-bot-a-lot, sirbot.plugins
multidict==3.1.0 # via aiohttp, sir-bot-a-lot, sirbot.plugins, yarl
pluggy==0.4.0 # via sir-bot-a-lot, sirbot.plugins
pytz==2017.2 # via apscheduler, sirbot.plugins, tzlocal
pyyaml==3.12 # via sir-bot-a-lot, sirbot.plugins
sir-bot-a-lot==0.1.1
sirbot.plugins==0.1.4
six==1.10.0 # via apscheduler, sirbot.plugins
slimurl==0.7.8 # via aiohttp-xmlrpc, sirbot.plugins
tzlocal==1.4 # via apscheduler, sirbot.plugins
yarl==0.11.0 # via aiohttp, sir-bot-a-lot, sirbot.plugins
26 changes: 15 additions & 11 deletions requirements/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,37 @@
#
# pip-compile --output-file requirements/requirements_dev.txt requirements/requirements_dev.in
#
aiohttp==2.0.7 # via pytest-aiohttp
aiohttp==2.2.3 # via pytest-aiohttp
alabaster==0.7.10 # via sphinx
async-timeout==1.2.1 # via aiohttp
babel==2.4.0 # via sphinx
chardet==3.0.2 # via aiohttp
certifi==2017.4.17 # via requests
chardet==3.0.4 # via aiohttp, requests
commonmark==0.5.4 # via recommonmark
coverage==4.3.4 # via pytest-cov
coverage==4.4.1 # via pytest-cov
docutils==0.13.1 # via recommonmark, sphinx
flake8==3.3.0
idna==2.5 # via requests
imagesize==0.7.1 # via sphinx
jinja2==2.9.6 # via sphinx
markupsafe==1.0 # via jinja2
mccabe==0.6.1 # via flake8
multidict==2.1.4 # via aiohttp, yarl
py==1.4.33 # via pytest
multidict==3.1.0 # via aiohttp, yarl
py==1.4.34 # via pytest
pycodestyle==2.3.1 # via flake8
pyflakes==1.5.0 # via flake8
pygments==2.2.0 # via sphinx
pytest-aiohttp==0.1.3
pytest-asyncio==0.5.0
pytest-cov==2.4.0
pytest-asyncio==0.6.0
pytest-cov==2.5.1
pytest-runner==2.11.1
pytest==3.0.7
pytest==3.1.3
pytz==2017.2 # via babel
recommonmark==0.4.0
requests==2.13.0 # via sphinx
requests==2.18.1 # via sphinx
six==1.10.0 # via sphinx
snowballstemmer==1.2.1 # via sphinx
sphinx==1.5.5
yarl==0.10.1 # via aiohttp
sphinx==1.6.3
sphinxcontrib-websupport==1.0.1 # via sphinx
urllib3==1.21.1 # via requests
yarl==0.11.0 # via aiohttp
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[wheel]
universal = 1

[metadata]
description-file = README.rst

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def parse_readme():
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Console',
],
author=PKG_META['author'],
Expand Down
2 changes: 1 addition & 1 deletion sirbot/slack/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
# Versions should comply with PEP440. For a discussion on
# single-sourcing the version across setup.py and the project code,
# see http://packaging.python.org/en/latest/tutorial.html#version
"version": '0.0.8',
"version": '0.1.0',
}
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py35, py36, flake8, docs
envlist = py35, py36, flake8, docs, build

[testenv:flake8]
basepython=python
Expand All @@ -14,6 +14,14 @@ deps =
commands =
python setup.py doc

[testenv:build]
deps =
-r{toxinidir}/requirements/requirements.txt
-r{toxinidir}/requirements/requirements_dev.txt
commands =
python setup.py sdist
python setup.py bdist_wheel

[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/sirbot
Expand Down

0 comments on commit 2b19602

Please sign in to comment.