2020-08-20 02:03:22 +00:00
|
|
|
# Copyright The PyTorch Lightning team.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2019-08-05 20:31:29 +00:00
|
|
|
# Manifest syntax https://docs.python.org/2/distutils/sourcedist.html
|
|
|
|
graft wheelhouse
|
2019-04-03 17:17:55 +00:00
|
|
|
|
2019-08-05 20:31:29 +00:00
|
|
|
recursive-exclude __pycache__ *.py[cod] *.orig
|
2019-04-03 17:17:55 +00:00
|
|
|
|
2020-04-07 13:49:38 +00:00
|
|
|
# Include the README and CHANGELOG
|
2019-08-05 20:31:29 +00:00
|
|
|
include *.md
|
2019-04-03 17:17:55 +00:00
|
|
|
|
2019-08-05 20:31:29 +00:00
|
|
|
# Include the license file
|
|
|
|
include LICENSE
|
|
|
|
|
|
|
|
exclude *.sh
|
2020-06-03 16:23:14 +00:00
|
|
|
exclude *.svg
|
2019-08-05 20:31:29 +00:00
|
|
|
recursive-include pytorch_lightning *.py
|
|
|
|
|
2020-09-09 17:37:03 +00:00
|
|
|
# Include marker file for PEP 561
|
|
|
|
include pytorch_lightning/py.typed
|
|
|
|
|
2019-09-08 22:17:33 +00:00
|
|
|
# include examples
|
2020-11-18 20:03:55 +00:00
|
|
|
recursive-include pl_examples *.py *.md *.sh *.txt *.toml
|
2019-09-08 22:17:33 +00:00
|
|
|
|
2019-08-05 20:31:29 +00:00
|
|
|
# exclude tests from package
|
|
|
|
recursive-exclude tests *
|
2019-09-08 22:17:33 +00:00
|
|
|
recursive-exclude site *
|
2019-08-05 20:31:29 +00:00
|
|
|
exclude tests
|
|
|
|
|
|
|
|
# Exclude the documentation files
|
|
|
|
recursive-exclude docs *
|
|
|
|
exclude docs
|
2021-02-03 15:08:19 +00:00
|
|
|
recursive-include docs/source/_static/images/logos/ *
|
|
|
|
recursive-include docs/source/_static/images/general/ pl_overview* tf_* tutorial_* PTL101_*
|
2019-08-05 20:31:29 +00:00
|
|
|
|
|
|
|
# Include the Requirements
|
2020-06-13 14:15:22 +00:00
|
|
|
recursive-include requirements *.txt
|
2020-10-18 18:40:18 +00:00
|
|
|
recursive-exclude requirements *.sh
|
|
|
|
include requirements.txt
|
2020-11-18 20:03:55 +00:00
|
|
|
include pyproject.toml
|
2019-08-05 20:31:29 +00:00
|
|
|
|
|
|
|
# Exclude build configs
|
|
|
|
exclude *.yml
|
2020-06-03 16:23:14 +00:00
|
|
|
exclude *.yaml
|
2020-12-06 00:17:18 +00:00
|
|
|
exclude *.jsonnet
|
2021-01-28 02:58:33 +00:00
|
|
|
exclude .yapfignore
|
2019-08-05 20:31:29 +00:00
|
|
|
|
2020-06-12 15:23:18 +00:00
|
|
|
# Exclude pyright config
|
|
|
|
exclude .pyrightconfig.json
|
|
|
|
|
2020-11-12 09:25:31 +00:00
|
|
|
# Exclude Makefile
|
|
|
|
exclude Makefile
|
|
|
|
|
2019-08-05 20:31:29 +00:00
|
|
|
prune .git
|
|
|
|
prune .github
|
2019-11-13 11:03:13 +00:00
|
|
|
prune .circleci
|
2019-08-05 20:31:29 +00:00
|
|
|
prune notebook*
|
|
|
|
prune temp*
|
2019-08-07 15:35:48 +00:00
|
|
|
prune test*
|
2020-04-07 18:04:32 +00:00
|
|
|
prune benchmark*
|
2020-10-18 18:40:18 +00:00
|
|
|
prune dockers
|
2021-01-08 15:36:49 +00:00
|
|
|
prune legacy
|