-
Notifications
You must be signed in to change notification settings - Fork 179
Updating python_requires and classifiers #937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
39701bb
Updating python_requires and classifiers
acabarbaye 364dd71
Update setup.py
acabarbaye a2d1e2e
f0828a6
15d00de
Update setup.py
acabarbaye 51f7024
d4b3d25
Merge remote-tracking branch 'origin/setup_file' into setup_file
acabarbaye cfc8710
Add newline to file
madchutney File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
include README.md LICENSE pypi_readme.rst | ||
global-exclude *.py[cod] __pycache__ *.so | ||
graft test | ||
include README.rst | ||
include LICENSE | ||
include requirements.txt |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pyserial>=3.0,<4.0 | ||
mbed-os-tools>=0.0.9,<0.1.0 | ||
mercurial>=5.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,41 +12,55 @@ | |
|
||
import os | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
|
||
with open("README.md", "r") as fh: | ||
NAME = 'mbed-cli' | ||
__version__ = '1.10.3' | ||
|
||
repository_dir = os.path.dirname(__file__) | ||
|
||
# .rst readme needed for pypi | ||
with open(os.path.join(repository_dir, 'README.rst')) as fh: | ||
acabarbaye marked this conversation as resolved.
Show resolved
Hide resolved
|
||
long_description = fh.read() | ||
|
||
with open(os.path.join(repository_dir, 'requirements.txt')) as fh: | ||
requirements = fh.readlines() | ||
|
||
with open("README.rst", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name="mbed-cli", | ||
version="1.10.2", | ||
description="Arm Mbed command line tool for repositories version control, publishing and updating code from remotely hosted repositories (GitHub, GitLab and mbed.com), and invoking Mbed OS own build system and export functions, among other operations", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url='http://github.com/ARMmbed/mbed-cli', | ||
author='Arm mbed', | ||
author_email='[email protected]', | ||
packages=["mbed"], | ||
entry_points={ | ||
'console_scripts': [ | ||
'mbed=mbed.mbed:main', | ||
'mbed-cli=mbed.mbed:main', | ||
] | ||
}, | ||
python_requires='>=2.7.10, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.0, !=3.4.1, !=3.4.2, <4', | ||
classifiers=( | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
'Programming Language :: Python', | ||
'Topic :: Software Development :: Build Tools', | ||
'Topic :: Software Development :: Embedded Systems', | ||
), | ||
install_requires=[ | ||
"pyserial>=3.0,<4.0", | ||
"mbed-os-tools>=0.0.9,<0.1.0", | ||
"mercurial>=5.2" | ||
] | ||
description="Command line tool for interacting with Mbed OS projects", | ||
keywords="Mbed OS CLI", | ||
include_package_data=True, | ||
install_requires=requirements, | ||
license='Apache 2.0', | ||
long_description=long_description, | ||
acabarbaye marked this conversation as resolved.
Show resolved
Hide resolved
|
||
name=NAME, | ||
packages=find_packages(), | ||
python_requires='>=2.7.10, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4', | ||
url="http://github.com/ARMmbed/mbed-cli", | ||
version=__version__, | ||
entry_points={ | ||
'console_scripts': [ | ||
'mbed=mbed.mbed:main', | ||
'mbed-cli=mbed.mbed:main', | ||
] | ||
} | ||
) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.