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

Commit 04dd6d8

Browse files
authoredJul 8, 2017
Publish on PyPI (#28)
1 parent 4caa958 commit 04dd6d8

9 files changed

+49
-53
lines changed
 

‎.travis.yml

+26-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
language: python
22

33
python:
4-
- "3.5"
5-
- "3.6"
6-
- "3.7-dev"
7-
- "nightly"
4+
- '3.5'
5+
- '3.6'
6+
- 3.7-dev
7+
- nightly
88

99
matrix:
1010
allow_failures:
11-
- python: "3.7-dev"
12-
- python: "nightly"
11+
- python: 3.7-dev
12+
- python: nightly
1313

1414
install:
1515
- pip install -r requirements/requirements.txt
@@ -19,11 +19,25 @@ script:
1919
- python setup.py flake8
2020
- python setup.py test
2121
- python setup.py doc
22+
- python setup.py sdist
23+
- python setup.py bdist_wheel
2224

2325
deploy:
24-
provider: script
25-
script: curl -X POST http://readthedocs.org/build/sir-bot-a-lot
26-
on:
27-
repo: pyslackers/sir-bot-a-lot
28-
branch: master
29-
python: "3.6"
26+
- provider: script
27+
script: curl -X POST http://readthedocs.org/build/sir-bot-a-lot
28+
on:
29+
repo: pyslackers/sir-bot-a-lot
30+
branch: master
31+
python: "3.6"
32+
- provider: pypi
33+
server: https://testpypi.python.org/pypi
34+
distributions: sdist bdist_wheel
35+
user: Ovv
36+
password:
37+
secure: ppPzg/bOjygvWlAfDUzghI/VmMdkV6kZZM8pCfzut23cxGoShMF8m2dbkwXdEKmUQ94xXiL6T+c/TZlTNxnwSPYhEk9iSjYzv+DiOdS4Hdj8TH99qSIh+y7jvPJMoqojvr6WFkVPEd7eK9NL10++47miueY0KYLxYzPhbyP6u8K1pr3K55uWB3MfnEwDN3hzhItMRu30MBrV87064Il8hHzttcWquNl8uZ0Khzz5MaQGvuhgg6oCiX/RUgVMvtzaDSv0S3TniiF3asRbPJI+JzVxGXPSZGEEpNu6Fh+vfLs7N1mFbFtcNAp8zSug7AoqhhCQLSuYjH84fU/XhEMop09N7jwqWa9VM4HynvmdJaKsz+BTwMVrJwqyi8KYW9RR5/eg4Vq6MP1dFAIj6sO3Ikqw9UCyG+7MbPThLfhJGpkr/thtA4/UI6jBW07+OY9A1vKSQziRlDWLlKroVSP/kybu4UQlxjtvplFK6zdpJCESlDyXVPufKcTjwJlV/1CUQi+YxBQ32nRxSqhnGctwXqwrGpuqElqMNfifTEvK+YL7/24mjoFtfskecRJletXbiNmNJMe4lWYoKwRelAGz2xX1HKdWVdq+4cZ71+1tOvyVz7GpNDUpX5WnYtdDFntBCKNqnKWDMB44e1OCuJSkGKYVxWPtkLn+P3iIlc/golI=
38+
on:
39+
repo: pyslackers/sir-bot-a-lot
40+
branch: master
41+
python: '3.6'
42+
tags: true
43+

‎AUTHORS.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Core Team
77

88
* Mike from IT <mike@from.it>
99
* Shawn McElroy <shawn@skift.io>
10-
* Ovv <ovv@outlook.com>
10+
* Ovv <contact@ovv.wtf>
1111
* Matt Rasband <matt.rasband@gmail.com>
1212

1313
Contributors

‎MANIFEST.in

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ include CONTRIBUTING.rst
33
include HISTORY.rst
44
include LICENSE
55
include README.md
6-
include requirements.txt
7-
include requirements_dev.txt
86

97
recursive-include tests *
108
recursive-include requirements *

‎docs/installation.rst

-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ Installation
77
Stable release
88
--------------
99

10-
.. note::
11-
12-
Not yet released
13-
1410
To install run this command in your terminal:
1511

1612
.. code-block:: console

‎docs/quickstart.rst

+4-11
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,14 @@ Quick Start
1010
Installation
1111
------------
1212

13-
The sources for Sir Bot-a-lot can be downloaded from the `github repo`_.
13+
Sir Bot-a-lot can be install with pip:
1414

1515
.. code-block:: console
1616
17-
$ git clone https://github.com/pyslackers/sir-bot-a-lot.git
17+
$ pip install sir-bot-a-lot
1818
19-
Once you have a copy of the source, you can install it with:
20-
21-
.. code-block:: console
22-
23-
$ pip install sir-bot-a-lot/
24-
25-
More installation instruction can be found :ref:`here <installation>`.
26-
27-
.. _github repo: https://github.com/pyslackers/sir-bot-a-lot
19+
This is the preferred method as it will always install the most recent stable
20+
release.
2821

2922
Configuration
3023
-------------

‎setup.cfg

-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
[bumpversion]
2-
current_version = 0.1.0
3-
commit = True
4-
tag = True
5-
6-
[bumpversion:file:setup.py]
7-
search = version='{current_version}'
8-
replace = version='{new_version}'
9-
10-
[bumpversion:file:sirbot/__init__.py]
11-
search = __version__ = '{current_version}'
12-
replace = __version__ = '{new_version}'
13-
14-
[wheel]
15-
universal = 1
16-
171
[metadata]
182
description-file = README.rst
193

‎setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def parse_readme():
9494
},
9595
include_package_data=True,
9696
install_requires=parse_reqs('./requirements/requirements.txt'),
97+
python_requires='~=3.5',
9798
zip_safe=False,
9899
tests_require=[
99100
'pytest-runner',
@@ -113,6 +114,7 @@ def parse_readme():
113114
'Natural Language :: English',
114115
'Programming Language :: Python :: 3',
115116
'Programming Language :: Python :: 3.5',
117+
'Programming Language :: Python :: 3.6',
116118
'Environment :: Console',
117119
],
118120
author=PKG_META['author'],

