Skip to content

Commit 62c6ffa

Browse files
authored
Merge pull request #82 from alerta/release-5-bugfix
Release 5 bugfix
2 parents d389122 + 93794e7 commit 62c6ffa

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

alertaclient/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
from netrc import netrc
66

77
try:
8-
from urllib.parse import urlencode, urlparse
8+
from urllib.parse import urlparse
99
except ImportError:
10-
from urllib import urlencode, urlparse
10+
from urlparse import urlparse
1111

1212
NETRC_FILE = os.path.join(os.environ['HOME'], ".netrc")
1313

setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,20 @@
1313
version=version,
1414
description="Alerta unified command-line tool and SDK",
1515
long_description=readme,
16+
url="http://github.com/alerta/python-alerta",
1617
license="MIT",
1718
author="Nick Satterly",
1819
author_email="nick.satterly@theguardian.com",
19-
url="http://github.com/alerta/python-alerta",
20-
packages=['alertaclient'],
20+
packages=setuptools.find_packages(exclude=['tests']),
2121
install_requires=[
2222
'Click',
2323
'requests',
2424
'tabulate',
2525
'pytz',
2626
'six'
2727
],
28+
include_package_data=True,
29+
zip_safe=False,
2830
entry_points={
2931
'console_scripts': [
3032
'alerta = alertaclient.cli:cli'
@@ -33,8 +35,10 @@
3335
keywords="alerta client unified command line tool sdk",
3436
classifiers=[
3537
'Development Status :: 5 - Production/Stable',
36-
'License :: OSI Approved :: MIT License',
38+
'Intended Audience :: Information Technology',
3739
'Intended Audience :: System Administrators',
40+
'Intended Audience :: Telecommunications Industry',
41+
'License :: OSI Approved :: MIT License',
3842
'Programming Language :: Python :: 3.5',
3943
'Programming Language :: Python :: 3.4',
4044
'Programming Language :: Python :: 2.7',

0 commit comments

Comments
 (0)