Rename from speedtest_cli.py to speedtest.py, but maintain backwards compat with a symlink
This commit is contained in:
parent
51014d5a70
commit
81182c1c94
10
setup.py
10
setup.py
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2012-2014 Matt Martz
|
# Copyright 2012-2015 Matt Martz
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
@ -57,7 +57,7 @@ except:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='speedtest-cli',
|
name='speedtest-cli',
|
||||||
version=find_version('speedtest_cli.py'),
|
version=find_version('speedtest.py'),
|
||||||
description=('Command line interface for testing internet bandwidth using '
|
description=('Command line interface for testing internet bandwidth using '
|
||||||
'speedtest.net'),
|
'speedtest.net'),
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
@ -66,11 +66,11 @@ setup(
|
||||||
author_email='matt@sivel.net',
|
author_email='matt@sivel.net',
|
||||||
url='https://github.com/sivel/speedtest-cli',
|
url='https://github.com/sivel/speedtest-cli',
|
||||||
license='Apache License, Version 2.0',
|
license='Apache License, Version 2.0',
|
||||||
py_modules=['speedtest_cli'],
|
py_modules=['speedtest'],
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'speedtest=speedtest_cli:main',
|
'speedtest=speedtest:main',
|
||||||
'speedtest-cli=speedtest_cli:main'
|
'speedtest-cli=speedtest:main'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
1279
speedtest_cli.py
1279
speedtest_cli.py
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
||||||
|
./speedtest.py
|
Loading…
Reference in New Issue