From 7b7133747b74f25de8088e6da592c03146c2dfa8 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Fri, 24 Jan 2020 15:00:55 -0500 Subject: Cleanup MANIFEST.in to reduce what gets put in package downloadable from PyPI Also: - Trivial simplification in setup.py - Removed redundant copyright.rst file from docs since everything falls under the MIT License and there is already copyright statement in docs --- MANIFEST.in | 10 ++++------ docs/copyright.rst | 6 ------ docs/index.rst | 1 - setup.py | 2 +- 4 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 docs/copyright.rst diff --git a/MANIFEST.in b/MANIFEST.in index 07c2db6b..b0606391 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,8 +1,6 @@ -include LICENSE -include README.md -include CHANGELOG.md -include CODEOWNERS -include CONTRIBUTING.md -include tox.ini +include LICENSE README.md CHANGELOG.md CONTRIBUTING.md tox.ini Pipfile recursive-include examples * recursive-include tests * +recursive-include docs * +recursive-exclude docs/_build * +exclude .appveyor.yml .gitignore .travis.yml azure-pipelines.yml CODEOWNERS tasks.py diff --git a/docs/copyright.rst b/docs/copyright.rst deleted file mode 100644 index 30cf255c..00000000 --- a/docs/copyright.rst +++ /dev/null @@ -1,6 +0,0 @@ -Copyright -========= - -The ``cmd2`` documentation is Copyright 2010-2020 by the `cmd2 contributors -`_ and is licensed -under an `MIT License `_. diff --git a/docs/index.rst b/docs/index.rst index 14da2d20..386606bb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -87,4 +87,3 @@ Meta :caption: Meta doc_conventions - copyright diff --git a/setup.py b/setup.py index c1c4ec1b..860459a8 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Libraries :: Python Modules """.splitlines()))) # noqa: E128 -SETUP_REQUIRES = ['setuptools_scm >= 3.0.0'] +SETUP_REQUIRES = ['setuptools_scm >= 3.0'] INSTALL_REQUIRES = ['attrs >= 16.3.0', 'colorama >= 0.3.7', 'pyperclip >= 1.6', 'setuptools >= 34.4', 'wcwidth >= 0.1.7'] -- cgit v1.2.1