Skip to content

Commit 72f0b74

Browse files
authored
Merge pull request #13 from rekcurd/feature/slack-notification
Merged
2 parents e001cdf + bfe371e commit 72f0b74

5 files changed

Lines changed: 19 additions & 9 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# ref: https://docs.travis-ci.com/user/languages/python
21
language: python
32
dist: trusty
43
sudo: true
54
services:
65
- docker
7-
86
matrix:
97
include:
108
- python: 3.6
119
env: TOXENV=py36
1210
- python: 3.6
1311
env: TOXENV=coverage,codecov
14-
1512
install:
1613
- pip install tox
17-
1814
script:
19-
- tox
15+
- tox
16+
notifications:
17+
email: false
18+
slack:
19+
secure: dLFbzHbPE/Hky8c8L/U1iuaqLWYBJArRuC7EwrtbnoB24XY8+iN0i/u8zAW9b+4j/YUB5OHfH1KMiprzVtDAqOiXiKUudKWuvCA+HYsHidpLMdi6/HOW0ywSu1toKvsS6fPtF+jsZcuzwLB2VWtGBQwMUkQP+fU/KH/ovUsNv7IvPLf2CPCXFhFxSujXeheo/b2nlXlEhlzGcETwfh+P6OicbGTeQxcOcx49/ptSru1QGxVCsiaVzoyn7VOT4UrYF6JiNaLRRyOXPCGdoKUlLq2EGHcmTiCcaQmps7dhKuxe3K5C2QOdVXYWD+AVWK7QFC0gxyuqL485pHlOuUOt5/R4ymRJrSDEDoHfgwmJUqdTGoAwO+RkbQX7vIGnc1dW1y1o48A4/9e3Z0D1Pclq2wgANNnRfV/dtQrvP6qo73Auom/GkKmsyGfe4wNLe4AEPX2axCrkVwiV6AOImZE8zJ+qbPCq42VwG7FZxzHKlMWCoVimja/iDWHSTa1eAmtkJXcH+HK/dB/xP3ta9ZyPELGgJ1ip9VniHMMux4WaBuU+FBgT8SFjmvVRc5MxECvDNchKkss5F4wghytBi8czk2oEyBRrXny6dwoBwoYcNQrgJbzlm5z4ywl+y4aReVdYzzLyG1p53WL/WjGDqCueIjCSUSckGTvrWNLXMMz+icw=

drucker_client/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__project__ = 'drucker_client'
16-
__version__ = "0.4.4a"
15+
from drucker_client import _project
16+
from drucker_client import _version
17+
18+
__project__ = _project.__project__
19+
__version__ = _version.__version__
1720

1821
from .drucker_worker_client import DruckerWorkerClient

drucker_client/_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__project__ = 'drucker_client'

drucker_client/_version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.4.4a'

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import os
1516
from setuptools import setup
1617

17-
VERSION = "0.4.4a"
18-
PACKAGE_NAME = "drucker_client"
18+
19+
here = os.path.abspath(os.path.dirname(__file__))
20+
exec(open(os.path.join(here, 'drucker_client', '_project.py')).read())
21+
exec(open(os.path.join(here, 'drucker_client', '_version.py')).read())
22+
PACKAGE_NAME = __project__ # NOQA
23+
VERSION = __version__ # NOQA
1924
DEVELOPMENT_STATUS = "3 - Alpha"
2025

2126
# To install the library, run the following

0 commit comments

Comments
 (0)