From fd3328eaf615f1e4e2ccd0e9a1b2f8ed5eb348cd Mon Sep 17 00:00:00 2001 From: Kenichi Maehashi Date: Wed, 27 May 2020 18:19:06 +0900 Subject: [PATCH] add license --- LICENSE | 19 +++++++++++++++++++ README.md | 4 ++++ setup.py | 4 +++- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..509f3589f --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2020 Preferred Networks, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index 0d42a40f7..b599e3285 100644 --- a/README.md +++ b/README.md @@ -38,3 +38,7 @@ Before making a contribution, please confirm that: - Code quality stays consistent across the script, module or package. - Code is covered by unit tests. - API is maintainable. + +## License + +MIT License diff --git a/setup.py b/setup.py index 5d36f1f3c..7a31e1109 100644 --- a/setup.py +++ b/setup.py @@ -9,9 +9,11 @@ setuptools.setup( name='pytorch-pfn-extras', + version=__version__, # NOQA description='Supplementary components to accelerate research and ' 'development in PyTorch.', - version=__version__, # NOQA + author='Preferred Networks, Inc.', + license='MIT License', install_requires=['numpy', 'torch'], extras_require={'test': ['pytest']}, packages=[