‎sirbot/core/__meta__.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22
# Ordered by commit log entries
33
"author": ('mikefromit <mike.arbelaez@gmail.com>, '
44
'Matt Rasband <matt.rasband@gmail.com>, '
5-
'Ovv <ovv@outlook.com>, '
5+
'Ovv <contact@ovv.wtf>, '
66
'Nick Humrich <nick.humrich@gmail.com>, '
77
'Julioocz <julioocz@gmail.com>, '
88
'Shawn McElroy <shawn@skift.io>, '
99
'Sean Johnson <seandavidjohnson@gmail.com>'),
1010
"author_email": 'pythondev.slack@gmail.com',
11-
"copyright": 'Copyright 2016 Python Developers Community',
12-
"description": 'The good Sir Bot a lot',
11+
"copyright": 'Copyright 2016 PySlackers',
12+
"description": 'The good Sir Bot-a-lot.'
13+
' An asynchronous python bot framework.',
1314
"license": 'MIT',
14-
"name": 'sirbot',
15-
"url": 'https://gitlab.com/PythonDevCommunity/sir-bot-a-lot',
15+
"name": 'sir-bot-a-lot',
16+
"url": 'https://github.com/pyslackers/sir-bot-a-lot',
1617
# Versions should comply with PEP440. For a discussion on
1718
# single-sourcing the version across setup.py and the project code,
1819
# see http://packaging.python.org/en/latest/tutorial.html#version
19-
"version": '0.0.1',
20+
"version": '0.1.0',
2021
'docker_name': 'sirbot_api',
2122
'docker_tag': 'latest'
2223
}

‎tox.ini

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35, py36, flake8, docs
2+
envlist = py35, py36, flake8, docs, build
33

44
[testenv:flake8]
55
basepython=python
@@ -13,6 +13,14 @@ deps =
1313
commands =
1414
python setup.py doc
1515

16+
[testenv:build]
17+
deps =
18+
-r{toxinidir}/requirements/requirements.txt
19+
-r{toxinidir}/requirements/requirements_dev.txt
20+
commands =
21+
python setup.py sdist
22+
python setup.py bdist_wheel
23+
1624
[testenv]
1725
setenv =
1826
PYTHONPATH = {toxinidir}:{toxinidir}/sirbot

0 commit comments

Comments
 (0)
This repository has been archived.