Skip to content

Commit

Permalink
Merge pull request #120 from idealista/develop
Browse files Browse the repository at this point in the history
bug/pypi_deployment
  • Loading branch information
miguel-chacon authored May 29, 2019
2 parents 21af086 + d3c65d0 commit d378e81
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ script:
before_deploy:
- python3 -m pip install --upgrade setuptools
deploy:
skip_cleanup: true
provider: pypi
user: idealista
password:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work

/**
* Copyright 2017 Idealista S.A.
* Copyright 2019 Idealista S.A.U
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
12 changes: 4 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,19 @@
requirements = req.read().splitlines()


with open('README.md') as f:
with open('README.md', encoding='utf-8') as f:
readme = f.read()

with open('LICENSE') as f:
license = f.read()


setup(name='prom2teams',
version='2.3.1',
description='Project that redirects Prometheus Alert Manager '
'notifications to Microsoft Teams',
long_description=readme,
long_description_type='text/markdown',
long_description_content_type='text/markdown',
install_requires=requirements,
setup_requires=[
'flake8',
'pypandoc'
'flake8'
],
scripts=[
'bin/prom2teams',
Expand All @@ -37,7 +33,7 @@
url='https://github.com/idealista/prom2teams',
author='Idealista, S.A.U',
author_email='labs@idealista.com',
license=license,
license='Apache license 2.0',
packages=find_packages(exclude=('tests', 'docs')),
keywords='microsoft teams prometheus alert',
classifiers=[
Expand Down

0 comments on commit d378e81

Please sign in to comment.