-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update readme, setup.py and updating the version. (#17)
* Updating the README file. * Updated the setup.py with long description and updated the version * UPdating the README to use Python SDK instead of PySDK * Added the license string to setup.py * Addressed the review comments.
- Loading branch information
1 parent
3b54c79
commit 6d567a8
Showing
3 changed files
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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 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,32 +1,37 @@ | ||
# Standard Library | ||
import os | ||
import sys | ||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
long_description = ( | ||
"This library, intended to be used with [Amazon SageMaker Python SDK](" | ||
"https://github.com/aws/sagemaker-python-sdk), helps you specify builtin " | ||
"rules without worrying about any details or tweak the configuration of builtin rules. These " | ||
"builtin rules are available in Amazon SageMaker." | ||
"Amazon SageMaker Debugger Rulesconfig package can be used with Amazon SageMaker Debugger or as" | ||
"stand-alone rule config retriever. In addition to retrieving builtin rules, configuration for common collections can be retrieved as well." | ||
) | ||
|
||
exec(open("smdebug_rulesconfig/_version.py").read()) | ||
CURRENT_VERSION = __version__ | ||
|
||
|
||
def build_rule_config_package(version): | ||
setuptools.setup( | ||
name="smdebug_rulesconfig", | ||
version=version, | ||
author="AWS DeepLearning Team", | ||
description="SMDebug RulesConfig", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/awslabs/sagemaker-debugger-rulesconfig", | ||
packages=["smdebug_rulesconfig"], | ||
package_data={'smdebug_rulesconfig' : ['rule_config_jsons/*.json']}, | ||
package_data={"smdebug_rulesconfig": ["rule_config_jsons/*.json"]}, | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires=">=2.7", | ||
license="Apache License Version 2.0", | ||
) | ||
|
||
build_rule_config_package(version=CURRENT_VERSION) | ||
|
||
build_rule_config_package(version=CURRENT_VERSION) |
This file contains 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 +1 @@ | ||
__version__ = "0.1.2" | ||
__version__ = "0.1.3" |