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
|
|
|
|
exclude *.toml
|
2020-06-03 16:23:14 +00:00
|
|
|
exclude *.svg
|
2019-08-05 20:31:29 +00:00
|
|
|
recursive-include pytorch_lightning *.py
|
|
|
|
|
2019-09-08 22:17:33 +00:00
|
|
|
# include examples
|
2020-02-11 03:47:18 +00:00
|
|
|
recursive-include pl_examples *.py *.md *.sh *.txt
|
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
|
2020-03-24 18:50:35 +00:00
|
|
|
recursive-include docs/source/_images/logos/ *
|
2020-08-08 00:21:51 +00:00
|
|
|
recursive-include docs/source/_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
|
2019-08-05 20:31:29 +00:00
|
|
|
|
|
|
|
# Exclude build configs
|
|
|
|
exclude *.yml
|
2020-06-03 16:23:14 +00:00
|
|
|
exclude *.yaml
|
2019-08-05 20:31:29 +00:00
|
|
|
|
2020-06-12 15:23:18 +00:00
|
|
|
# Exclude pyright config
|
|
|
|
exclude .pyrightconfig.json
|
|
|
|
|
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-04-25 18:17:09 +00:00
|
|
|
prune docker
|
|
|
|
|