Skip to content

Commit 129fc0b

Browse files
committed
Add support for .whl files
Also ensure we create/test .whl files when running on travis.
1 parent 123ed48 commit 129fc0b

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ nose==1.3.0
1111
colorama>=0.2.5,<=0.3.3
1212
mock==1.0.1
1313
rsa>=3.1.2,<=3.1.4
14+
wheel==0.24.0

scripts/ci/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ run('pip install -r requirements.txt')
2727
run('pip install coverage')
2828
if os.path.isdir('dist') and os.listdir('dist'):
2929
shutil.rmtree('dist')
30-
run('python setup.py sdist')
30+
run('python setup.py bdist_wheel')
3131
wheel_dist = os.listdir('dist')[0]
3232
run('pip install %s' % (os.path.join('dist', wheel_dist)))

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[wheel]
2+
universal = 1

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@
1818
version=awscli.__version__,
1919
description='Universal Command Line Environment for AWS.',
2020
long_description=open('README.rst').read(),
21-
author='Mitch Garnaat',
22-
author_email='garnaat@amazon.com',
21+
author='Amazon Web Services',
2322
url='http://aws.amazon.com/cli/',
2423
scripts=['bin/aws', 'bin/aws.cmd',
2524
'bin/aws_completer', 'bin/aws_zsh_completer.sh'],
26-
packages=find_packages('.', exclude=['tests*']),
27-
package_dir={'awscli': 'awscli'},
25+
packages=find_packages(exclude=['tests*']),
2826
package_data={'awscli': ['data/*.json', 'examples/*/*.rst',
2927
'examples/*/*/*.rst', 'topics/*.rst',
3028
'topics/*.json']},
@@ -46,6 +44,7 @@
4644
'Programming Language :: Python :: 2.7',
4745
'Programming Language :: Python :: 3',
4846
'Programming Language :: Python :: 3.3',
47+
'Programming Language :: Python :: 3.4',
4948
),
5049
)
5150

0 commit comments

Comments
 (0)